logo       

Re: problems compiling orbit2: msg#00600

Subject: Re: problems compiling orbit2
Under Jaguar?  Panther?  Puma?  Linux?  More information would help. :-)

On Feb 27, 2004, at 3:55 AM, Albert Vernon Smith wrote:

I am trying to compile Orbit2-2.9.6, and my compiling is failing with undefined symbols, particularly '_res_9_init'. I've put the relevant portion of the compile log below. I have set CPPFLAGS and CFLAGS as listed in the Portfile. (CPPFLAGS="-L${prefix}/lib -I${prefix}/include" CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress").

BTW, I get the same error against 2.8.3, which is the version in DarwinPorts.

Anyone know how I might overcome this problem?

Thanks in advance,
-albert



=====
Making all in dynamic
make  all-am
make[5]: Nothing to be done for `all-am'.
/bin/sh ../../libtool --mode=link gcc -no-cpp-precomp -flat_namespace -undefined suppress -o libORBit-2.la -rpath /usr/local/lib -version-info 0:0:0 -no-undefined -pthreads -L/usr/local/lib -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lpopt orbit-init.lo util/liborb-util.la GIOP/libGIOP.la orb-core/liborb-core.la poa/liborb-poa.la dynamic/liborb-dynamic.la ../../linc2/src/liblinc.la gcc -dynamiclib -o .libs/libORBit-2.0.0.0.dylib .libs/orbit-init.o -all_load util/.libs/liborb-util.a GIOP/.libs/libGIOP.a orb-core/.libs/liborb-core.a poa/.libs/liborb-poa.a dynamic/.libs/liborb-dynamic.a ../../linc2/src/.libs/liblinc.a -L/usr/local/lib /usr/local/lib/libgmodule-2.0.dylib /usr/local/lib/libpopt.dylib /usr/local/lib/libgobject-2.0.dylib /usr/local/lib/libgthread-2.0.dylib /usr/local/lib/libglib-2.0.dylib /usr/local/lib/libintl.dylib -lc /usr/local/lib/libiconv.dylib -install_name /usr/local/lib/libORBit-2.0.dylib -compatibility_version 1 -current_version 1.0
ld: warning multiple definitions of symbol _locale_charset
/usr/local/lib/libiconv.dylib(localcharset.o) definition of _locale_charset /usr/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset
ld: Undefined symbols:
_res_9_init
/usr/bin/libtool: internal link edit command failed
make[4]: *** [libORBit-2.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

_______________________________________________
Darwinports mailing list
Darwinports@xxxxxxxxxxxxxx
http://www.opendarwin.org/mailman/listinfo/darwinports

--
Jordan K. Hubbard
Engineering Manager, BSD technology group
Apple Computer


<Prev in Thread] Current Thread [Next in Thread>