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
**********************************************
_______________________________________________ gmx-users mailing list [email protected] http://www.gromacs.org/mailman/listinfo/gmx-users Please don't post (un)subscribe requests to the list. Use the www interface or send it to [EMAIL PROTECTED] Can't post? Read http://www.gromacs.org/mailing_lists/users.php

