<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:bookman old style, new york, times, serif;font-size:10pt"><DIV>Hi </DIV>
<DIV>I am trying to link mopac with gromacs in a 32 bit linux machine. I have downloaded the libmopac.a file and kept it under /usr/local/lib. I installed fftw with double precision and then I set the enviornmental variables&nbsp;for&nbsp;linking mopac and gromacs </DIV>
<DIV>export LDFLAGS="-L/usr/local/lib&nbsp; <SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-IN; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; FONT-SIZE: 10.5pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-IN; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">-Wl,--wrap,__ctype_b"</SPAN></SPAN></DIV>
<DIV>export CPPFLAGS="/usr/local/include -DUSE_MOPAC"</DIV>
<DIV>export LIBS="lmopac</DIV>
<DIV>&nbsp;</DIV>
<DIV>then I have ran the ./configure --with-qmmm-mopac --disable-float.It seems to run ok.Then I&nbsp;used the make command but an error is comming as follows-</DIV>
<DIV><SPAN lang="">
<P>/usr/local/lib/libmopac.a(lread.o)(.text+0x160): In function `e_rsle':</P>
<P>: undefined reference to `__wrap___ctype_b'</P>
<P>/usr/local/lib/libmopac.a(lread.o)(.text+0x21f): In function `e_rsle':</P>
<P>: undefined reference to `__wrap___ctype_b'</P>
<P>/usr/local/lib/libmopac.a(lread.o)(.text+0x296): In function `e_rsle':</P>
<P>: undefined reference to `__wrap___ctype_b'</P>
<P>/usr/local/lib/libmopac.a(lread.o)(.text+0x2d0): In function `e_rsle':</P>
<P>: undefined reference to `__wrap___ctype_b'</P>
<P>/usr/local/lib/libmopac.a(lread.o)(.text+0x8b2): In function `e_rsle':</P>
<P>: undefined reference to `__wrap___ctype_b'</P>
<P>/usr/local/lib/libmopac.a(lread.o)(.text+0xb05): more undefined references to `__wrap___ctype_b' follow</P>
<P>collect2: ld returned 1 exit status</P>
<P>make[3]: *** [grompp] Error 1</P>
<P>make[3]: Leaving directory `/usr/gromacs-4.0.3/src/kernel'</P>
<P>make[2]: *** [all-recursive] Error 1</P>
<P>make[2]: Leaving directory `/usr/gromacs-4.0.3/src'</P>
<P>make[1]: *** [all] Error 2</P>
<P>make[1]: Leaving directory `/usr/gromacs-4.0.3/src'</P>
<P>make: *** [all-recursive] Error 1</P>
<P>&nbsp;</P>
<P>Please suggest where I have gone wrong.</P></SPAN><BR>&nbsp;</DIV>Subarna Thakur<BR>
<DIV></DIV></div><br></body></html>