QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2920|回复: 8

HELP!! Skyeye 0.8.8 Linux下编译出错

[复制链接]
发表于 2005-3-11 11:07:39 | 显示全部楼层 |阅读模式
OS: RedHat Linux 9.0
Kernel: 2.4.20
gcc: 3.2.2
Skyeye: 0.8.8.5

解包skyeye后,执行./configure  --target=arm-elf --prefix=/usr/local/skyeye-insight
结果正常
执行make出错,报告configure中文件非正常结束,错误信息如下:
:
:
:
checking vfork/signal bug... ok
checking for strncasecmp... (cached) yes
checking for BSDgettimeofday... (cached) no
./configure: line 12725: syntax error: unexpected end of file
make[2]: *** [config.status] Error 2
make[2]: Leaving directory `/opt/skyeye/skyeye_insight/tcl/unix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/skyeye/skyeye_insight/tcl'
make: *** [all-tcl] Error 2

其中,打开/opt/skyeye/skyeye_insight/tcl/unix下的configure看,文件结尾如下:
:
:
  12712 # appended to by config.status.  When coming back to configure, we
  12713 # need to make the FD available again.
  12714 if test "$no_create" != yes; then
  12715   ac_cs_success=:
  12716   ac_config_status_args=
  12717   test "$silent" = yes &&
  12718     ac_config_status_args="$ac_config_status_args --quiet"
  12719   exec 5>/dev/null
  12720   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  12721   exec 5>>config.log
  12722   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  12723   # would make configure fail if this is the last instruction.
  12724   $ac_cs_success || { (exit 1); exit 1; }
  12725 fi
  12726

不知什么问题,请大虾指教一二,多谢先

发表于 2005-3-11 15:02:53 | 显示全部楼层
顶一下!我也是这里出错!
回复

使用道具 举报

发表于 2005-3-11 17:42:44 | 显示全部楼层
看来是redhat9 用  skyeye-0.8.8
fc3, newest debian 用 skyeye-0.8.8.5

问题出在autoconf等软件的版本上。

我们还没有很好地整合。
sorry,
请先将就一下,我们尽快处理。
回复

使用道具 举报

发表于 2005-3-11 21:58:05 | 显示全部楼层
OS: debian
Kernel:  2.6.8-1-386
gcc:  3.3.5
Skyeye: 0.8.8.5

解包skyeye后,执行 ./configure --target=arm-elf --prefix=/usr/local
结果正常
执行make出错,错误信息如下:

make[3]: Entering directory `/skyeye/skyeye/bfd/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/skyeye/skyeye/bfd/doc'
Making all in po
make[3]: Entering directory `/skyeye/skyeye/bfd/po'
file=./`echo fr | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH no -o $file fr.po
/bin/sh: line 1: no: command not found
make[3]: *** [fr.gmo] 错误 127
make[3]: Leaving directory `/skyeye/skyeye/bfd/po'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/skyeye/skyeye/bfd'
make[1]: *** [all-recursive-am] 错误 2
make[1]: Leaving directory `/skyeye/skyeye/bfd'
make: *** [all-bfd] 错误 2

我下一步应如何,请指教,谢谢!
回复

使用道具 举报

 楼主| 发表于 2005-3-12 08:53:54 | 显示全部楼层

0.8.8还是不行啊

[quote:1592c62eec="chyyuu"]看来是redhat9 用  skyeye-0.8.8
fc3, newest debian 用 skyeye-0.8.8.5

问题出在autoconf等软件的版本上。

我们还没有很好地整合。
sorry,
请先将就一下,我们尽快处理。[/quote]

OS: RedHat 9.0
Kernel : 2.4.20-8
gcc : 3.2.2

编译Skyeye 0.8.8 还是有错啊,make时候错误如下:
:
:
make[2]: Entering directory `/opt/skyeye/skyeye_insight/tcl/unix'
autoconf ./../unix/configure.in > ./../unix/configure
../unix/configure.in:187: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
make[2]: *** [../unix/configure] Error 1
make[2]: Leaving directory `/opt/skyeye/skyeye_insight/tcl/unix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/skyeye/skyeye_insight/tcl'
make: *** [all-tcl] Error 2

其中configure.in内容如下:
:
:
    170 #--------------------------------------------------------------------
    171 #       On some systems strstr is broken: it returns a pointer even
    172 #       even if the original string is empty.
    173 #--------------------------------------------------------------------
    174
    175 AC_MSG_CHECKING([proper strstr implementation])
    176 AC_TRY_RUN([
    177 extern int strstr();
    178 int main()
    179 {
    180     exit(strstr("\0test", "test") ? 1 : 0);
    181 }
    182 ], tcl_ok=yes, tcl_ok=no, tcl_ok=no)
    183 if test $tcl_ok = yes; then
    184     AC_MSG_RESULT(yes)
    185 else
    186     AC_MSG_RESULT([broken, using substitute])
    187     LIBOBJS="$LIBOBJS strstr.o"
    188 fi
:
:

再次求教
回复

使用道具 举报

发表于 2005-3-16 23:00:16 | 显示全部楼层
我的
redhat AS4
kernel 2.6.9el
gcc 3.4.3
Skyeye 0.8.8.5
CC=gcc CFLAGS=-O2 ./configure --target=arm-elf --prefix=/usr/local

gcc -c -O2 -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -Wall -Wconversion -Wno-implicit-int -fPIC -I./../generic -I. -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_TIMEZONE_DECL=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DSTATIC_BUILD=1         -DTCL_SHLIB_EXT=\".so\" ./../generic/tclThread.c
tclsh ./../tools/genStubs.tcl ./../generic \
        ./../generic/tcl.decls ./../generic/tclInt.decls
make[2]: tclsh:命令未找到
make[2]: *** [../generic/tclStubInit.c] 错误 127
make[2]: Leaving directory `/root/Desktop/skyeye/tcl/unix'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/root/Desktop/skyeye/tcl'
make: *** [all-tcl] 错误 2
回复

使用道具 举报

发表于 2005-3-24 19:46:10 | 显示全部楼层
这个没人解决吗????????????????????
回复

使用道具 举报

发表于 2005-4-1 17:04:00 | 显示全部楼层
make[2]: Entering directory `/opt/skyeye/skyeye_insight/tcl/unix'
autoconf ./../unix/configure.in > ./../unix/configure
../unix/configure.in:187: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
这种错误可以解决,方法如下:
出错的地方都是用的“LIBOBJS”,例如:LIBOBJS="$LIBOBJS strstr.o"
将这句话改成
AC_LIBOBJ([strstr])
就没问题了。
但“xxjjs”说的
checking vfork/signal bug... ok
checking for strncasecmp... (cached) yes
checking for BSDgettimeofday... (cached) no
./configure: line 12725: syntax error: unexpected end of file
make[2]: *** [config.status] Error 2
make[2]: Leaving directory `/opt/skyeye/skyeye_insight/tcl/unix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/skyeye/skyeye_insight/tcl'
make: *** [all-tcl] Error 2
错误我也没能找到解决方法
我的系统是fc3
回复

使用道具 举报

发表于 2005-4-1 17:17:00 | 显示全部楼层
现在0.8.8.5在RH9和红旗4.0上都全部通过,使用正常,
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-6-4 20:19 , Processed in 0.120398 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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