当前位置: 技术问答>linux和unix
编译rtlinux时出现的问题,希望高人指点
来源: 互联网 发布时间:2016-05-07
本文导语: redhat 9.0 Kernel 2.4.20-8 下载软件: linux-2.4.20.tar.bz2 rtlinux-3.2-pre3.tar.bz2 当我patch 完,reboot进入rtlinux 准备用rtlinux start 来加载mobuff.o,rtl.o,rtl_time.o等模块时出现问题: Using /usr/rtlinux-3.2-pre2/...
redhat 9.0 Kernel 2.4.20-8
下载软件: linux-2.4.20.tar.bz2
rtlinux-3.2-pre3.tar.bz2
当我patch 完,reboot进入rtlinux 准备用rtlinux start 来加载mobuff.o,rtl.o,rtl_time.o等模块时出现问题:
Using /usr/rtlinux-3.2-pre2/modules/mbuff.o
Warning: loading /usr/rtlinux-3.2-pre2/modules/mbuff.o will taint the kernel: no license See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module mbuff loaded, with warnings
之后我就单个insomd,结果:
[root@beyond root]# insmod rtl_time
Using /usr/rtlinux-3.2-pre2/modules/rtl_time.o
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_printf
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_request_local_irq
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_rt_system_is_idle
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_request_global_irq
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_hard_enable_irq
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_free_local_irq
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_free_global_irq
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_global_pend_irq
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_global_ispending_irq
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_local_pend_vec
同时加载其他模块时也出现了同样的问题
大家有遇到过类似的问题吗?请指点一下
下载软件: linux-2.4.20.tar.bz2
rtlinux-3.2-pre3.tar.bz2
当我patch 完,reboot进入rtlinux 准备用rtlinux start 来加载mobuff.o,rtl.o,rtl_time.o等模块时出现问题:
Using /usr/rtlinux-3.2-pre2/modules/mbuff.o
Warning: loading /usr/rtlinux-3.2-pre2/modules/mbuff.o will taint the kernel: no license See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module mbuff loaded, with warnings
之后我就单个insomd,结果:
[root@beyond root]# insmod rtl_time
Using /usr/rtlinux-3.2-pre2/modules/rtl_time.o
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_printf
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_request_local_irq
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_rt_system_is_idle
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_request_global_irq
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_hard_enable_irq
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_free_local_irq
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_free_global_irq
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_global_pend_irq
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_global_ispending_irq
/usr/rtlinux-3.2-pre2/modules/rtl_time.o: unresolved symbol rtl_local_pend_vec
同时加载其他模块时也出现了同样的问题
大家有遇到过类似的问题吗?请指点一下
|
加载顺序可能有问题, rtl_printf 所在的模块应先加载
|
没做过rt,不过碰到过类似问题。应该是makefile写的不对,导致库出问题