Hello, list.

I wrote yesterday about problems with compiling Python. The problem has not
been solved; Jeff Whitaker is stumped and has asked that I query the group
again. To recap, here is what happens during Python compile:

(snip)

gcc -L/sw/lib -bundle -bundle_loader python.exe
build/temp.darwin-6.0-PowerMacintosh-2.2/rgbimgmodule.o -L/sw/lib
-L/usr/local/lib -o build/lib.darwin-6.0-PowerMacintosh-2.2/rgbimg.so
building 'readline' extension
gcc -DNDEBUG -O3 -Wall -Wstrict-prototypes -fno-common -I.
-I/sw/src/python-2.2.1-8/Python-2.2.1/./Include
-I/sw/src/python-2.2.1-8/Python-2.2.1/./Mac/Include -I/sw/include
-I/usr/local/include -IInclude/ -c
/sw/src/python-2.2.1-8/Python-2.2.1/Modules/readline.c -o
build/temp.darwin-6.0-PowerMacintosh-2.2/readline.o
/sw/src/python-2.2.1-8/Python-2.2.1/Modules/readline.c: In function
`set_completer_delims':
/sw/src/python-2.2.1-8/Python-2.2.1/Modules/readline.c:278: warning: passing
arg 1 of `free' discards qualifiers from pointer target type
gcc -L/sw/lib -bundle -bundle_loader python.exe
build/temp.darwin-6.0-PowerMacintosh-2.2/readline.o -L/sw/lib
-L/usr/local/lib -lreadline -lncurses -o
build/lib.darwin-6.0-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.o) definition of _BC
ld: warning multiple definitions of symbol _UP
/sw/lib/libreadline.dylib(terminal.so) definition of _UP
/sw/lib/libncurses.dylib(lib_termcap.o) 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.o) definition of _PC
dyld: ./python.exe multiple definitions of symbol _BC
/sw/lib/libreadline.4.dylib(terminal.so) definition of _BC
/sw/lib/libncurses.dylib.5(lib_termcap.o) definition of _BC
make: *** [sharedmods] Error 133
### execution of (export failed, exit code 2
Failed: compiling python-2.2.1-8 failed

Other packages are failing with similar errors. Here is what happens during
r-base compile:

(snip)

make[5]: `Makedeps' is up to date.
gcc -no-cpp-precomp -I../../../../include  -I/sw/include   -fno-common  -g
-O2 -c do_substitute_direct.c -o do_substitute_direct.o
gcc -no-cpp-precomp -I../../../../include  -I/sw/include   -fno-common  -g
-O2 -c methods_list_dispatch.c -o methods_list_dispatch.o
gcc -no-cpp-precomp -I../../../../include  -I/sw/include   -fno-common  -g
-O2 -c method_meta_data.c -o method_meta_data.o
gcc -no-cpp-precomp -I../../../../include  -I/sw/include   -fno-common  -g
-O2 -c slot.c -o slot.o
gcc -bundle -flat_namespace -undefined suppress -L/sw/lib -o methods.so
do_substitute_direct.o methods_list_dispatch.o method_meta_data.o slot.o
-L../../../../bin -lR
ld: warning multiple definitions of symbol _regcomp
../../../../bin/libR.dylib(regex.lo) definition of _regcomp
/usr/lib/libSystem.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
../../../../bin/libR.dylib(regex.lo) definition of _regexec
/usr/lib/libSystem.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
../../../../bin/libR.dylib(regex.lo) definition of _regfree
/usr/lib/libSystem.dylib(regfree.So) definition of _regfree
ld: warning multiple definitions of symbol _BC
/sw/lib/libreadline.4.dylib(terminal.so) definition of _BC
/sw/lib/libncurses.dylib.5(lib_termcap.o) definition of _BC
ld: warning multiple definitions of symbol _UP
/sw/lib/libreadline.4.dylib(terminal.so) definition of _UP
/sw/lib/libncurses.dylib.5(lib_termcap.o) definition of _UP
ld: warning multiple definitions of symbol _PC
/sw/lib/libreadline.4.dylib(terminal.so) definition of _PC
/sw/lib/libncurses.dylib.5(lib_tputs.o) definition of _PC
mkdir -p -- ../../../../library/methods/libs
dumping R code in package 'methods'
dyld: /sw/src/r-base-1.5.1-2/R-1.5.1/bin/R.bin multiple definitions of
symbol _BC
/sw/lib/libreadline.4.dylib(terminal.so) definition of _BC
/sw/lib/libncurses.dylib.5(lib_termcap.o) definition of _BC
make[4]: *** [../../../library/methods/R/all.rda] Error 133
make[3]: *** [all] Error 2
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1
### execution of (export failed, exit code 2
Failed: compiling r-base-1.5.1-2 failed

Again, any advice would be appreciated. Has anyone else seen these kinds of
errors involving multiply defined symbols?

Thank you in advance,

Andy Cunningham



-------------------------------------------------------
Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source & Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to