[Date Prev][Date Next] [Chronological] [Thread] [Top]

Strange warnings when compiling Berkeley DB on FreeBSD 3.0



Relative FreeBSD newbie alert 

Hi, I downloaded Berkeley DB 2.6.4 on a FreeBSD 3.0-RELEASE system to
use it with OpenLDAP <http://www.openldap.org>

Inside build_unix
../dist/configure --prefix=/usr/local/site/BerkeleyDB
--enable-compat185 --enable-dump185

Since OpenLDAP is developed on a FreeBSD system, thought I would check 
with others. I also tried adding -ldes to LIBS and get the same
warning. In particular, the warning about "unsafe" and "stupid" raised 
my concern. Maybe, I need to get the secure distribution of FreeBSD
outside of the US, but I don't want to change from MD5 passwords

test ! -f /usr/bin/ranlib || /usr/bin/ranlib libdb.a
cc -c -O -I. -I../dist/../include -D_THREAD_SAFE ../dist/../db_dump185/db_dump185.c
cc -c -O -I. -I../dist/../include -D_THREAD_SAFE ../dist/../clib/err.c
cc -c -O -I. -I../dist/../include -D_THREAD_SAFE ../dist/../clib/getlong.c
cc -o db_dump185  db_dump185.o err.o getlong.o -lc_r
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid.
cc -c -O -I. -I../dist/../include -D_THREAD_SAFE ../dist/../db_archive/db_archive.c
cc -o db_archive  db_archive.o err.o getlong.o libdb.a -lc_r
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid.
cc -c -O -I. -I../dist/../include -D_THREAD_SAFE ../dist/../db_checkpoint/db_checkpoint.c
cc -o db_checkpoint  db_checkpoint.o err.o getlong.o libdb.a -lc_r
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid.
cc -c -O -I. -I../dist/../include -D_THREAD_SAFE ../dist/../db_deadlock/db_deadlock.c
cc -o db_deadlock  db_deadlock.o err.o getlong.o libdb.a -lc_r
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid.
cc -c -O -I. -I../dist/../include -D_THREAD_SAFE ../dist/../db_dump/db_dump.c
cc -o db_dump  db_dump.o err.o getlong.o libdb.a -lc_r
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid.
cc -c -O -I. -I../dist/../include -D_THREAD_SAFE ../dist/../db_load/db_load.c
cc -o db_load  db_load.o err.o getlong.o libdb.a -lc_r
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid.
cc -c -O -I. -I../dist/../include -D_THREAD_SAFE ../dist/../db_printlog/db_printlog.c
cc -o db_printlog  db_printlog.o err.o getlong.o libdb.a -lc_r
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid.
cc -c -O -I. -I../dist/../include -D_THREAD_SAFE ../dist/../db_recover/db_recover.c
cc -o db_recover  db_recover.o err.o getlong.o libdb.a -lc_r
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid.
cc -c -O -I. -I../dist/../include -D_THREAD_SAFE ../dist/../db_stat/db_stat.c
cc -o db_stat  db_stat.o err.o getlong.o libdb.a -lc_r
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid.

-- 
Yusuf Goolamabbas
yusufg@huge.net