I am trying to compile some Fortran code, but I got the following error:
$g77 -o uneqm UNEQM.FOR
/tmp/ccovHZ8m.o(.text+0x60d): In function `MAIN__': : undefined reference to `uneq_' /tmp/ccovHZ8m.o(.text+0x690): In function `MAIN__': : undefined reference to `dfault_' /tmp/ccovHZ8m.o(.text+0x722): In function `MAIN__': : undefined reference to `uneq_' /tmp/ccovHZ8m.o(.text+0x739): In function `MAIN__': : undefined reference to `optif_' /tmp/ccovHZ8m.o(.text+0xa11): In function `MAIN__': : undefined reference to `cspec_' collect2: ld returned 1 exit status
There are some routines (with names UNEQ, DFAULT, OPTIF, CSPEC) that are not included in UNEQM.FOR, but used by it. Try to locate the source for them and compile it in combination wiht UNEQM.FOR.
Hope this helps,
-- Toon Moene - mailto:toon@xxxxxxxxxxxxxxxxxxxx - phoneto: +31 346 214290 Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html GNU Fortran 95: http://gcc-g95.sourceforge.net/ (under construction)