Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] warning of ocamlgsl
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: onlyclimb <onlyclimb@1...>
Subject: [Caml-list] Re: warning of ocamlgsl
> 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