[gmx-users] error in linking mopac and gromacs

subarna thakur thakur.subarna at yahoo.co.in
Fri Jun 18 07:24:35 CEST 2010

According to the suggestion I have installed the f2c package in my machine.I am unable to find the g2c package. I have included the f2c library by - export LIBS="-lmopac -lf2c". But when I running  ./configure --with-qmmm-mopac --disable-float , an error is comming C compiler cannot create executable. The config.log file shows the following section- 
onfigure:3413: checking for C compiler default output file name
configure:3440: cc -I/usr/local/include -DUSE_MOPAC -L/usr/local/lib conftest.c -lmopac -lf2c >&5
/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libf2c.so: undefined reference to `MAIN__'
collect2: ld returned 1 exit status
configure:3443: $? = 1
configure:3481: result:
configure: failed program was:
| /* confdefs.h. */ 
Please suggest a way out.Subarna Thakur

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20100618/2dc99ede/attachment.html>

More information about the gromacs.org_gmx-users mailing list