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

Re: 20030630: Can't compile GEMPAK 5.6j on RH Linux 7.2



That should read:

Try adding to the top of dcdira.c:
#include "geminc.h"
#include "gemprm.h"

Steve Chiswell

On Mon, 30 Jun 2003, Steve Chiswell wrote:

> Robert,
>
> Try adding to the top of dcdira.c:
> #include "geminc.h"
>
> Then rebuilding in $GEMPAK/source/bridge/dc.
>
> The geminc.h file will include uscore.h, which provides the
> C from Fortran interface names, and will define dc_dira to dc_dira_
>
> Steve Chiswell
>
>
>
>
>
>
> On Mon, 30 Jun 2003, Robert Mullenax wrote:
>
> > I am trying to compile GEMPAK 5.6j on RH Linux 7.2 (gcc 2.96).  I keep
> > coming up with several undefined references
> > errors, for example:
> >
> > /home/nawips/GEMPAK5.6j/lib/linux/bridge.a(dcfcyl.o): In function
> > `dc_fcyl_':
> > dcfcyl.o(.text+0x1a2): undefined reference to `dc_dira_'
> > collect2: ld returned 1 exit status
> > make[5]: *** [dchrcn] Error 1
> >
> > dft dcidft.o /home/nawips/GEMPAK5.6j/lib/linux/bridge.a
> > /home/nawips/GEMPAK5.6j/lib/linux/gemlib.a
> > /home/nawips/GEMPAK5.6j/lib/linux/cgemlib.a
> > dcidft.o: In function `main':
> > dcidft.o(.text+0x188): undefined reference to `si_dcod'
> > collect2: ld returned 1 exit status
> > make[5]: *** [dcidft] Error 1
> >
> > I am not doing anything weird..I am using the bone stock Makeinc.linux.   We
> > have just made a few code changes..but it didn't work before the code
> > changes either.
> > The working build of 5.6f, built fine.
> > Any ideas?  I am about to pull my hair out here.
> > Thanks,
> > Robert Mullenax
> >
> >
> >
> >
> >
> >
> >
> >
> > Robert Mullenax
> > Weather Systems Administrator
> > Universal Weather and Aviation
> >
>