Oops. Sorry, thought I put that key fact there. MacOS X 10.3.2.
I've been doing a little more investigation, and I think I know the
underlying problem, but don't know exactly how to solve it. I believe
the problem is related to the loading of 'resolv.h'. When doing
configure, I get the following warning during configure.
--
checking resolv.h usability... no
checking resolv.h presence... yes
configure: WARNING: resolv.h: present but cannot be compiled
configure: WARNING: resolv.h: check for missing prerequisite headers?
configure: WARNING: resolv.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@xxxxxxxx ##
configure: WARNING: ## ------------------------------------ ##
checking for resolv.h... yes
--
And according to this information that I've seen for a similar error
related to compiling Wine
(http://www.winehq.org/hypermail/wine-patches/2003/10/0335.html),
resolv.h needs sys/types, netinet/in.h and arpa/nameser.h to be
included first (and not sys/socket.h). I've tried mucking about with
the 'configure.in' file to add additional headers before 'resolv.h',
but have not yet stumbled onto the solution. I have no experience with
editing such directives.
With this additional information, can anyone help point me in the right
direction.
Thanks in advance,
-albert
On 27.2.2004, at 20:10, Jordan Hubbard wrote:
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
|