ports/net/asterisk build problem

2008-06-14 Thread Wojciech Puchar

ends with this at linking:
__sync_sub_and_fetch_4'
manager.o(.text+0x1c09): In function `accept_thread':
/usr2/ports/net/asterisk/work/asterisk-1.4.20.1/include/asterisk/lock.h:1118: 
undefined reference to `__sync_fetch_and_add_4'

manager.o(.text+0x4b5c): In function `action_waitevent':
/usr2/ports/net/asterisk/work/asterisk-1.4.20.1/include/asterisk/lock.h:1164: 
undefined reference to `__sync_sub_and_fetch_4'

manager.o(.text+0x6e8c): In function `generic_http_callback':
/usr2/ports/net/asterisk/work/asterisk-1.4.20.1/include/asterisk/lock.h:1118: 
undefined reference to `__sync_fetch_and_add_4'




anyone know where these __sync_* functions are?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports/net/asterisk build problem

2008-06-14 Thread Sahil Tandon
Wojciech Puchar [EMAIL PROTECTED] wrote:

 undefined reference to `__sync_fetch_and_add_4'

 anyone know where these __sync_* functions are?

Do you set CPUTYPE in /etc/make.conf?  There has been some discussion about 
this before; check the archives for some commonly suggested solutions.

-- 
Sahil Tandon [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports/net/asterisk build problem

2008-06-14 Thread Wojciech Puchar

works. thank you very much!


On Sat, 14 Jun 2008, Sahil Tandon wrote:


Wojciech Puchar [EMAIL PROTECTED] wrote:


undefined reference to `__sync_fetch_and_add_4'

anyone know where these __sync_* functions are?


Do you set CPUTYPE in /etc/make.conf?  There has been some discussion about
this before; check the archives for some commonly suggested solutions.

--
Sahil Tandon [EMAIL PROTECTED]



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]