Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ld: Undefined symbols: _gethostbyname_r



Unfortunately, it does not make any difference.

On Wed, 10 Nov 2004 09:44:32 -0500, Joao Damas <email@hidden> wrote:
> CFLAGS="-DBIND_8_COMPAT" that will make OS x use the bind8 related
> headers.

I have now replaced all references to nameserver_compat.h to
nameserver8_compat.h (found in two c source files) and included
DBIND_8_COMPAT in CFLAGS, yet I get the very same errors:

gcc -g  -o asterisk -Wl,-dynamic io.o sched.o logger.o frame.o
loader.o config.o channel.o translate.o file.o say.o pbx.o cli.o md5.o
term.o ulaw.o alaw.o callerid.o fskmodem.o image.o app.o cdr.o tdd.o
acl.o rtp.o manager.o asterisk.o ast_expr.o dsp.o chanvars.o
indications.o autoservice.o db.o privacy.o astmm.o enum.o srv.o dns.o
aescrypt.o aestab.o aeskey.o utils.o  poll.o dlfcn.o
editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a -lncurses -lm
-lresolv
ld: Undefined symbols:
_gethostbyname_r
___mpool_filter
___mpool_get
___mpool_new
___mpool_open
___mpool_put
___mpool_close
___mpool_sync
make: *** [asterisk] Error 1

If I am going to bring Rendezvous to Asterisk, I will have to solve
this problem first. As far as I can tell, nobody has been able to
build Asterisk on MacOSX for a year now. The installer I built from
the CVS tree of late October 2003 would seem to be the most recent
version able to run on Darwin. Given the pace with which Asterisk is
progressing, that's really ancient.

Now that Asterisk has a 1.0 Release, many users are no longer happy
with the older build. We are getting hundreds of email asking for a
more recent build. I and the many Mac users who run Asterisk will
appreciate any help to take this hurdle. I will mention any Robin
Hoods coming forward to save the day in the credits of the new install
package.

thank you all for your help
kind regards
benjk

-- 
Sunrise Telephone Systems, 9F Shibuya Daikyo Bldg., 1-13-5 Shibuya,
Tokyo, Japan.

NB: Spam filters in place. Messages unrelated to the * mailing lists
may get trashed.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to email@hidden

References: 
 >ld: Undefined symbols: _gethostbyname_r (From: Benjamin on Asterisk Mailing Lists <email@hidden>)
 >Re: ld: Undefined symbols: _gethostbyname_r (From: Benjamin on Asterisk Mailing Lists <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.