[ncl-install] Compilation issues with NCL
KIRAN PRANEETH
kiranpraneeth at gmail.com
Wed Sep 17 22:38:20 MDT 2008
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'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20080918/e0078976/attachment.html
More information about the ncl-install
mailing list