Summary:ASTERISK-14290: Build of fails on Darwin
Reporter:John Covert (jcovert)Labels:
Date Opened:2009-06-09 07:59:32Date Closed:2011-06-07 14:00:53
Versions:Frequency of
Environment:Attachments:( 0) config.log
Description:   [CC] hashtest2.c -> hashtest2.o
In file included from hashtest2.c:39:
/private/var/root/asterisk/asterisk- In function 'ast_rwlock_timedrdlock':
/private/var/root/asterisk/asterisk- warning: implicit declaration of function 'pthread_rwlock_timedrdlock'
/private/var/root/asterisk/asterisk- In function 'ast_rwlock_timedwrlock':
/private/var/root/asterisk/asterisk- warning: implicit declaration of function 'pthread_rwlock_timedwrlock'

(and similarly in many other modules, followed by:)

  [LD] abstract_jb.o acl.o adsistub.o aescrypt.o aeskey.o aestab.o alaw.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o audiohook.o autoservice.o callerid.o cdr.o channel.o chanvars.o cli.o config.o cryptostub.o datastore.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o event.o features.o file.o fixedjitterbuf.o frame.o fskmodem.o global_datastores.o hashtab.o heap.o http.o image.o indications.o io.o jitterbuf.o loader.o logger.o manager.o md5.o netsock.o pbx.o plc.o poll.o privacy.o rtp.o say.o sched.o sha1.o slinfactory.o srv.o stdtime/localtime.o strcompat.o taskprocessor.o tcptls.o tdd.o term.o threadstorage.o timing.o translate.o udptl.o ulaw.o utils.o version.o editline/libedit.a db1-ast/libdb1.a -> asterisk
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
collect2: ld returned 1 exit status
make[1]: *** [asterisk] Error 1
make: *** [main] Error 2
JRCovert:~/asterisk/asterisk- root#

Comments:By: Tilghman Lesher (tilghman) 2009-06-09 13:31:36

Please upload your config.log.

By: John Covert (jcovert) 2009-06-09 21:57:07

config.log attached.

By: Tilghman Lesher (tilghman) 2009-06-09 23:47:37

Already fixed in SVN.