From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA03187; Mon, 23 Dec 2002 13:20:49 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA03297 for ; Mon, 23 Dec 2002 13:20:46 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from sm212.163.com ([202.108.44.212]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id gBNCIfn18093 for ; Mon, 23 Dec 2002 13:20:45 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by sm212.163.com (Postfix) with SMTP id 3FE0B1C5C087A for ; Mon, 23 Dec 2002 20:16:28 +0800 (CST) Received: from 163.com (unknown [159.226.149.121]) by 192.168.1.212 (Coremail) with SMTP id sAEAAJr+Bj7YyP//.1 for ; Mon, 23 Dec 2002 20:16:28 +0800 (CST) Message-ID: <3E076F16.9060706@163.com> Date: Mon, 23 Dec 2002 20:16:22 +0000 From: onlyclimb User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.1) Gecko/20021005 X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] Re: warning of ocamlgsl References: <3E0736C0.1000902@163.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > i have used ocamlgsl > why i use gmake it produce such warnings > /usr/lib/libc.so.4: WARNING! setkey(3) not present in the system! > /usr/lib/libc.so.4: warning: this program uses gets(), which is unsafe. > /usr/lib/libc.so.4: warning: mktemp() possibly used unsafely; consider > using mkstemp() > /usr/lib/libc.so.4: WARNING! des_setkey(3) not present in the system! > /usr/lib/libc.so.4: WARNING! encrypt(3) not present in the system! > /usr/lib/libc.so.4: warning: tmpnam() possibly used unsafely; consider > using mkstemp() > /usr/lib/libc.so.4: warning: this program uses f_prealloc(), which is > not recommended. > /usr/lib/libc.so.4: WARNING! des_cipher(3) not present in the system! > /usr/lib/libc.so.4: warning: tempnam() possibly used unsafely; > consider using mkstemp() > > however i use gmake nc to compile native > no warnings > > is it normal ? I give the detailed situation Here is the Makefile OCAMLMAKEFILE = ../OCamlMakefile SOURCES = 1 LIBS = bigarray gsl pcre INCDIRS = +contrib +ocamlgsl RESULT = try include $(OCAMLMAKEFILE) if only pcre or bigarray gsl set in LIBS and INCDIRS no warning showed when gmake however when both this two lib pcre and (bigarray gsl) set in LIBS , then warning will appear and at the same time if gmake nc , neither of the situation will show warnning so why ? Thanks ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners