QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1495|回复: 4

skyeye安装过程错误

[复制链接]
发表于 2005-8-20 16:09:38 | 显示全部楼层 |阅读模式
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[3]: *** [paths.o] 错误 1
make[2]: *** [all-recursive] 错误 1
make[1]: *** [all-recursive-am] 错误 2
make: *** [all-libgui] 错误 2

make[1]: Entering directory `/home/skyeye/libiberty'
make[2]: Entering directory `/home/skyeye/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/skyeye/libiberty/testsuite'
make[1]: Leaving directory `/home/skyeye/libiberty'
make[1]: Entering directory `/home/skyeye/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/skyeye/intl'
make[1]: Entering directory `/home/skyeye/bfd'
make  all-recursive
make[2]: Entering directory `/home/skyeye/bfd'
Making all in doc
make[3]: Entering directory `/home/skyeye/bfd/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/skyeye/bfd/doc'
Making all in po
make[3]: Entering directory `/home/skyeye/bfd/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/skyeye/bfd/po'
make[3]: Entering directory `/home/skyeye/bfd'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/skyeye/bfd'
make[2]: Leaving directory `/home/skyeye/bfd'
make[1]: Leaving directory `/home/skyeye/bfd'
make[1]: Entering directory `/home/skyeye/opcodes'
make  all-recursive
make[2]: Entering directory `/home/skyeye/opcodes'
Making all in po
make[3]: Entering directory `/home/skyeye/opcodes/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/skyeye/opcodes/po'
make[3]: Entering directory `/home/skyeye/opcodes'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/skyeye/opcodes'
make[2]: Leaving directory `/home/skyeye/opcodes'
make[1]: Leaving directory `/home/skyeye/opcodes'
make[1]: Entering directory `/home/skyeye/tcl'
make[2]: Entering directory `/home/skyeye/tcl/unix'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/skyeye/tcl/unix'
make[1]: Leaving directory `/home/skyeye/tcl'
make[1]: Entering directory `/home/skyeye/tk'
make[2]: Entering directory `/home/skyeye/tk/unix'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/skyeye/tk/unix'
make[1]: Leaving directory `/home/skyeye/tk'
make[1]: Entering directory `/home/skyeye/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/skyeye/etc'
make[1]: 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[2]: Entering directory `/home/skyeye/itcl/itcl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/skyeye/itcl/itcl'
itk: make all
make[2]: Entering directory `/home/skyeye/itcl/itk'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/skyeye/itcl/itk'
iwidgets3.0.0: make all
make[2]: Entering directory `/home/skyeye/itcl/iwidgets3.0.0'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/skyeye/itcl/iwidgets3.0.0'
make[1]: Leaving directory `/home/skyeye/itcl'
make[1]: Entering directory `/home/skyeye/libgui'
make  all-recursive
make[2]: Entering directory `/home/skyeye/libgui'
Making all in library
make[3]: Entering directory `/home/skyeye/libgui/library'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/skyeye/libgui/library'
Making all in src
make[3]: 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[3]: Leaving directory `/home/skyeye/libgui/src'
make[2]: Leaving directory `/home/skyeye/libgui'
make[1]: Leaving directory `/home/skyeye/libgui'

1.如何改正,继续安装
2.我想模拟2410,然后minigui,现在skyeye能实现吗,谢
3.如果不能minigui,在虚拟2410下,支持什么gui 软件呢,谢
4.还有,skyeye的q q 群
5.如何卸载skyeye,如果安装错了,想重新来过,谢,急
发表于 2005-8-21 15:46:20 | 显示全部楼层
2. 可以实现
5。直接重新安装就可以了,skyeye实际上只有一个可执行文件安装在 /usr/local/bin下面
回复

使用道具 举报

发表于 2005-9-1 23:48:19 | 显示全部楼层

我也是初学,希望能帮上你的忙

1.这个是因为你使用的编译器是 gcc 4.0 的缘故。把所有 Makefile 中的
-fwritable-strings 选项删除就可以了。
进入 skyeye 目录然后执行下面的命令就可以完成这个工作。
[code:1]
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
[/code:1]

另外,我还发现当使用 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 了,所以以后碰到这个问题的朋友会越来越多。
回复

使用道具 举报

发表于 2005-9-10 14:23:20 | 显示全部楼层
./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
回复

使用道具 举报

发表于 2005-9-15 10:22:39 | 显示全部楼层
用skyeye-v1-RC4试试.
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-5 02:14 , Processed in 0.049734 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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