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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] Error during linking
On Aug 31, 2004, at 15:44, Gava frédéric wrote:

> /usr/local/pub/lib/pc/linux/tcpip/libpub_d.a(system_unix.o): In 
> function
> `sys_init':
> /usr/local/pub/system/system_unix.c:189: multiple definition of 
> `sys_init'
> /usr/local/lib/ocaml/libasmrun.a(sys.o)(.text+0x3f0): first defined 
> here
> /usr/i386-slackware-linux/bin/ld: Warning: size of symbol `sys_init' 
> changed
> from 22 to 44 in 
> /usr/local/pub/lib/pc/linux/tcpip/libpub_d.a(system_unix.o)
> /usr/local/pub/lib/pc/linux/tcpip/libpub_d.a(system_unix.o): In 
> function
> `sys_time':
> /usr/local/pub/system/system_unix.c:242: multiple definition of 
> `sys_time'
> /usr/local/lib/ocaml/libasmrun.a(sys.o)(.text+0x4bc): first defined 
> here
> /usr/i386-slackware-linux/bin/ld: Warning: size of symbol `sys_time' 
> changed
> from 66 to 49 in 
> /usr/local/pub/lib/pc/linux/tcpip/libpub_d.a(system_unix.o)
> collect2: ld returned 1 exit status
> Error during linking
>
> Anybody have an idea ?

It's a name clash between two C libraries, one of which happens to be
the O'Caml runtime.  This problem was fixed after release 3.07+2.  You
should upgrade to O'Caml version 3.08.1.

-- Damien

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