[Asterisk-Dev] FreeBSD compile problems (even with new changes)

Dr. Rich Murphey Rich at WhiteOakLabs.com
Thu May 13 11:31:21 MST 2004


Try 

http://www.murphey.org/asterisk-CIRCLEQ.diff

Cheers,
Rich


> -----Original Message-----
> From: asterisk-dev-admin at lists.digium.com [mailto:asterisk-dev-
> admin at lists.digium.com] On Behalf Of John Todd
> Sent: Wednesday, May 12, 2004 6:00 PM
> To: asterisk-dev at lists.digium.com
> Subject: [Asterisk-Dev] FreeBSD compile problems (even with new changes)
> 
> I see recent CVS updates in the last few hours that say "fix FreeBSD
> compile" but I'm still having problems with an extremely generic
> (totally generic, actually) FreeBSD 5.2.1 version.  Any pointers from
> anyone?  I have the Zaptel driver compiling (yaaaay!) but Asterisk
> doesn't compile, so my BSD testing is stalled.
> 
> JT
> 
> 
> 
> [lots of other stuff up here...]
> gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o
> hash_log2.o hash/hash_log2.c
> gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o
> hash_page.o hash/hash_page.c
> gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o
> ndbm.o hash/ndbm.c
> hash/ndbm.c: In function `dbm_fetch':
> hash/ndbm.c:111: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> hash/ndbm.c:111: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> hash/ndbm.c: In function `dbm_firstkey':
> hash/ndbm.c:131: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> hash/ndbm.c:131: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> hash/ndbm.c: In function `dbm_nextkey':
> hash/ndbm.c:149: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> hash/ndbm.c:149: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> hash/ndbm.c: In function `dbm_delete':
> hash/ndbm.c:166: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> hash/ndbm.c: In function `dbm_store':
> hash/ndbm.c:185: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> hash/ndbm.c:185: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> gcc -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o
> bt_close.o btree/bt_close.c
> In file included from btree/btree.h:44,
>                   from btree/bt_close.c:50:
> include/mpool.h:53: error: syntax error before "CIRCLEQ_ENTRY"
> include/mpool.h:64: error: syntax error before "CIRCLEQ_HEAD"
> gmake[1]: *** [bt_close.o] Error 1
> gmake[1]: Leaving directory `/usr/home/jtodd/asterisk/db1-ast'
> gmake: *** [db1-ast/libdb1.a] Error 2
> wheebsd# uname -a
> FreeBSD wheebsd.fox-den.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0:
> Mon Feb 23 20:45:55 GMT 2004
> root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC  i386
> wheebsd#
> 
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
> 






More information about the asterisk-dev mailing list