From owner-freebsd-questions Tue Feb 9 04:04:34 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA08474 for freebsd-questions-outgoing; Tue, 9 Feb 1999 04:04:34 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ikar.elect.ru ([195.161.50.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA08401 for ; Tue, 9 Feb 1999 04:04:02 -0800 (PST) (envelope-from pavel@ikar.elect.ru) Received: from localhost (pavel@localhost) by ikar.elect.ru (8.8.7/8.8.7) with SMTP id PAA00446 for ; Tue, 9 Feb 1999 15:03:47 +0300 (MSK) (envelope-from pavel@ikar.elect.ru) Date: Tue, 9 Feb 1999 15:03:45 +0300 (MSK) From: "Pavel V. Antipov" To: freebsd-questions@FreeBSD.ORG Subject: Question about -lc_r compiling Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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