xxjjs 发表于 2005-3-11 11:07:39

HELP!! Skyeye 0.8.8 Linux下编译出错

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: *** Error 2
make: Leaving directory `/opt/skyeye/skyeye_insight/tcl/unix'
make: *** Error 2
make: Leaving directory `/opt/skyeye/skyeye_insight/tcl'
make: *** 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

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

kja57 发表于 2005-3-11 15:02:53

顶一下!我也是这里出错!

chyyuu 发表于 2005-3-11 17:42:44

看来是redhat9 用skyeye-0.8.8
fc3, newest debian 用 skyeye-0.8.8.5

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

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

zhangcy 发表于 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: Entering directory `/skyeye/skyeye/bfd/doc'
make: Nothing to be done for `all'.
make: Leaving directory `/skyeye/skyeye/bfd/doc'
Making all in po
make: 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: *** 错误 127
make: Leaving directory `/skyeye/skyeye/bfd/po'
make: *** 错误 1
make: Leaving directory `/skyeye/skyeye/bfd'
make: *** 错误 2
make: Leaving directory `/skyeye/skyeye/bfd'
make: *** 错误 2

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

xxjjs 发表于 2005-3-12 08:53:54

0.8.8还是不行啊

看来是redhat9 用skyeye-0.8.8
fc3, newest debian 用 skyeye-0.8.8.5

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

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

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

编译Skyeye 0.8.8 还是有错啊,make时候错误如下:
:
:
make: 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: *** [../unix/configure] Error 1
make: Leaving directory `/opt/skyeye/skyeye_insight/tcl/unix'
make: *** Error 2
make: Leaving directory `/opt/skyeye/skyeye_insight/tcl'
make: *** 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()
    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()
    187   LIBOBJS="$LIBOBJS strstr.o"
    188 fi
:
:

再次求教

yemm 发表于 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: tclsh:命令未找到
make: *** [../generic/tclStubInit.c] 错误 127
make: Leaving directory `/root/Desktop/skyeye/tcl/unix'
make: *** 错误 2
make: Leaving directory `/root/Desktop/skyeye/tcl'
make: *** 错误 2

shurawu 发表于 2005-3-24 19:46:10

这个没人解决吗????????????????????

liboyang_bj 发表于 2005-4-1 17:04:00

make: 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()
就没问题了。
但“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: *** Error 2
make: Leaving directory `/opt/skyeye/skyeye_insight/tcl/unix'
make: *** Error 2
make: Leaving directory `/opt/skyeye/skyeye_insight/tcl'
make: *** Error 2
错误我也没能找到解决方法
我的系统是fc3

kja57 发表于 2005-4-1 17:17:00

现在0.8.8.5在RH9和红旗4.0上都全部通过,使用正常,
页: [1]
查看完整版本: HELP!! Skyeye 0.8.8 Linux下编译出错