当前位置: 技术问答>linux和unix
uclinux2010编译内核,perl文件hwselect.pl报错
来源: 互联网 发布时间:2016-11-21
本文导语: uclinux2007、2009都没这个问题, 但从uclinux2010版开始,在执行 make vendor_hwselect SYSPTF="/home/work/niosII.ptf"时, root@spomu-desktop:/home/work/uClinux-dist201010# make vendor_hwselect SYSPTF="/home/work/niosII_v32.ptf" make ARCH=nios2nommu -C vendors...
uclinux2007、2009都没这个问题,
但从uclinux2010版开始,在执行 make vendor_hwselect SYSPTF="/home/work/niosII.ptf"时,
root@spomu-desktop:/home/work/uClinux-dist201010# make vendor_hwselect SYSPTF="/home/work/niosII_v32.ptf"
make ARCH=nios2nommu -C vendors vendor_hwselect
make[1]: 正在进入目录 `/home/work/uClinux-dist201010/vendors'
make -C /home/work/uClinux-dist201010/vendors/Altera/nios2nommu/. dir_v=/home/work/uClinux-dist201010/vendors/Altera/nios2nommu/. -f /home/work/uClinux-dist201010/vendors/vendors-common.mak vendor_hwselect
make[2]: 正在进入目录 `/home/work/uClinux-dist201010/vendors/Altera/nios2nommu'
[ -d /home/work/uClinux-dist201010/romfs/$i ] || mkdir -p /home/work/uClinux-dist201010/romfs
make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- CFLAGS_KERNEL="" AFLAGS_KERNEL="" -C /home/work/uClinux-dist201010/linux-2.6.x hwselect
no emulation specific options.
make[3]: 正在进入目录 `/home/work/uClinux-dist201010/linux-2.6.x'
RUNNING hwselect
Can't locate PTF/SystemPTF.pm in @INC (@INC contains: /arch/nios2nommu/scripts /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/work/uClinux-dist201010/linux-2.6.x/arch/nios2nommu/scripts/hwselect.pl line 8.
BEGIN failed--compilation aborted at /home/work/uClinux-dist201010/linux-2.6.x/arch/nios2nommu/scripts/hwselect.pl line 8.
make[3]: *** [hwselect] 错误 2
make[3]:正在离开目录 `/home/work/uClinux-dist201010/linux-2.6.x'
make[2]: *** [vendor_hwselect] 错误 2
make[2]:正在离开目录 `/home/work/uClinux-dist201010/vendors/Altera/nios2nommu'
make[1]: *** [vendor_hwselect] 错误 2
make[1]:正在离开目录 `/home/work/uClinux-dist201010/vendors'
make: *** [vendor_hwselect] 错误 2
一直不得解,求教各位大侠们!!
但从uclinux2010版开始,在执行 make vendor_hwselect SYSPTF="/home/work/niosII.ptf"时,
root@spomu-desktop:/home/work/uClinux-dist201010# make vendor_hwselect SYSPTF="/home/work/niosII_v32.ptf"
make ARCH=nios2nommu -C vendors vendor_hwselect
make[1]: 正在进入目录 `/home/work/uClinux-dist201010/vendors'
make -C /home/work/uClinux-dist201010/vendors/Altera/nios2nommu/. dir_v=/home/work/uClinux-dist201010/vendors/Altera/nios2nommu/. -f /home/work/uClinux-dist201010/vendors/vendors-common.mak vendor_hwselect
make[2]: 正在进入目录 `/home/work/uClinux-dist201010/vendors/Altera/nios2nommu'
[ -d /home/work/uClinux-dist201010/romfs/$i ] || mkdir -p /home/work/uClinux-dist201010/romfs
make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- CFLAGS_KERNEL="" AFLAGS_KERNEL="" -C /home/work/uClinux-dist201010/linux-2.6.x hwselect
no emulation specific options.
make[3]: 正在进入目录 `/home/work/uClinux-dist201010/linux-2.6.x'
RUNNING hwselect
Can't locate PTF/SystemPTF.pm in @INC (@INC contains: /arch/nios2nommu/scripts /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/work/uClinux-dist201010/linux-2.6.x/arch/nios2nommu/scripts/hwselect.pl line 8.
BEGIN failed--compilation aborted at /home/work/uClinux-dist201010/linux-2.6.x/arch/nios2nommu/scripts/hwselect.pl line 8.
make[3]: *** [hwselect] 错误 2
make[3]:正在离开目录 `/home/work/uClinux-dist201010/linux-2.6.x'
make[2]: *** [vendor_hwselect] 错误 2
make[2]:正在离开目录 `/home/work/uClinux-dist201010/vendors/Altera/nios2nommu'
make[1]: *** [vendor_hwselect] 错误 2
make[1]:正在离开目录 `/home/work/uClinux-dist201010/vendors'
make: *** [vendor_hwselect] 错误 2
一直不得解,求教各位大侠们!!
|
晕,这个只有看manule里查,做uclinux2010的人本来就不多,问是问不到的