From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Mon Nov 21 2011 - 08:37:31 CST

On Mon, Nov 21, 2011 at 7:37 AM, Vlad Cojocaru
<vlad.cojocaru_at_mpi-muenster.mpg.de> wrote:
> Dear VMD users,
>
> We updated our workstation to openSUSE 12.1 which comes with FLTK 1.3 and
> GCC 4.6 ...
> The compilation of the VMD 1.9 source code fails with the following error:
>
> ln: failed to create symbolic link `./foobar': File exists
> Stride.o: In function `ss_from_stride(DrawMolecule*)':
> Stride.C:(.text+0x3f): warning: the use of `tempnam' is dangerous, better
> use `mkstemp'
> /usr/lib64/libfltk.so: undefined reference to `XineramaQueryScreens'
> /usr/lib64/libfltk.so: undefined reference to `XineramaIsActive'
> collect2: ld returned 1 exit status
> make: *** [vmd_LINUXAMD64] Error 1
>
> Is this a known problem ? Is there a workaround ?\

very obviously, your FLTK library depends on the Xinerama library,
so you'll have to add -lXinerama to your fltk related linker flags.

axel.

>
> Architecture: Linux x86_64, AMD CPUs.
>
> Thank you
>
> Best wishes
> Vlad
>
> --
> Dr. Vlad Cojocaru
> Max Planck Institute for Molecular Biomedicine
> Department of Cellular and Developmental Biology
> Roentgenstrasse 20
> 48149 Muenster, Germany
> tel: +49-251-70365-324
> fax: +49-251-70365-399
> email: vlad.cojocaru[at]mpi-muenster.mpg.de
>
>
>

-- 
Dr. Axel Kohlmeyer
akohlmey_at_gmail.com  http://goo.gl/1wk0
College of Science and Technology
Temple University, Philadelphia PA, USA.