a new user's question

From: Xianghui Xue <xhxue_at_nyahnyahspammersnyahnyah>
Date: Thu, 16 Jul 2009 13:11:40 +0800

Hi, sorry for troubling you!

    I am a new user of NCL. I try to install ncl_ncarg-5.1.1 on Ubuntu 7.10
 according to the install direction of NCL. Before install NCL, I
installed the needed software and lib such as JPEG, Zlib, netcdf-4 (with
HDF5), and when I installed the HDF-4.0 (ver 4.2r4), problem started:

when typing:
-------------------------------------------------------------------------------------------------
./configure --prefix=/usr/local --with-zlib=/usr/local \
             --with-jpeg=/usr/local --includedir=/usr/local/include/hdf \
             --disable-netcdf
        make all install
--------------------------------------------------------------------------------------------------
and the result is :
.......
libtool: link: gcc -O3 -fomit-frame-pointer -o ncgen close.o escapes.o
generate.o genlib.o getfill.o init.o load.o main.o ncgentab.o
-L/usr/local/lib ../libsrc/.libs/libmfhdf.a ../../hdf/src/.libs/libdf.a
/usr/local/lib/libjpeg.so -lz -lm
ncgentab.o: In function `main':
ncgentab.c:(.text+0x0): multiple definition of `main'
main.o:main.c:(.text+0x30): first defined here
main.o: In function `main':
main.c:(.text+0x55): undefined reference to `yyin'
main.c:(.text+0x7d): undefined reference to `yyout'
main.c:(.text+0x1a9): undefined reference to `yyin'
ncgentab.o: In function `yyparse':
ncgentab.c:(.text+0x580): undefined reference to `yylex'
collect2: ld returned 1 exit status
make[2]: *** [ncgen] error 1
make[2]:Now leaving dir `/mnt/hgfs/NCAR/Linux/HDF4.2r4/mfhdf/ncgen'
make[1]: *** [all-recursive] error 1
make[1]:Now leaving dir `/mnt/hgfs/NCAR/Linux/HDF4.2r4/mfhdf'
make: *** [all-recursive] error 1
-----------------------------------------------------------------------------------------------------

I have installed the m4, flex and bison, I don't know how to figure it
out!

Can you give me some advice?

Best wishes
---------------------------------------------------
Xianghui XUE

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jul 15 2009 - 23:11:40 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 17 2009 - 15:27:02 MDT