Compilation issues with NCL

From: KIRAN PRANEETH <kiranpraneeth_at_nyahnyahspammersnyahnyah>
Date: Thu, 18 Sep 2008 10:08:20 +0530

It is working fine when I disable static librararies. Please let me know
your ideas

gcc -ansi -O -I.././include -I/usr/openwin/include -I/usr/dt/include
-I/usr/local/hdf/include -I/usr/local/netcdf-4.0/include
-I/usr/local/udunits-1.12.9/include -I/usr/local/include -I/usr/include
-DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -Di386
-DNeedFuncProto -c ymake-filter.c
gcc -ansi -O -o ymake-filter ymake-filter.o -L/usr/local/ncarg/lib
-L/usr/openwin/lib -L/usr/dt/lib -L/usr/local/hdf/lib
-L/usr/local/netcdf-4.0/lib -L/usr/local/udunits-1.12.9/lib -L/usr/local/lib
-L/usr/lib -Wl,-Bdynamic -lnsl -lintl -lsocket -ldl -lw -Wl,-Bstatic
ld: fatal: library -lc: not found
ld: fatal: File processing errors. No output written to ymake-filter
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `ymake-filter'
Current working directory /u/gaminik/ncl_ncarg-5.0.0/config
*** Error code 1
The following command caused the error:
for dir in config common ncarg2d ngmath ncarview ; do \
if (test -d $dir) then \
(cd $dir; echo "Making ./$dir";\
make );sleep 1;\
else echo "NOT Making ./$dir"; fi \
done
make: Fatal error: Command failed for target `makesubdirs'
Current working directory /u/gaminik/ncl_ncarg-5.0.0
*** Error code 1
The following command caused the error:
make all
make: Fatal error: Command failed for target `Everything'

_______________________________________________
ncl-install mailing list
ncl-install_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Wed Sep 17 2008 - 22:38:20 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 01 2008 - 09:49:35 MDT