On Mon, Feb 04, 2002 at 10:27:24AM -0600, Patrick O'Reilly wrote:
> Hi,
>
> I have installed NCAR Graphics 4.2.1 on a Sun running Solaris 8. I have the g77 and gcc compilers. After installing the binaries for Solaris, which I found in the email archive should work, I try to run ncargex example and get the following:
>
>
> [weather@cirrus]#ncargex example
>
> NCAR Graphics Fortran Example <example>
>
> Copying example.f
>
> Compiling and linking...
> g77 -O -o example example.f -L/usr/local/ncarg/lib -L/usr/openwin/lib -L/usr/dt/lib -lncarg -lncarg_gks -
> lncarg_c -lX11 -lXext
> Undefined first referenced
> symbol in file
> __e_wsle /usr/local/ncarg/lib/libncarg_gks.a(g01seg.o)
> __exp10 /usr/local/ncarg/lib/libncarg.a(agnumb.o)
> __s_stop /usr/local/ncarg/lib/libncarg.a(seter.o)
> __do_f_out_nv /usr/local/ncarg/lib/libncarg.a(seter.o)
> The compile and link failed.
>
> Does anyone know what may be causing this? I didn't build from source, should I do this instead of using the binaries for Solaris 2.7 on a Solaris 2.8 machine? Any help would be appreciated.
>
Dear Patrick,
The missing symbols are in the Sun f77 library. If you don't have that
compiler, you won't have its libraries. You will have better luck
compiling from source with the compiler you will be using.
Kate
-- Kate Hedström Arctic Region Supercomputing Center kate@arsc.edu University of Alaska, Fairbanks
This archive was generated by hypermail 2b29 : Mon Feb 04 2002 - 19:50:38 MST