ncargcc compiling problem

From: Ha Minh Vu (hvu@XXXXXX)
Date: Tue Apr 04 2000 - 16:09:11 MDT


Hi Mary,
As we've talked today, attached are the messages I reveived when compiling
F and C examples. F example works Ok, but not C.
Please advice.
Thanks for your help
HaVu,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

lana% ncargex example

NCAR Graphics Fortran Example <example>

  Copying example.f

Compiling and linking...
f77 -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
example.f:
 MAIN exmple:

Executing <example>...

Metafile file is named example.ncgm.

=============================================================================

lana% ncargex c_agex07

NCAR Graphics C Example <c_agex07>

  Copying c_agex07.c

Compiling and linking...
cc -DSYSV -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ -DNeedFuncProto -Xc -O
 -o c_agex07 c_agex07.c -L/usr/local/ncarg/lib -L/usr/openwin/lib -L/usr/dt/lib -I/usr/local
/ncarg/include -lncarg -lncarg_gks -lncarg_c -lF77 -lM77 -lnsl -lsunmath -lm -lX11 -lXext
ucbcc: Warning: "-Xc" redefines compatibility mode from "SunC transition" to "strict ANSI"
ld: fatal: library -lF77: not found
ld: fatal: library -lM77: not found
ld: fatal: File processing errors. No output written to c_agex07

The compile and link failed.

=============================================================================



This archive was generated by hypermail 2b29 : Wed Jun 28 2000 - 09:45:45 MDT