[pycrypto] a problem when build pycrypto

yu xue xueyu7452 at gmail.com
Fri Oct 8 02:31:33 CST 2010


Hello, everyone:
I met a problem when trying to build pycrypto on a linux machine, the errors
which are reported are as follows:


gcc -pthread -shared build/temp.linux-i686-2.6/src/MD2.o -o
build/lib.linux-i686-2.6/Crypto/Hash/MD2.so
building 'Crypto.Hash.MD4' extension
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC
-std=c99 -O3 -fomit-frame-pointer -Isrc/
-I/home/xueyu/bin/bin/include/python2.6 -c src/MD4.c -o
build/temp.linux-i686-2.6/src/MD4.o
gcc -pthread -shared build/temp.linux-i686-2.6/src/MD4.o -o
build/lib.linux-i686-2.6/Crypto/Hash/MD4.so
building 'Crypto.Hash.SHA256' extension
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC
-std=c99 -O3 -fomit-frame-pointer -Isrc/
-I/home/xueyu/bin/bin/include/python2.6 -c src/SHA256.c -o
build/temp.linux-i686-2.6/src/SHA256.o
/tmp/cc8i7etX.s: Assembler messages:
/tmp/cc8i7etX.s:1692: Error: symbol `fstat64' is already defined
/tmp/cc8i7etX.s:1710: Error: symbol `lstat64' is already defined
/tmp/cc8i7etX.s:1728: Error: symbol `stat64' is already defined
error: command 'gcc' failed with exit status 1
And everytime I re-built the pycrypto, the directories which has "Error:
symbol 'fstat64/lstat64/stat64' " are different, e.g. they are maybe
/tmp/ccHKWjgr.s or /tmp/ccL9eDaZ.s etc...

Gcc is 4.3.2, python is 2.6. And I don't have root priviledge , so I don't
know whether this is matters. Thank you!

Regards
   Yu Xue

---

     此致
敬礼!
                       薛宇

                   身前身后
                   是时间的深渊
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.dlitz.net/pipermail/pycrypto/attachments/20101008/783257dc/attachment.html 


More information about the pycrypto mailing list