Jens Nöckel wrote:
[]
gcc -L/sw/lib -bundle -undefined dynamic_lookup -L/sw/lib -I/sw/include
build/temp.darwin-
8.1.0-Power_Macintosh-2.4/Src/Scientific_netcdf.o -L/sw/lib/dods/lib
-lnc-dods -ldap++ -ls
tdc++ -lcurl -lz -lpthread -lxml2 -lz -lrx -o
build/lib.darwin-8.1.0-Power_Macintosh-2.4/S
cientific/darwin/Scientific_netcdf.so
/usr/bin/ld: /sw/lib/dods/lib/libnc-dods.a(NCConnect.o) illegal
reference for -dynamic cod
e (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::operat
or+<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<cha
r>, std::allocator<char> > const&)defined in dylib:
/usr/lib/gcc/powerpc-apple-darwin8/4.0
.0/libstdc++.dylib)
This error has come up a couple of times over the years according to
google, AFAICT often when a new compiler version was introduced. I
suspect it is the effect of mixing gcc-4.0 with g++-3.3 that is done in
10.4-transitional. We are in fact linking with gcc -lstdc++ here which
is basically the same as using g++-4.0, whereas dods was built with
g++-3.3. scientificpython will have to force gcc-3.3 in 10.4-transitional.
--
Martin
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users