代码: 全选
make[2]: 正在进入目录 `/mnt/hgfs/NCAR/Linux/HDF4.2r4/mfhdf/ncgen'
/bin/bash ../../libtool --tag=CC --mode=link gcc -O3 -fomit-frame-pointer -L/usr/local/lib -L/usr/local/lib -o ncgen close.o escapes.o generate.o genlib.o getfill.o init.o load.o main.o ncgentab.o ../libsrc/libmfhdf.la ../../hdf/src/libdf.la -ljpeg -lz -lm
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] 错误 1
make[2]:正在离开目录 `/mnt/hgfs/NCAR/Linux/HDF4.2r4/mfhdf/ncgen'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/mnt/hgfs/NCAR/Linux/HDF4.2r4/mfhdf'
make: *** [all-recursive] 错误 1