Looks like you are trying to build an inboard module. You can either download and build the netcdf library from
http://www.unidata.ucar.edu/packages/netcdf/ or you can try an outboard or run-time loadable module which will not require the library. I would recommend a run-time loadable module. Jeff On Fri, 8 Sep 2000, Ching-Nien Chen wrote: > > I have problem with module building when I tried the example > in /usr/local/dx/dxsamples/program_guide to build Add. > Following is the error message. I don't know what file > (/usr/bin/ld -lnetcdf) it is referring to. I do have > /usr/local/dx/bin_linux/dxexec in the opendx-4.1.0 rpm. > I am using Redhat 6.0. > > error message: > > [dx]# dx -builder > /usr/local/dx/bin/mdf2c add.mdf > useradd.c > cc -c -D_GNU_SOURCE -Dlinux -I./ -I/usr/local/dx/include useradd.c > cc -c -D_GNU_SOURCE -Dlinux -I./ -I/usr/local/dx/include add.c > add.c: In function `doLeaf': > add.c:367: warning: assignment makes integer from pointer without a cast > add.c:443: warning: assignment makes integer from pointer without a cast > cc -L/usr/local/dx/lib_linux useradd.o add.o -lDX -lGL -lnsl -lMagick > -lnetcdf > -lcdf -ldf -ltiff -ljpeg -lpng -lbz2 -lz -ldl -lm -lSM -lICE -lXm -lXext -lXt > -lX11 -L/usr/X11R6/lib -o dxexec > /usr/bin/ld: cannot open -lnetcdf: No such file or directory > collect2: ld returned 1 exit status > make: *** [dxexec] Error 1 > > > > --------------------- > thanks. > > 9/8/2000 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Ching-nien Chen, Ph.D. > BEPS/ORS 13/3N-17 > National Institutes of Health > Bethesda, MD 20892-5766 > 301-402-2955 (tel & fax) > [EMAIL PROTECTED] > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ---------------------------------------------------------------------- Jeff Braun Geophysics Dept. mailto: [EMAIL PROTECTED] Montana Tech (406) 496-4206 1300 W. Park St. Butte, MT 59701
