liboyang_bj 发表于 2005-3-31 10:58:02

skyeye_insight在redhat as4上编译出错

redhat as4
./configure --target=arm-elf --prefix=/usr/local
无异常
make报错如下:

if [ -f $libtooldir/libopcodes.a ]; then \
cp $libtooldir/libopcodes.a libopcodes.tmp; \
ranlib libopcodes.tmp; \
/bin/sh ./../move-if-change libopcodes.tmp libopcodes.a; \
else true; fi
touch stamp-lib
make: Leaving directory `/home/lby/src/skyeye_insight/opcodes'
make: Leaving directory `/home/lby/src/skyeye_insight/opcodes'
make: Leaving directory `/home/lby/src/skyeye_insight/opcodes'
make: Entering directory `/home/lby/src/skyeye_insight/tcl'
make: Entering directory `/home/lby/src/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 `/home/lby/src/skyeye_insight/tcl/unix'
make: *** Error 2
make: Leaving directory `/home/lby/src/skyeye_insight/tcl'
make: *** Error 2

请问为啥?
谢谢!

liboyang_bj 发表于 2005-3-31 11:40:53

问题解决了,查了资料:

然后将../tcl/unix/configure.in的187行:
#LIBOBJS="$LIBOBJS strstr.o"
更改为
AC_LIBOBJ()

通过了。

liboyang_bj 发表于 2005-3-31 11:41:24

相关说明如下:
http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf_165.html
页: [1]
查看完整版本: skyeye_insight在redhat as4上编译出错