我在XP中用虚拟机安装了redhat9,安装类型是workstation,顺带装了vmware tools。<br />根据阿楠整理的embeded-linux-introduction.pdf,我仿照写了hello.c,在redhat中运行gcc c hello.c成功生成了.o文件,然后运行insmod ./hello.o<br />出现:bash: insmod: command not found<br />问:该怎么解决?<br />根据阿楠的embeded-linux-introduction.pdf安装mizi linux:<br />我下了mizi linux的ISO文件,发现源中的rpm包的版本根pdf记载的有点出入,有三处不同:<br />source:cross-armv4l-gcc-2.95.2-5mz.i386.rpm<br />PDF: cross-armv4l-gcc-2.95.2-10mz.i386.rpm<br />source:cross-armv4l-gcc-c++-2.95.2-5mz.i386.rpm<br />PDF: cross-armv4l-gcc-c++-2.95.2-10mz.i386.rpm<br />source:cross-armv4l-qtE-custom-1.5-3mz.i386.rpm<br />PDF: cross-armv4l-qtE-custom-1.5-4mz.i386.rpm<br />在安装其它包的时候没有问题(root),但是<br />运行命令:rpm -Uvh cross-armv4l-qtE-custom-1.5-3mz.i386.rpm<br />出现错误:error: Failed dependencies:<br /> glibc = 2.3.2-4.80.6 is needed by cross-armv4l-qtE-custom-1.5-3mz<br /> glibc-common = 2.3.2-4.80.6 is needed by cross-armv4l-qtE-custom-1.5-3mz<br />请问:对于这个问题我该怎样去解决?<br />请指点,谢了!!<br /><br /> <br /> |
|