Hi all,<br><br>I want to comile the g_velacc again. I copy the original&nbsp; <span style="text-decoration: underline;">gmx_velacc.c</span> and <span style="text-decoration: underline;">autocorr.c</span> 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!!)&nbsp; How to solve it? Thanks a lot.
<br><br>**************************************************************************************<br>/home/fias/qiao/Gromacs//lib/libgmxana.a(autocorr.o)(.text+0x22b0): In function `low_do_autocorr':<br>: undefined reference to `xvgropen'
<br>/home/fias/qiao/Gromacs//lib/libgmxana.a(autocorr.o)(.text+0x2e83): In function `low_do_autocorr':<br>: undefined reference to `xvgropen'<br>/home/fias/qiao/Gromacs//lib/libgmxana.a(expfit.o)(.text+0x6cb): In function `do_lmfit':
<br>: undefined reference to `xvgropen'<br>collect2: ld returned 1 exit status<br>**************************************************************************************<br><br><br>The following are used to compile it:<br>
GMXDIR='/home/fias/qiao/Gromacs/'<br>INCLUDE=&quot;-I${GMXDIR}/include/gromacs -I${GMXDIR}/include/gromacs/types&quot;<br><br>LIBS=&quot;-L${GMXDIR}/lib -L/usr/X11R6/lib -L/lib -L/usr/lib -L${GMXDIR}/lib&quot;<br>LDDFLAGS=&quot;-lXm -lmd -lm -lgmx -lgmxana -lnsl -lfftw3&quot;
<br>CCFLAGS=&quot;-O3&quot;<br><br>gcc -g $INCLUDE $CCFLAGS -c gmx_velacc.c<br>gcc -g $CCFLAGS -o g_velacc&nbsp; gmx_velacc.o -Wall $LIBS $LDDFLAGS<br>**************************************************************************************
<br clear="all"><br>-- <br>Sincerely yours,<br>**********************************************<br>Baofu Qiao, PhD<br>Frankfurt Institute for Advanced Studies<br>Max-von-Laue-Str. 1<br>60438 Frankfurt am Main, Germany TEL:+49-69-7984-7529
<br>**********************************************