[gmx-developers] problem in compiling g_velacc again under gromacs
Qiao Baofu
qiaobf at gmail.com
Tue Oct 31 17:24:54 CET 2006
Hi all,
I want to comile the g_velacc again. I copy the original gmx_velacc.c and
autocorr.c into a new directory, and then comile the gmx_velacc.c, but it
gives the following complains, and then exits. (I didn't change anything in
the two files!!) How to solve it? Thanks a lot.
**************************************************************************************
/home/fias/qiao/Gromacs//lib/libgmxana.a(autocorr.o)(.text+0x22b0): In
function `low_do_autocorr':
: undefined reference to `xvgropen'
/home/fias/qiao/Gromacs//lib/libgmxana.a(autocorr.o)(.text+0x2e83): In
function `low_do_autocorr':
: undefined reference to `xvgropen'
/home/fias/qiao/Gromacs//lib/libgmxana.a(expfit.o)(.text+0x6cb): In function
`do_lmfit':
: undefined reference to `xvgropen'
collect2: ld returned 1 exit status
**************************************************************************************
The following are used to compile it:
GMXDIR='/home/fias/qiao/Gromacs/'
INCLUDE="-I${GMXDIR}/include/gromacs -I${GMXDIR}/include/gromacs/types"
LIBS="-L${GMXDIR}/lib -L/usr/X11R6/lib -L/lib -L/usr/lib -L${GMXDIR}/lib"
LDDFLAGS="-lXm -lmd -lm -lgmx -lgmxana -lnsl -lfftw3"
CCFLAGS="-O3"
gcc -g $INCLUDE $CCFLAGS -c gmx_velacc.c
gcc -g $CCFLAGS -o g_velacc gmx_velacc.o -Wall $LIBS $LDDFLAGS
**************************************************************************************
--
Sincerely yours,
**********************************************
Baofu Qiao, PhD
Frankfurt Institute for Advanced Studies
Max-von-Laue-Str. 1
60438 Frankfurt am Main, Germany TEL:+49-69-7984-7529
**********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20061031/a4a5c14c/attachment.html>
More information about the gromacs.org_gmx-developers
mailing list