caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Damien Doligez <damien.doligez@inria.fr>
To: "Gava frédéric" <frederic.gava@wanadoo.fr>
Cc: <ocaml_beginners@yahoogroups.com>, <caml-list@inria.fr>
Subject: Re: [Caml-list] Error during linking
Date: Tue, 31 Aug 2004 17:42:30 +0200	[thread overview]
Message-ID: <5E28180E-FB64-11D8-B0E6-00039310CAE8@inria.fr> (raw)
In-Reply-To: <000e01c48f60$b0fd9e20$0300a8c0@atlantis>

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


  reply	other threads:[~2004-08-31 15:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-31 13:44 Gava frédéric
2004-08-31 15:42 ` Damien Doligez [this message]
2004-08-31 15:18 Gava frédéric

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5E28180E-FB64-11D8-B0E6-00039310CAE8@inria.fr \
    --to=damien.doligez@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=frederic.gava@wanadoo.fr \
    --cc=ocaml_beginners@yahoogroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).