QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 471|回复: 0

请教一个编译失败的问题

[复制链接]
发表于 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[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in libseis
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
3.make install
make all-recursive
make[1]: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5'
Making all in contrib
make[2]: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib'
Making all in include
make[3]: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include'
Making all in X11
make[4]: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11'
Making all in Wc
make[5]: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11/Wc'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11/Wc'
Making all in Xmp
make[5]: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11/Xmp'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11/Xmp'
make[5]: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11'
make[4]: Leaving directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/X11'
Making all in idc2.1.0
make[4]: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/idc2.1.0'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include/idc2.1.0'
make[4]: Entering directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include'
make[3]: Leaving directory `/home/lcx/geotool/geotool-complete-3.9.5/contrib/include'
Making all in libseis
make[3]: 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[3]: *** [tmutils.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2'
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-6 03:15 , Processed in 0.068672 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表