From: Michael F. <mi...@pc...> - 2005-02-16 14:22:37
|
directory and the include files to Attempting to build for windows - take 2. If I copy the '.a' and '.def' files to the 'C:\mingw32\lib''C:\mingw32\includes' - I get a very different error message. D:\Downloads\pyOpenSSL-0.6>setup.py build_ext -cmingw32 running build_ext building 'OpenSSL.crypto' extension creating build creating build\temp.win32-2.3 creating build\temp.win32-2.3\Release creating build\temp.win32-2.3\Release\src creating build\temp.win32-2.3\Release\src\crypto C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python23\include -IC:\Pytho n23\PC -c src/crypto/crypto.c -o build\temp.win32-2.3\Release\src\crypto\crypto. o src/crypto/crypto.c:20: warning: 'CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python23\include -IC:\Pytho n23\PC -c src/crypto/pkey.c -o build\temp.win32-2.3\Release\src\crypto\pkey.o src/crypto/pkey.c:14: warning: 'CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python23\include -IC:\Pytho n23\PC -c src/crypto/netscape_spki.c -o build\temp.win32-2.3\Release\src\crypto\ netscape_spki.o src/crypto/netscape_spki.c:12: warning: 'CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python23\include -IC:\Pytho n23\PC -c src/crypto/x509req.c -o build\temp.win32-2.3\Release\src\crypto\x509re q.o src/crypto/x509req.c:13: warning: 'CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python23\include -IC:\Pytho n23\PC -c src/crypto/pkcs12.c -o build\temp.win32-2.3\Release\src\crypto\pkcs12. o src/crypto/pkcs12.c:17: warning: 'CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python23\include -IC:\Pytho n23\PC -c src/util.c -o build\temp.win32-2.3\Release\src\util.o src/util.c:14: warning: 'CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python23\include -IC:\Pytho n23\PC -c src/crypto/x509.c -o build\temp.win32-2.3\Release\src\crypto\x509.o src/crypto/x509.c:15: warning: 'CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python23\include -IC:\Pytho n23\PC -c src/crypto/pkcs7.c -o build\temp.win32-2.3\Release\src\crypto\pkcs7.o src/crypto/pkcs7.c:14: warning: 'CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python23\include -IC:\Pytho n23\PC -c src/crypto/x509store.c -o build\temp.win32-2.3\Release\src\crypto\x509 store.o src/crypto/x509store.c:13: warning: 'CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python23\include -IC:\Pytho n23\PC -c src/crypto/x509ext.c -o build\temp.win32-2.3\Release\src\crypto\x509ex t.o src/crypto/x509ext.c:14: warning: 'CVSid' defined but not used C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python23\include -IC:\Pytho n23\PC -c src/crypto/x509name.c -o build\temp.win32-2.3\Release\src\crypto\x509n ame.o src/crypto/x509name.c:15: warning: 'CVSid' defined but not used writing build\temp.win32-2.3\Release\src\crypto\crypto.def creating build\lib.win32-2.3 creating build\lib.win32-2.3\OpenSSL C:\MinGW\bin\gcc.exe -mno-cygwin -shared -s build\temp.win32-2.3\Release\src\cry pto\crypto.o build\temp.win32-2.3\Release\src\crypto\x509.o build\temp.win32-2.3 \Release\src\crypto\x509name.o build\temp.win32-2.3\Release\src\crypto\pkey.o bu ild\temp.win32-2.3\Release\src\crypto\x509store.o build\temp.win32-2.3\Release\s rc\crypto\x509req.o build\temp.win32-2.3\Release\src\crypto\x509ext.o build\temp .win32-2.3\Release\src\crypto\pkcs7.o build\temp.win32-2.3\Release\src\crypto\pk cs12.o build\temp.win32-2.3\Release\src\crypto\netscape_spki.o build\temp.win32- 2.3\Release\src\util.o build\temp.win32-2.3\Release\src\crypto\crypto.def -LC:\P ython23\libs -LC:\Python23\PCBuild -llibeay32 -lssleay32 -lWs2_32 -lpython23 -o build\lib.win32-2.3\OpenSSL\crypto.pyd C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot fin d -llibeay32 collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 Any clues ? Regards, Fuzzy http://www.voidspace.org.uk/python/index.shtml |