Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] Warnings while compiling a static OCaml program
@ 2004-02-28 13:20 David MENTRE
  0 siblings, 0 replies; only message in thread
From: David MENTRE @ 2004-02-28 13:20 UTC (permalink / raw)
  To: caml-list

Hello,

I obtain following warnings when I compile my OCaml program in static,
native code:

ocamlopt.opt -ccopt -static -I srv -I bitv-0.5 -I xdr/src/rpc -I net -I xdr/src/generator -I raw-clnt -I lablgtk-clnt -I +lablgtk -thread -o srv/demexp-server \
        unix.cmxa threads.cmxa xdr/src/rpc/rpc_general.cmx xdr/src/rpc/rpc_common.cmx xdr/src/rpc/rtypes.cmx xdr/src/rpc/xdr.cmx xdr/src/rpc/rpc.cmx xdr/src/rpc/rpc_transport.cmx net/messages_aux.cmx config.cmx net/network.cmx bitv-0.5/bitv.cmx srv/srvflags.cmx srv/dbitv.cmx srv/participants.cmx srv/classification.cmx srv/delegation.cmx srv/voting.cmx srv/posbase.cmx srv/rwmutex.cmx srv/basesctrl.cmx srv/work.cmx srv/binio.cmx srv/demexp-server.cmx
/usr/lib/ocaml/3.07/libasmrun.a(unix.o)(.text+0x27a): In function `caml_dlopen':
: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/ocaml/3.07/libunix.a(getgr.o)(.text+0x115): In function `unix_getgrgid':
: warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/ocaml/3.07/libunix.a(getgr.o)(.text+0xdc): In function `unix_getgrnam':
: warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/ocaml/3.07/libunix.a(getpw.o)(.text+0x128): In function `unix_getpwnam':
: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/ocaml/3.07/libunix.a(getpw.o)(.text+0x161): In function `unix_getpwuid':
: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/ocaml/3.07/libunix.a(gethost.o)(.text+0x1a7): In function `unix_gethostbyaddr':
: warning: Using 'gethostbyaddr_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/ocaml/3.07/libunix.a(gethost.o)(.text+0x255): In function `unix_gethostbyname':
: warning: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/ocaml/3.07/libunix.a(getproto.o)(.text+0xf4): In function `unix_getprotobynumber':
: warning: Using 'getprotobynumber' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/ocaml/3.07/libunix.a(getproto.o)(.text+0xbb): In function `unix_getprotobyname':
: warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/ocaml/3.07/libunix.a(getserv.o)(.text+0xef): In function `unix_getservbyname':
: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/ocaml/3.07/libunix.a(getserv.o)(.text+0x139): In function `unix_getservbyport':
: warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

I've googled and look into glibc and gcc info pages but found
nothing. Could somebody more informed explain to me where those warnings
are coming from and how I might solve the possible issue?

Many thanks in advance for any help,
Yours,
d.
-- 
 David Mentré <dmentre@linux-france.org>

-------------------
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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-28 13:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-28 13:20 [Caml-list] Warnings while compiling a static OCaml program David MENTRE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox