From owner-freebsd-hackers Thu Jan 7 18:55:19 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA18123 for freebsd-hackers-outgoing; Thu, 7 Jan 1999 18:55:19 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from yusufg.portal2.com (yusufg.portal2.com [203.85.226.249]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA18108 for ; Thu, 7 Jan 1999 18:55:07 -0800 (PST) (envelope-from yusufg@huge.net) Received: (qmail 27900 invoked by uid 500); 8 Jan 1999 02:54:54 -0000 Date: 8 Jan 1999 02:54:54 -0000 Message-ID: <19990108025454.27899.qmail@yusufg.portal2.com> From: "Yusuf Goolamabbas" To: openldap-devel@openldap.org, freebsd-hackers@FreeBSD.ORG CC: db@sleepycat.com Subject: Strange warnings when compiling Berkeley DB on FreeBSD 3.0 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Relative FreeBSD newbie alert Hi, I downloaded Berkeley DB 2.6.4 on a FreeBSD 3.0-RELEASE system to use it with OpenLDAP 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message