Date: Thu, 23 Aug 2001 15:00:44 -0400 From: David Petrou <dpetrou@cs.cmu.edu> To: freebsd-questions@freebsd.org Subject: wacky warnings linking multithreaded code Message-ID: <20010823150044.E24447@amant.pdl.cs.cmu.edu>
next in thread | raw e-mail | index | archive | help
consider test.c: int main(void) { return 0; } consider linking it against the multithreaded libc: amant 0/380 ~> gcc test.c -lc_r /usr/lib/libc.so: WARNING! setkey(3) not present in the system! /usr/lib/libc.so: warning: this program uses gets(), which is unsafe. /usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using mkstemp() /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: tmpnam() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid. /usr/lib/libc.so: WARNING! des_cipher(3) not present in the system! /usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using mkstemp() what am i doing wrong? thanks, david p.s.: please reply to me directory (dpetrou@cs.cmu.edu) in addition to the list, since i'm not subscribed. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010823150044.E24447>