共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 跳转至页
回复
| 有奖活动 | |
|---|---|
| 硬核工程师专属补给计划——填盲盒 | |
| “我踩过的那些坑”主题活动——第002期 | |
| 【EEPW电子工程师创研计划】技术变现通道已开启~ | |
| 发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
| 【EEPW在线】E起听工程师的声音! | |
| 高校联络员开始招募啦!有惊喜!! | |
| 【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
| 送您一块开发板,2025年“我要开发板活动”又开始了! | |
我要赚赏金打赏帖 |
|
|---|---|
| Chaos-nano:专为低资源单片机设计的轻量级协作式异步操作系统(ATMEGA328P轻量级操作系统)—— 详细介绍被打赏¥16元 | |
| FPGA配置被打赏¥10元 | |
| Chaos-nano协作式异步操作系统:赋能MicrochipAVR8位单片机的革新之路被打赏¥15元 | |
| 基于esp32开发时串口工具的注意点被打赏¥24元 | |
| 基于FireBeetle2ESP32-C5开发板的舵机控制被打赏¥20元 | |
| 【分享开发笔记,赚取电动螺丝刀】MAX78000开发板制作的电子相册被打赏¥32元 | |
| 基于FireBeetle2ESP32-C5开发板的超声波测距及显示被打赏¥21元 | |
| FireBeetle2ESP32-C5上RTC电子时钟的实现被打赏¥25元 | |
| 【分享开发笔记,赚取电动螺丝刀】MAX78000开发板读取SD卡被打赏¥23元 | |
| 【S32K3XX】Standby RAM 重启后数据异常问题调查被打赏¥38元 | |
我要赚赏金
