Paste number 10762: scientificpython-py23 build error

Paste number 10762: scientificpython-py23 build error
Pasted by: euthydemus
When:4 years, 11 months ago
Share:Tweet this! | http://paste.lisp.org/+8AY
Channel:#fink
Paste contents:
Raw Source | XML | Display As
running build_ext
building 'Scientific_netcdf' extension
creating build/temp.darwin-8.2.0-PowerMacintosh-2.3
creating build/temp.darwin-8.2.0-PowerMacintosh-2.3/Src
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/sw/include -IInclude -I/sw/lib/dods/include -I/sw/include/python2.3 -c Src/Scientific_netcdf.c -o build/temp.darwin-8.2.0-PowerMacintosh-2.3/Src/Scientific_netcdf.o
Src/Scientific_netcdf.c: In function 'set_attribute':
Src/Scientific_netcdf.c:477: warning: passing argument 1 of '*(PyArray_API + 28u)' from incompatible pointer type
Src/Scientific_netcdf.c: In function 'PyNetCDFVariable_WriteArray':
Src/Scientific_netcdf.c:1599: warning: 'lastloop' may be used uninitialized in this function
creating build/lib.darwin-8.2.0-PowerMacintosh-2.3/Scientific/darwin
gcc -L/sw/lib -bundle -undefined dynamic_lookup -L/sw/lib -I/sw/include build/temp.darwin-8.2.0-PowerMacintosh-2.3/Src/Scientific_netcdf.o -L/sw/lib/dods/lib -lnc-dods -ldap++ -lstdc++ -lcurl -lz -lpthread -lxml2 -lz -lrx -o build/lib.darwin-8.2.0-PowerMacintosh-2.3/Scientific/darwin/Scientific_netcdf.so
/usr/bin/ld: /sw/lib/dods/lib/libnc-dods.a(NCConnect.o) illegal reference for -dynamic code (section difference reference from section (__TEXT,__eh_frame) relocation entry (10) to symbol: std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)defined in dylib: /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libstdc++.dylib)
/usr/bin/ld: /sw/lib/dods/lib/libdap++.a(DDS.o) illegal reference for -dynamic code (section difference reference from section (__TEXT,__eh_frame) relocation entry (12) to symbol: char* std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag)defined in dylib: /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libstdc++.dylib)
/usr/bin/ld: /sw/lib/dods/lib/libdap++.a(DDS.o) illegal reference for -dynamic code (section difference reference from section (__TEXT,__eh_frame) relocation entry (24) to symbol: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<char const*>(char const*, char const*, std::allocator<char> const&)defined in dylib: /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libstdc++.dylib)
/usr/bin/ld: /sw/lib/dods/lib/libdap++.a(DDS.o) illegal reference for -dynamic code (section difference reference from section (__TEXT,__eh_frame) relocation entry (74) to symbol: std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)defined in dylib: /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libstdc++.dylib)
/usr/bin/ld: /sw/lib/dods/lib/libdap++.a(BaseType.o) illegal reference for -dynamic code (section difference reference from section (__TEXT,__eh_frame) relocation entry (8) to symbol: char* std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag)defined in dylib: /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libstdc++.dylib)
/usr/bin/ld: /sw/lib/dods/lib/libdap++.a(BaseType.o) illegal reference for -dynamic code (section difference reference from section (__TEXT,__eh_frame) relocation entry (20) to symbol: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<char*>(char*, char*, std::allocator<char> const&)defined in dylib: /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libstdc++.dylib)
/usr/bin/ld: /sw/lib/dods/lib/libdap++.a(HTTPCache.o) illegal reference for -dynamic code (section difference reference from section (__TEXT,__eh_frame) relocation entry (0) to symbol: std::_Rb_tree_rotate_right(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*&)defined in dylib: /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libstdc++.dylib)
/usr/bin/ld: /sw/lib/dods/lib/libdap++.a(HTTPCache.o) illegal reference for -dynamic code (section difference reference from section (__TEXT,__eh_frame) relocation entry (4) to symbol: std::_Rb_tree_rotate_left(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*&)defined in dylib: /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libstdc++.dylib)
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
### execution of /var/tmp/tmp.1.3iopvY failed, exit code 1
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-scientificpython-py23-2.4.9-2
(Reading database ... 63266 files and directories currently installed.)
Removing fink-buildlock-scientificpython-py23-2.4.9-2 ...
Failed: phase compiling: scientificpython-py23-2.4.9-2 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists.  As a last resort, you can try e-mailing
the maintainer directly:

        Jeffrey Whitaker <jswhit@fastmail.fm>

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.