skyeye安装过程错误
fedora core 4下安装skyeye步骤如下:
1.tar xjvf skyeye-0.9.8.tar.bz2
2.进入解压后的文件夹skyeye
如果版本大于0.6.0运行
./configure--target=arm-elf--prefix=/usr/local
3.make时有错误
cc1: 错误:unrecognized command line option "-fwritable-strings"
make: *** 错误 1
make: *** 错误 1
make: *** 错误 2
make: *** 错误 2
make: Entering directory `/home/skyeye/libiberty'
make: Entering directory `/home/skyeye/libiberty/testsuite'
make: Nothing to be done for `all'.
make: Leaving directory `/home/skyeye/libiberty/testsuite'
make: Leaving directory `/home/skyeye/libiberty'
make: Entering directory `/home/skyeye/intl'
make: Nothing to be done for `all'.
make: Leaving directory `/home/skyeye/intl'
make: Entering directory `/home/skyeye/bfd'
makeall-recursive
make: Entering directory `/home/skyeye/bfd'
Making all in doc
make: Entering directory `/home/skyeye/bfd/doc'
make: Nothing to be done for `all'.
make: Leaving directory `/home/skyeye/bfd/doc'
Making all in po
make: Entering directory `/home/skyeye/bfd/po'
make: Nothing to be done for `all'.
make: Leaving directory `/home/skyeye/bfd/po'
make: Entering directory `/home/skyeye/bfd'
make: Nothing to be done for `all-am'.
make: Leaving directory `/home/skyeye/bfd'
make: Leaving directory `/home/skyeye/bfd'
make: Leaving directory `/home/skyeye/bfd'
make: Entering directory `/home/skyeye/opcodes'
makeall-recursive
make: Entering directory `/home/skyeye/opcodes'
Making all in po
make: Entering directory `/home/skyeye/opcodes/po'
make: Nothing to be done for `all'.
make: Leaving directory `/home/skyeye/opcodes/po'
make: Entering directory `/home/skyeye/opcodes'
make: Nothing to be done for `all-am'.
make: Leaving directory `/home/skyeye/opcodes'
make: Leaving directory `/home/skyeye/opcodes'
make: Leaving directory `/home/skyeye/opcodes'
make: Entering directory `/home/skyeye/tcl'
make: Entering directory `/home/skyeye/tcl/unix'
make: Nothing to be done for `all'.
make: Leaving directory `/home/skyeye/tcl/unix'
make: Leaving directory `/home/skyeye/tcl'
make: Entering directory `/home/skyeye/tk'
make: Entering directory `/home/skyeye/tk/unix'
make: Nothing to be done for `all'.
make: Leaving directory `/home/skyeye/tk/unix'
make: Leaving directory `/home/skyeye/tk'
make: Entering directory `/home/skyeye/etc'
make: Nothing to be done for `all'.
make: Leaving directory `/home/skyeye/etc'
make: Entering directory `/home/skyeye/itcl'
for dir in itcl itk iwidgets3.0.0 ; do \
if test -d $dir ; then \
echo "$dir: make all" ;\
if (cd $dir; make all) ; then true ; else exit 1 ; fi ; \
else \
exit 1; \
fi \
done;
itcl: make all
make: Entering directory `/home/skyeye/itcl/itcl'
make: Nothing to be done for `all'.
make: Leaving directory `/home/skyeye/itcl/itcl'
itk: make all
make: Entering directory `/home/skyeye/itcl/itk'
make: Nothing to be done for `all'.
make: Leaving directory `/home/skyeye/itcl/itk'
iwidgets3.0.0: make all
make: Entering directory `/home/skyeye/itcl/iwidgets3.0.0'
make: Nothing to be done for `all'.
make: Leaving directory `/home/skyeye/itcl/iwidgets3.0.0'
make: Leaving directory `/home/skyeye/itcl'
make: Entering directory `/home/skyeye/libgui'
makeall-recursive
make: Entering directory `/home/skyeye/libgui'
Making all in library
make: Entering directory `/home/skyeye/libgui/library'
make: Nothing to be done for `all'.
make: Leaving directory `/home/skyeye/libgui/library'
Making all in src
make: Entering directory `/home/skyeye/libgui/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -fwritable-strings -I/home/skyeye/tcl/generic -I/home/skyeye/tk/generic -I/usr/X11R6/include -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-DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -DSTATIC_BUILD=1-I/home/skyeye/tk/generic/../unix -I/home/skyeye/tk/generic/../win -DTBL_VERSION=\"2.7\" -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/usr/local/share/redhat/gui\" -DSTATIC_BUILD -g -O2 -c paths.c
make: Leaving directory `/home/skyeye/libgui/src'
make: Leaving directory `/home/skyeye/libgui'
make: Leaving directory `/home/skyeye/libgui'
1.如何改正,继续安装
2.我想模拟2410,然后minigui,现在skyeye能实现吗,谢
3.如果不能minigui,在虚拟2410下,支持什么gui 软件呢,谢
4.还有,skyeye的q q 群
5.如何卸载skyeye,如果安装错了,想重新来过,谢,急 2. 可以实现
5。直接重新安装就可以了,skyeye实际上只有一个可执行文件安装在 /usr/local/bin下面
我也是初学,希望能帮上你的忙
1.这个是因为你使用的编译器是 gcc 4.0 的缘故。把所有 Makefile 中的-fwritable-strings 选项删除就可以了。
进入 skyeye 目录然后执行下面的命令就可以完成这个工作。
echo 'sed "s/-fwritable-strings//g" $1 > /tmp/holy-temp && mv holy-temp $1' > /tmp/rename
chmod +x /tmp/rename
find . -type f -name Makefile | xargs -l1 /tmp/rename
rm -f /tmp/rename
另外,我还发现当使用 gcc4.0 编译时,调用 obstack_ptr_grow 宏的地方都会出这种错
error: invalid lvalue in increment
这是由于 Skyeye-0.98 使用的 obstack.h 中 obstack_ptr_grow 的实现把cast 过的表达式直接作为“++”的操作数造成的。我把 include/obstack.h 替换成 libc6-dev-2.3.5 中的 obstack.h 就好了。
希望这个问题能引起 Skyeye 开发者的重视。因为越来越多的 GNU/Linux 发行版开始把 gcc-4.0 作为缺省的 gcc 了,所以以后碰到这个问题的朋友会越来越多。 ./configure
find . -type f -name Makefile -exec sed -i 's/-fwritable-strings//g' {} \;
cp /usr/include/obstack.h include
make
make install
by
asus sbhnet 用skyeye-v1-RC4试试.
页:
[1]