<html>
<font color="#800080">cmake now keeps track of which libraries are used
by a library and adds them to a link line.<br>
Since -lm and -lpthreads are done at the top of vtk all libraries need
them.  The get repeated because if a library needs a library it must
come after it on the link line.<br>
<br>
Anyway, you should be able to repeat -lm without this problem.<br>
<br>
I did a quick google search, and found this:<br>
<br>
> Yesterday, I attempted to play with KDE 2.2Beta. During the
compilation of the multimedia package, I get an error sayinhg that the
> linker cannot create application becuase clog@@GLIBC_2.1 cannot be
found...</font> Rebuild your glibc, and this time don't include the
--disable-versioning or --enable-oldest-abi flags. <br>
<br>
<br>
At 03:27 PM 5/24/2002 -0400, David Gobbi wrote:<br>
<blockquote type=cite class=cite cite>Hi All,<br>
<br>
I've been having a funny build problem for the past week, I was
hoping<br>
that it would vanish on its own but it hasn't.  I'm on linux (redhat
7.1)<br>
with gcc-2.95.3 rather than the default gcc-2.96-85.<br>
<br>
In every link line I have -lm appear twice, and (for some unknown
reason)<br>
this leads to the following link error:<br>
   undefined versioned symbol name clog@@GLIBC_2.1<br>
<br>
So my questions are<br>
 1) Has anyone else seen a similar problem?<br>
 2) Why does cmake list several libraries (-lpthread, -ldl, -lm)
twice<br>
    when it links the shared libraries?<br>
<br>
 - David<br>
<br>
_______________________________________________<br>
vtk-developers mailing list<br>
vtk-developers@public.kitware.com<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" eudora="autourl">http://public.kitware.com/mailman/listinfo/vtk-developers</a>
</blockquote></html>