From: Jérôme Hénin (jerome.henin_at_uhp-nancy.fr)
Date: Tue Jun 28 2005 - 10:54:09 CDT
On Tuesday 28 June 2005 16:27, you wrote:
> If I have use the second set of vmd-1.8.1 plugins then I get the
> following error:
>
> volta 334% make
> gcc -Wall -O3 -fomit-frame-pointer -march=i686 -pipe
> -I/home/philip/packages/catdcd-3.0/plugins-1.8.1b/include
> -I/home/philip/packages/catdcd-3.0/plugins-1.8.1b/LINUX/molfile catdcd.c
> -L/home/philip/packages/catdcd-3.0/plugins-1.8.1b/LINUX/molfile
> -lmolfile_plugin -o cattrr
> /home/philip/packages/catdcd-3.0/plugins-1.8.1b/LINUX/molfile/
> libmolfile_plugin.a(dcdplugin-s.o)
>
> (.text+0x150d): In function `read_next_timestep':
> : undefined reference to `acos'
>
> /home/philip/packages/catdcd-3.0/plugins-1.8.1b/LINUX/molfile/
> libmolfile_plugin.a(dcdplugin-s.o)
>
> (.text+0x152d): In function `read_next_timestep':
> : undefined reference to `acos'
>
> /home/philip/packages/catdcd-3.0/plugins-1.8.1b/LINUX/molfile/
> libmolfile_plugin.a(dcdplugin-s.o)
>
> (.text+0x1550): In function `read_next_timestep':
> : undefined reference to `acos'
>
> collect2: ld returned 1 exit status
> make: *** [cattrr] Error 1
Apparently, the linker is missing the math libraries. Try adding -lm to the
CFLAGS variable in the Makefile.
I recommend the very latest set of plugins, since it includes improvements in
the DCD read/write part:
http://www.ks.uiuc.edu/Research/vmd/plugins/183update1/plugins-vmd-1.8.3.tar.gz
Cheers,
Jerome
-- Jérôme Hénin Equipe de Dynamique des Assemblages Membranaires Université Henri Poincaré / CNRS Tel : (33) 3 83 68 43 95 Fax : (33) 3 83 68 43 87 http://www.edam.uhp-nancy.fr/
This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:40:54 CST