-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Albert Vernon Smith wrote:
| 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?
|>>
DarwinPorts fixes this with this platform line:
platform darwin 7 { configure.env-append CFLAGS="-DBIND_8_COMPAT=1" }
Why dont you just use darwinports (which this list is for ? ).
Ole
- --
DarwinPorts committer, www.opendarwin.org/~olegb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAQKeJTOmSCJpH6EERAkmtAKCse1e9dgKJXOBaHCv3bDTGDNnCxQCfdIMz
ZgRu8wmrco6yw9EEhlX1A5o=
=252t
-----END PGP SIGNATURE-----
|