[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20030509: gemlib.a issue



Matt,

When using g77, you must include the compiler option
-fno-second-underscore

(see FOPT in $CONFIGDIR/Makeinc.linux)

Steve Chiswell
Unidata User Support




On Fri, 9 May 2003, Matthew J. Rosier wrote:

> I am trying to compile a fortran script that converts class soundings to
> gempak format. It calls the gemlib.a library and I get the following errors:
>
> [mjrosier@dhcp1-56-98 fortrantest]$ g77 -o class2gem class2gem.f
> /home/gempak/lib/linux/gemlib.a
> /tmp/ccjH87hj.o: In function `MAIN__':
> /tmp/ccjH87hj.o(.text+0x84): undefined reference to `sn_clos__'
> /tmp/ccjH87hj.o(.text+0x4fe): undefined reference to `in_bdta__'
> /tmp/ccjH87hj.o(.text+0x52e): undefined reference to `er_wmsg__'
> /tmp/ccjH87hj.o(.text+0x57f): undefined reference to `sn_opnf__'
> /tmp/ccjH87hj.o(.text+0x5e8): undefined reference to `sn_cref__'
> /tmp/ccjH87hj.o(.text+0x61a): undefined reference to `er_wmsg__'
> /tmp/ccjH87hj.o(.text+0x77c): undefined reference to `sn_atim__'
> /tmp/ccjH87hj.o(.text+0x7ae): undefined reference to `er_wmsg__'
> [...etc..]
>
> Do the newer GEMPAK libraries use different names? Any ideas?
>
> Thanks,
>
> Matt
>