Roy Mendelssohn wrote:
[]
cc -g -O2 -std=c99 -D_BSD_SOURCE -o ncap ncap_utl.o ncap.o ncap_yacc.o ncap_lex.o -L/sw/lib ./.libs/libnco.a -ludunits -L/usr/local/lib -L/sw/lib/dods/lib -lpthread -lz -lm -ludunits -lm -L/sw/lib/system-openssl/lib -lz -lm -lpthread -lz -lm -lpthread -lz -lm -lpthread -lz -lz -lpthread -lz -lm -lz -lpthread -lm -lpthread -ludunits -ludunits -lnc-dods -ldap++ -lrx /sw/lib/dods/lib/libcurl.a -lpthread -ldl -lz /sw/lib/libnco.a -lm -lnetcdf -ludunits -lresolv /sw/lib/libintl.dylib -lm -lz -lm -lpthread /sw/lib/libnc-dap.dylib -lz -lm -lpthread /sw/lib/libdap.dylib -lz -lm -lpthread /sw/lib/libcurl.dylib -lz -lssl -lcrypto -lz /sw/lib/libxml2.dylib -lpthread -lz -lm -lz -lpthread /sw/lib/libiconv.dylib -lm -lpthread -lstdc++ -ludunits /usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
/usr/bin/ld: Undefined symbols:
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage
std::__default_alloc_template<true, 0>::deallocate(void*, unsigned long)
[]

Could you try if setting

  sudo gcc_select 3.3

removes this error? Afterwards you can set it back to 4.0.

You will probably have to modify the nco.info file in order to allow you to do this: Comment the line

GCC: 3.3

i.e. put a # in front of it.
nco is one of those packages that use "cc" to compile and link C++ code. This fails in 10.4-transitional.

--
Martin


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to