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

John Todd jtodd at loligo.com
Wed May 12 15:59:32 MST 2004


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#




More information about the asterisk-dev mailing list