<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>According to the suggestion I have installed the f2c package in my&nbsp;machine.I am unable to find the g2c package. I have included the f2c library by&nbsp;- export LIBS="-lmopac -lf2c". But when I running&nbsp;&nbsp;./configure --with-qmmm-mopac --disable-float ,&nbsp;an error is comming C compiler cannot create executable. The config.log file shows the following section-&nbsp;<BR><SPAN lang=EN>
<P>onfigure:3413: checking for C compiler default output file name</P>
<P>configure:3440: cc -I/usr/local/include -DUSE_MOPAC -L/usr/local/lib conftest.c -lmopac -lf2c &gt;&amp;5</P>
<P>/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libf2c.so: undefined reference to `MAIN__'</P>
<P>collect2: ld returned 1 exit status</P>
<P>configure:3443: $? = 1</P>
<P>configure:3481: result:</P>
<P>configure: failed program was:</P>
<P>| /* confdefs.h. */</P></SPAN>&nbsp;</DIV>
<DIV>Please suggest a way out.</DIV>Subarna Thakur<BR>
<DIV>&nbsp;</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: bookman old style, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Gerrit Groenhof &lt;ggroenh@gwdg.de&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> gmx-users@gromacs.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Sat, 12 June, 2010 3:36:54 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: Subject: [gmx-users] error compiling mopac and gromacs<BR></FONT><BR><BR><BR>Depending on how your libmopac.a was biuld, you need the to include the f2c or g2c library as well.<BR><BR>Gerrit<BR><BR><BR><BR>&gt; Message: 5<BR>&gt; Date: Sat, 12 Jun 2010 14:33:02 +0530 (IST)<BR>&gt; From: subarna thakur &lt;<A href="mailto:thakur.subarna@yahoo.co.in" ymailto="mailto:thakur.subarna@yahoo.co.in">thakur.subarna@yahoo.co.in</A>&gt;<BR>&gt; Subject: [gmx-users] error compiling&nbsp; mopac and gromacs<BR>&gt; To: <A href="mailto:gmx-users@gromacs.org" ymailto="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</A><BR>&gt; Message-ID: &lt;<A
 href="mailto:371899.78968.qm@web95516.mail.in.yahoo.com" ymailto="mailto:371899.78968.qm@web95516.mail.in.yahoo.com">371899.78968.qm@web95516.mail.in.yahoo.com</A>&gt;<BR>&gt; Content-Type: text/plain; charset="iso-8859-1"<BR>&gt; <BR>&gt; Hi <BR>&gt; 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 for linking mopac and gromacs <BR>&gt; export LDFLAGS="-L/usr/local/lib&nbsp; -Wl,--wrap,__ctype_b"<BR>&gt; export CPPFLAGS="/usr/local/include -DUSE_MOPAC"<BR>&gt; export LIBS="lmopac<BR>&gt; <BR>&gt; then I have ran the ./configure --with-qmmm-mopac --disable-float.It seems to run ok.Then I used the make command but an error is comming as follows-<BR>&gt; /usr/local/lib/libmopac.a(lread.o)(.text+0x160): In function `e_rsle':<BR>&gt; : undefined reference to `__wrap___ctype_b'<BR>&gt;
 /usr/local/lib/libmopac.a(lread.o)(.text+0x21f): In function `e_rsle':<BR>&gt; : undefined reference to `__wrap___ctype_b'<BR>&gt; /usr/local/lib/libmopac.a(lread.o)(.text+0x296): In function `e_rsle':<BR>&gt; : undefined reference to `__wrap___ctype_b'<BR>&gt; /usr/local/lib/libmopac.a(lread.o)(.text+0x2d0): In function `e_rsle':<BR>&gt; : undefined reference to `__wrap___ctype_b'<BR>&gt; /usr/local/lib/libmopac.a(lread.o)(.text+0x8b2): In function `e_rsle':<BR>&gt; : undefined reference to `__wrap___ctype_b'<BR>&gt; /usr/local/lib/libmopac.a(lread.o)(.text+0xb05): more undefined references to `__wrap___ctype_b' follow<BR>&gt; collect2: ld returned 1 exit status<BR>&gt; make[3]: *** [grompp] Error 1<BR>&gt; make[3]: Leaving directory `/usr/gromacs-4.0.3/src/kernel'<BR>&gt; make[2]: *** [all-recursive] Error 1<BR>&gt; make[2]: Leaving directory `/usr/gromacs-4.0.3/src'<BR>&gt; make[1]: *** [all] Error 2<BR>&gt; make[1]: Leaving directory
 `/usr/gromacs-4.0.3/src'<BR>&gt; make: *** [all-recursive] Error 1<BR>&gt;&nbsp; <BR>&gt; Please suggest where I have gone wrong.<BR>&gt;&nbsp; Subarna Thakur<BR>&gt; <BR>&gt; <BR>&gt; -------------- next part --------------<BR>&gt; An HTML attachment was scrubbed...<BR>&gt; URL: <A href="http://lists.gromacs.org/pipermail/gmx-users/attachments/20100612/ed0e12b1/attachment.html" target=_blank>http://lists.gromacs.org/pipermail/gmx-users/attachments/20100612/ed0e12b1/attachment.html</A><BR>&gt; <BR>&gt; ------------------------------<BR>&gt; <BR>&gt; -- <BR>&gt; gmx-users mailing list<BR>&gt; <A href="mailto:gmx-users@gromacs.org" ymailto="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</A><BR>&gt; <A href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target=_blank>http://lists.gromacs.org/mailman/listinfo/gmx-users</A><BR>&gt; Please search the archive at <A href="http://www.gromacs.org/search" target=_blank>http://www.gromacs.org/search</A>
 before posting!<BR>&gt; <BR>&gt; End of gmx-users Digest, Vol 74, Issue 69<BR>&gt; *****************************************<BR><BR>--<BR>Gerrit Groenhof<BR>MPI biophysical chemistry<BR>Goettingen<BR>Germany<BR><A href="http://wwwuser.gwdg.de/~ggroenh/" target=_blank>http://wwwuser.gwdg.de/~ggroenh/</A><BR><BR>--<BR>gmx-users mailing list&nbsp; &nbsp; <A href="mailto:gmx-users@gromacs.org" ymailto="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</A><BR><A href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target=_blank>http://lists.gromacs.org/mailman/listinfo/gmx-users</A><BR>Please search the archive at <A href="http://www.gromacs.org/search" target=_blank>http://www.gromacs.org/search</A> before posting!<BR>Please don't post (un)subscribe requests to the list. Use the<BR>www interface or send it to <A href="mailto:gmx-users-request@gromacs.org" ymailto="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</A>.<BR>Can't
 post? Read <A href="http://www.gromacs.org/mailing_lists/users.php" target=_blank>http://www.gromacs.org/mailing_lists/users.php</A><BR></DIV></DIV></div><br></body></html>