QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1567|回复: 10

为什么我编译UCLINU有错误呢

[复制链接]
发表于 2005-1-10 09:57:01 | 显示全部楼层 |阅读模式
换了两个版本都不行
20020927和20040408的
make xconfig
出现
make:wish:command not found
make:***[xconfig]ERROR 127
用make menuconfig
也不行
交叉编译器也装上了呀
发表于 2005-1-10 11:07:47 | 显示全部楼层
你的系统中没有安装wish,所以无法进行图形化内核配置,跟你使用uClinux的哪个版本没有关系,你可以使用make menuconfig
回复

使用道具 举报

 楼主| 发表于 2005-1-10 15:55:38 | 显示全部楼层
wish 是什么?
make menuconfig
也出错的,我得系统是LINUX ES3
回复

使用道具 举报

发表于 2005-1-10 18:53:51 | 显示全部楼层
Wish is a simple program consisting of the Tcl command language, the Tk toolkit, and the main program that reads commands from standard input or from a file. It creates a main window and then processes Tcl commands.

能贴一下make menuconfig时的错误提示信息吗?

实在不行就试一最土的make config吧
回复

使用道具 举报

 楼主| 发表于 2005-1-10 19:14:17 | 显示全部楼层
等下,我换LINUX上来,贴出来
回复

使用道具 举报

 楼主| 发表于 2005-1-10 19:22:02 | 显示全部楼层
dialog.h:130: warning: array `attributes' assumed to have one element
make[1]: *** [checklist.o] Error 1
make[1]: Leaving directory `/opt/skyeye-cdrom/uClinux/uClinux-dist/config/scripts/lxdialog'
make: *** [menuconfig] Error 2
回复

使用道具 举报

 楼主| 发表于 2005-1-10 19:24:22 | 显示全部楼层
用make config出现如下东东怎么理解呢
# make config
config/mkconfig > config.in
#
# No defaults found
#
*
* Vendor/Product Selection
*
*
* Select the Vendor you wish to target
*
Vendor (3com, ADI, Arcturus, Arnewsh, Atmel, Avnet, Conexant, Cwlinux, Cytek, Exys, Feith, Future, GDB, Hitachi, Imt, Insight, Intel, KendinMicrel, LEOX, Mecel, Midas, Motorola, NEC, Netburner, NetSilicon, Nintendo, OPENcores, Promise, Samsung, SecureEdge, senTec, SnapGear, Soekris, SSV, SWARM, TeleIP, Triscend, Via, Weiss, Xilinx) [SnapGear] (NEW)
回复

使用道具 举报

发表于 2005-1-10 20:14:15 | 显示全部楼层
按照提示,一步一步,就像做选择题
Select the Vendor you wish to target


贴一下全部的make menuconfig的提示信息吧
回复

使用道具 举报

发表于 2005-1-10 20:15:39 | 显示全部楼层
按照提示,一步一步,就像做选择题
Select the Vendor you wish to target


贴一下全部的make menuconfig的提示信息吧
回复

使用道具 举报

 楼主| 发表于 2005-1-10 20:43:17 | 显示全部楼层
/bin/sh: line 1: arm-linux-gcc: command not found
/bin/sh: line 1: arm-linux-gcc: command not found
/bin/sh: line 1: arm-linux-gcc: command not found
make -C /opt/skyeye-cdrom/uClinux/uClinux-dist/config/scripts tkparse
/bin/sh: line 1: arm-linux-gcc: command not found
/bin/sh: line 1: arm-linux-gcc: command not found
/bin/sh: line 1: arm-linux-gcc: command not found
make[1]: Entering directory `/opt/skyeye-cdrom/uClinux/uClinux-dist/config/scripts'
make[1]: `tkparse' is up to date.
make[1]: Leaving directory `/opt/skyeye-cdrom/uClinux/uClinux-dist/config/scripts'
ARCH=dummy /opt/skyeye-cdrom/uClinux/uClinux-dist/config/scripts/tkparse < config.in > config.tmp
cat /opt/skyeye-cdrom/uClinux/uClinux-dist/config/scripts/header.tk >> ./config.tk
cat config.tmp >> config.tk
rm -f config.tmp
echo "set defaults \"/dev/null\"" >> config.tk
echo "set help_file \"config/Configure.help\"" >> config.tk
cat /opt/skyeye-cdrom/uClinux/uClinux-dist/config/scripts/tail.tk >> config.tk
chmod 755 config.tk
/bin/sh: line 1: arm-linux-gcc: command not found
/.config/bin/sh: line 1: arm-linux-gcc: command not found
efault/bin/sh: line 1: arm-linux-gcc: command not found
make: wish: Command not found
make: *** [xconfig] Error 127
是不是arm-linux-gcc没有装上,但我已经安说明上把两个2.95.3和3.3.2都装上了,在/usr/local/arm/2.95.3/bin/arm/arm-linux-*有文件呀
我该怎样指定到arm-linux-gcc呀?谢谢
回复

使用道具 举报

发表于 2005-5-16 21:43:49 | 显示全部楼层
arm-linux-gcc:应该改成arm-elf-gcc:
这个修改好象在vendor/config/下相应目录下面的confog.arch里面
2.6内核回有这样的问题
补丁文件在arch目录下不是使用armnommu而是arm
而这个目录是标准linux的
使用arm-linux-gcc编译
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-5-13 14:55 , Processed in 0.101264 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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