chestergump 发表于 2003-9-14 03:09:12

请教一个编译失败的问题

前一段时间从solaris移值一个软件,按照说明书里面的提示编译的程序.但是出现下面的错误,望大家帮忙看看!
这个软件是需要先安装motif或者lesstif的,我下载了一个lesstif,但是安装的时侯提示和opentiff(我的redhat 9.0已经安装)冲突.
1.先是运行./configure
出现一堆check的消息,如下(一些提示found和yes的省约了,只列出了no的),不知道是不是因为缺少这些库文件或者是这些complier不是cross-complier的而没有编译成功?
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for g77... (cached) g77
checking whether the Fortran 77 compiler (g77 ) works... yes
checking whether the Fortran 77 compiler (g77 ) is a cross-compiler... no
checking whether we are using GNU Fortran 77... (cached) yes
checking whether g77 accepts -g... (cached) yes

checking for executable suffix... (cached) no
checking if zlib is wanted... no
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for opendir in -ldir... (cached) no
checking for tzfile.h... (cached) no
checking if asctime_r takes 3 args... (cached) no
checking if ctime_r takes 3 args... (cached) no
checking if altzone exists... (cached) no
checking if gettimeofday takes 1 args... (cached) no
checking return type of signal handlers... (cached) void
checking for nint... (cached) no
checking if data email address is specified... no
checking if operator email address is specified... no
checking if paramRootDir is specified... no
checking if segootDir is specified... no
checking if msgDir is specified... no
checking if geotoolPath is specified... no
creating ./config.status
creating Makefile
creating contrib/Makefile
creating contrib/include/Makefile
creating ACconfig.h
ACconfig.h is unchanged
2. make
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
make: Nothing to be done for `install-exec-am'.
make: Nothing to be done for `install-data-am'.
Making install in libseis
make: *** Error 1
make: *** Error 1
3.make install
make all-recursive
make: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5'
Making all in contrib
make: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib'
Making all in include
make: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include'
Making all in X11
make: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11'
Making all in Wc
make: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11/Wc'
make: Nothing to be done for `all'.
make: Leaving directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11/Wc'
Making all in Xmp
make: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11/Xmp'
make: Nothing to be done for `all'.
make: Leaving directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11/Xmp'
make: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11'
make: Nothing to be done for `all-am'.
make: Leaving directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11'
make: Leaving directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11'
Making all in idc2.1.0
make: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/idc2.1.0'
make: Nothing to be done for `all'.
make: Leaving directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/idc2.1.0'
make: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include'
make: Nothing to be done for `all-am'.
make: Leaving directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include'
make: Leaving directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include'
Making all in libseis
make: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/libseis'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../contrib/include/idc2.1.0 -I../../contrib/include/X11 -g -O2 -I/usr/X11R6/include -export-dynamic -c nmrd_reg.c
rm -f libseis.a
ar cru libseis.a nmrd_reg.o
ranlib libseis.a
tmutils.c:9:8: warning: extra tokens at end of #endif directive
In file included from tmutils.c:15:
../../contrib/include/css_general.h:54:8: warning: extra tokens at end of #endif directive
tmutils.c: In function `todaysdate':
tmutils.c:99: dereferencing pointer to incomplete type
tmutils.c:99: dereferencing pointer to incomplete type
make: *** Error 1
make: *** Error 1
make: *** Error 1
make: *** Error 2'
页: [1]
查看完整版本: 请教一个编译失败的问题