共5条
1/1 1 跳转至页
编译uclinux的问题

我在编译uclinux时遇到如下问题,由于没能看懂什么问题,请大家帮我看看,谢谢!
[root@localhost root]# cd /
[root@localhost /]# cd usr
[root@localhost usr]# cd local
[root@localhost local]# cd src
[root@localhost src]# cd uclinux-s3cev40
[root@localhost uclinux-s3cev40]# make xconfig
config/mkconfig > config.in
make -C /usr/local/src/uclinux-s3cev40/config/scripts tkparse
make[1]: Entering directory `/usr/local/src/uclinux-s3cev40/config/scripts'
unset GCC_EXEC_PREFIX; cc -o tkparse tkparse.o tkcond.o tkgen.o
tkparse. file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[1]: *** [tkparse] Error 1
make[1]: Leaving directory `/usr/local/src/uclinux-s3cev40/config/scripts'
make: *** [config.tk] Error 2
[root@localhost uclinux-s3cev40]#[em03]
关键词: 编译 uclinux 问题

[em04]我按照提示查看了一下tkparse.o的有关信息,出现如下提示,请大家帮帮忙呀,下面那句话是啥意思,大家也可以一起讨论一下吧。[root@localhost scripts]# file tkparse.otkparse. 80386 COFF executable not stripped - version 30821[root@localhost scripts]# file tkparse.ctkparse.c: ASCII C program text[root@localhost scripts]# file tkparse.htkparse.h: ASCII C program text[root@localhost scripts]#

我在redhat9下安装arm-elf-tools-20040427.sh建立交叉编译环境,在usr/local/src目录下解压英蓓特公司的uClinux-s3cev40.tar.gz,然后执行make xconfig或make menuconfig都不能通过编译。英蓓特也算的上一个正规的公司,请用过他们公司的s3cev40试验箱的朋友都过来一起看看我到底问题在哪,我恳请大家能够帮我一把,我并非是出于商业目的,只是为了完成毕业课题。我不怕向大家提出低级问题而被笑话,我怕的是没有人愿意帮忙,我天天停留在原步,自己还搞得晕头转向的。请给为高手出点主意吧,我急呀!!![em03]

[em03]当我执行完make menuconfig后执行make dep,出现的问题我不知如何解决,请大家帮我看看。编译的步骤应该没有问题,只是由于make dep没有过去,无法生成内核,只是生成了文件系统。具体提示请看下面:
make[2]: Leaving directory `/usr/local/src/uclinux-s3cev40/config'
make[1]: Leaving directory `/usr/local/src/uclinux-s3cev40'
[root@localhost uclinux-s3cev40]# make dep
make ARCH=armnommu CROSS_COMPILE=arm-elf- -C linux-2.4.x dep
make[1]: Entering directory `/usr/local/src/uclinux-s3cev40/linux-2.4.x'
unset GCC_EXEC_PREFIX; gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
/tmp/cck9YloJ.o(.text+0x50f): In function `use_config':
: undefined reference to `__ctype_b'
/tmp/cck9YloJ.o(.text+0x522): In function `use_config':
: undefined reference to `__ctype_tolower'
/tmp/cck9YloJ.o(.text+0x9a8): In function `state_machine':
: undefined reference to `__ctype_b'
/tmp/cck9YloJ.o(.text+0xa5c): In function `state_machine':
: undefined reference to `__ctype_b'
/tmp/cck9YloJ.o(.text+0xb5a): In function `state_machine':
: undefined reference to `__ctype_b'
collect2: ld returned 1 exit status
make[1]: *** [scripts/mkdep] Error 1
make[1]: Leaving directory `/usr/local/src/uclinux-s3cev40/linux-2.4.x'
make: *** [dep] Error 2
[root@localhost uclinux-s3cev40]
我的邮箱:qianlicsh@sina.com
qq:303904405
[em06][em06][em06][em06]
共5条
1/1 1 跳转至页
回复
打赏帖 | |
---|---|
嵌入式LinuxC语言程序调试和宏使用技巧被打赏50分 | |
让代码中包含最新的编译时间信息被打赏50分 | |
rtthread硬件加密--2crc加密分析被打赏10分 | |
【分享开发笔记,赚取电动螺丝刀】mcxa156使用低功耗定时器适配硬件RTC框架被打赏26分 | |
【STM32F769】AI之与本地deepseek对接被打赏50分 | |
Buck电路工作在CCM模式下电感电流的计算公式是什么?被打赏5分 | |
buck电路工作原理被打赏5分 | |
基于MSPM0L1306的MODBUS-RTU协议通讯实验被打赏100分 | |
我想要一部加热台+多合一调试工具被打赏18分 | |
每周了解几个硬件知识+485硬件知识分享被打赏10分 |