MacOS XをUNIXとして使ってる人の為のスレ その4
■ このスレッドは過去ログ倉庫に格納されています
0293名称未設定
03/03/05 17:37ID:No8xOLls次のようなエラーになるんですが、
building 'readline' extension
gcc -DNDEBUG -O3 -Wall -Wstrict-prototypes -fno-common -I. -I/sw/src/python22-2.2.2-2/Python-2.2.2/./Include -I/sw/src/python22-2.2.2-2/Python-2.2.2/./Mac/Include
-I/sw/include -I/usr/local/include -I/sw/src/python22-2.2.2-2/Python-2.2.2/Include -I/sw/src/python22-2.2.2-2/Python-2.2.2 -c /sw/src/python22-2.2.2-2/Python-2.2.2/Modules/readline.c -o build/temp.darwin-6.4-PowerMacintosh-2.2/readline.o
gcc -L/sw/lib -bundle -bundle_loader python.exe build/temp.darwin-6.4-PowerMacintosh-2.2/readline.o -L/sw/lib -L/usr/local/lib -lreadline -lncurses -o build/lib.darwin-6.4-PowerMacintosh-2.2/readline.so
ld: warning multiple definitions of symbol _BC
/sw/lib/libreadline.dylib(terminal.so) definition of _BC
/sw/lib/libncurses.dylib(lib_termcap.lo) definition of _BC
ld: warning multiple definitions of symbol _UP
/sw/lib/libreadline.dylib(terminal.so) definition of _UP
ld: warning multiple definitions of symbol _PC
/sw/lib/libreadline.dylib(terminal.so) definition of _PC
/sw/lib/libncurses.dylib(lib_tputs.lo) definition of _PC
dyld: ./python.exe multiple definitions of symbol _BC
/sw/lib/libreadline.4.dylib(terminal.so) definition of _BC
/sw/lib/libncurses.5.dylib(lib_termcap.lo) definition of _BC
make: *** [sharedmods] Error 133
### execution of (export failed, exit code 2
Failed: compiling python22-2.2.2-2 failed
これ、10.2ではよく見かけるやつで、_BC, _UP, _PCをextern宣言してやれば
解決しそうなんですが、finkではどうやるのがいいんでしょう?
■ このスレッドは過去ログ倉庫に格納されています