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]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to