[Asterisk-Dev] FreeBSD notes (continued)

John Todd jtodd at loligo.com
Thu May 13 13:36:49 MST 2004


This is from CVS of 3 minutes ago.  I'm going to try with the patches 
I see from Rich Murphey in a few minutes...

Looks like the recent changed to CIRCLEQ didn't quite clear up the 
issue with FreeBSD 5.2.1:


[more stuff up here]
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:41:24: circ-queue.h: No such file or directory
In file included from btree/btree.h:44,
                  from btree/bt_close.c:50:
include/mpool.h:56: error: syntax error before "CIRCLEQ_ENTRY"
include/mpool.h:67: 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# date
Thu May 13 22:01:19 BST 2004
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