+ -
当前位置:首页 → 问答吧 → 求救,请各位懂uclinux的大虾帮忙

求救,请各位懂uclinux的大虾帮忙

时间:2005-06-08

来源:互联网

我在用交叉编译器编译rtai的时候出现如下错误,应该如何解决请各位大虾指点
/usr/local/m68k-elf b/m5200/crt0.o: In function `_start':
/usr/local/m68k-elf b/m5200/crt0.o(.text+0x8): undefined reference to `__uClibc_main'
check.o: In function `main':
check.o(.text+0x26): undefined reference to `signal'
check.o(.text+0x34): undefined reference to `open'
check.o(.text+0x48): undefined reference to `stderr'
check.o(.text+0x4e): undefined reference to `fprintf'
check
.o(.text+0x58): undefined reference to `exit'
check.o(.text+0x68): undefined reference to `read'
check.o(.text+0x80): undefined reference to `printf'
check.o(.text+0x86): undefined reference to `stdout'
check.o(.text+0x8c): undefined reference to `fflush'
collect2: ld returned 1 exit status
make[1]: *** [check] Error 1
make[1]: Leaving directory `/root/uClinux-dist/rtai-24.1.8/latency_calib ration'
make: *** [_mod_latency_calibration] Error 2      

作者: shuishp   发布时间: 2005-06-08

uLibc库路径问题?编译命令呢?多写点输出比较好。      

作者: flag   发布时间: 2005-06-09

热门下载

更多