On Wed, Jan 21, 2004, S. Frank Yan wrote:
>
> I've question regarding installation of Mopac5010mn. All modules are
> compiled OK, but it fails at the link step. The error message is:
>
> cc -o mopac5010mn m5010_mod.o m5010_unmod.o betsrp.o chgmp2.o mopac_main.o
> m5010_mdep_ws.o m5010_ef_ws.o second_linux.o date_linux.o fromblas.o
> second1.o dateclock.o -lm -lg2c
> ../sysdeps/i386/elf/start.S:77: undefined reference to `main'
This is just a guess, but if you compiled the individual routines with g77,
you probably should link with g77 as well. Try changing "cc" in the above
line to "g77".
...good luck...dac
--
==================================================================
David A. Case | e-mail: case.scripps.edu
Dept. of Molecular Biology, TPC15 | fax: +1-858-784-8896
The Scripps Research Institute | phone: +1-858-784-9768
10550 N. Torrey Pines Rd. | home page:
La Jolla CA 92037 USA | http://www.scripps.edu/case
==================================================================
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed Jan 21 2004 - 16:53:01 PST