Date: Tue, 9 Feb 1999 15:03:45 +0300 (MSK) From: "Pavel V. Antipov" <pavel@ikar.elect.ru> To: freebsd-questions@FreeBSD.ORG Subject: Question about -lc_r compiling Message-ID: <Pine.BSF.3.96.990209145822.426A-100000@ikar.elect.ru>
next in thread | raw e-mail | index | archive | help
Hi ! I have a problem with compilation my threaded programs under FreeBSD 3.0. See below. Makefile: ---------- all: g++ -c CClntSocket.cpp g++ -o server server.cpp -lc_r Results: ---------- /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. After this i have file "server" (rwxr-xr-x) in my home directory. 1. What does compiler means in his warning messages ? 2. How can I correctly compile my threaded program ? Thank you Your's sincerly Pavel E-mail:pavel@ikar.elect.ru 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?Pine.BSF.3.96.990209145822.426A-100000>