English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
problem with LACAML and static linking
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-01-28 (19:04)
From: Stéphane Glondu <steph@g...>
Subject: Re: [Caml-list] problem with LACAML and static linking
Erick Matsen a écrit :
> Hm, unfortunately not the first one.
>>> /usr/lib/libblas.a(xerbla.o): In function `xerbla_':
>>> (.text+0x0): multiple definition of `xerbla_'
>>> /usr/lib/liblapack.a(xerbla.o):(.text+0x0): first defined here
> It doesn't link...

Oh... I overlooked this one. You have to manage to get a set of .a files
so that each object (.o) is there only once. In this case, I would drop
libblas.a, since it is a dependency of liblapack (AFAIU).