• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
bind
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bind


  • Subject: bind
  • From: Sam Hart <email@hidden>
  • Date: Fri, 17 Sep 2004 14:30:24 +0100

while porting, I came across a problem with linking an undefined symbol
res_9_init

this turns out to be from using /usr/include/resolv.h

it appears res_init() is defined as res_9_init which comes from bind9, however
it doesn't seem to be implemented, hence the error.


I have had this confirmed on OpenDarwin 7.2.1, 10.3.4 and 10.3.5, so I
think it is safe to say all the Darwin 7 releases.

The fix was to add -DBIND_8_COMPAT=1 to my compile flags.


why do we have the header files if there is no lib to support it ? bind9 appears to be in the CVS

I am a little surprised that more people haven't tripped over this one,
am I missing something ?


S a m

-------------------------------------------------------

Drawing on my fine command of language, I said nothing.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: bind
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Using MIG RPC between 2 threads inside a process
  • Next by Date: Re: bind
  • Previous by thread: Re: AFS / CodaFS on Panther?
  • Next by thread: Re: bind
  • Index(es):
    • Date
    • Thread