Bonjour
J'aimerai avoir la bibliothèque libzip pour windows ( http://slash.developpez.com/tutoriel...sation-libzip/ ). Je n'arrive à la récupérer.
J'ai essayer de la compiler avec msys, mais le make (après le ./configure) plante. Voici les sortie de make 2>erreur2 1>erreur1 :
Erreur 1 :
Erreur2 :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 make all-recursive make[1]: Entering directory `/c/Documents and Settings/troumad/Documents/zip' Making all in lib make[2]: Entering directory `/c/Documents and Settings/troumad/Documents/zip/lib' make all-am make[3]: Entering directory `/c/Documents and Settings/troumad/Documents/zip/lib' /bin/sh ../libtool --tag=CC --mode=compile /mingw/bin/gcc.exe -DHAVE_CONFIG_H -I. -I.. -fexceptions -I/mingw/include -fvisibility=hidden -DWINVER=0x0501 -D_WIN32_IE=0x0501 -fno-builtin -pipe -O2 -mms-bitfields -march=i686 -mtune=i686 -MT zip_open.lo -MD -MP -MF .deps/zip_open.Tpo -c -o zip_open.lo zip_open.c libtool: compile: /mingw/bin/gcc.exe -DHAVE_CONFIG_H -I. -I.. -fexceptions -I/mingw/include -fvisibility=hidden -DWINVER=0x0501 -D_WIN32_IE=0x0501 -fno-builtin -pipe -O2 -mms-bitfields -march=i686 -mtune=i686 -MT zip_open.lo -MD -MP -MF .deps/zip_open.Tpo -c zip_open.c -DDLL_EXPORT -DPIC -o .libs/zip_open.o make[3]: Leaving directory `/c/Documents and Settings/troumad/Documents/zip/lib' make[2]: Leaving directory `/c/Documents and Settings/troumad/Documents/zip/lib' make[1]: Leaving directory `/c/Documents and Settings/troumad/Documents/zip'
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 In file included from zip_open.c:42:0: zipint.h:78:0: warning: "fileno" redefined c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/stdio.h:530:0: note: this is the location of the previous definition zip_open.c: In function '_zip_open': zip_open.c:195:36: error: 'EOPNOTSUPP' undeclared (first use in this function) zip_open.c:195:36: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [zip_open.lo] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Partager