[Python-Dev] python compile error on mac os x

卓一抗 zhuoyikang at gmail.com
Wed Dec 10 17:27:52 CET 2014


hello, everybody ,i occur an ld error in my mac os x

python 3.4.2  gcc 4.8.2

/Applications/Xcode.app/Contents/Developer/usr/bin/make Parser/pgen
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -L/usr/local/lib
-export-dynamic  Parser/acceler.o Parser/grammar1.o Parser/listnode.o
Parser/node.o Parser/parser.o Parser/bitset.o Parser/metagrammar.o
Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o
Python/dynamic_annotations.o Python/mysnprintf.o Python/pyctype.o
Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/parsetok_pgen.o
Parser/pgenmain.o -ldl  -framework CoreFoundation -o Parser/pgen
ld: unknown option: -export-dynamic
collect2: error: ld returned 1 exit status
make[1]: *** [Parser/pgen] Error 1
make: *** [Include/graminit.h] Error 2


how to solve this ?  anybody help me ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20141211/76574517/attachment.html>


More information about the Python-Dev mailing list