[gmx-users] compilation problem with mopac in gromacs 3.3.3 and x86_64 machine

Nizamov Shawkat nizamov.shawkat at gmail.com
Tue Jul 8 14:02:28 CEST 2008


2008/7/8 Abu Naser <likhonnaser at hotmail.com>:

>
> Hi Gerrit,
>
> I am having problem  during compilation as :
>
> /mdlib/.libs/libmd_d.a(qm_mopac.o): In function `call_mopac_SH':
> qm_mopac.c:(.text+0x2fc): undefined reference to `domop_'
> ../mdlib/.libs/libmd_d.a(qm_mopac.o): In function `call_mopac':
> qm_mopac.c:(.text+0x831): undefined reference to `domop_'
> ../mdlib/.libs/libmd_d.a(qm_mopac.o): In function `init_mopac':
> qm_mopac.c:(.text+0xace): undefined reference to `domldt_'
> collect2: ld returned 1 exit status
>
> Can you please give a clue why this is happening?
>
> with regards,
> Abu
>
>
>
Just a guess - different compilers add different number of underscores
Use _explicit_ declaration of underscores count, compiler defaults may vary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20080708/0c5f40b6/attachment.html>


More information about the gromacs.org_gmx-users mailing list