分类: 嵌入式
2009-09-16 17:37:05
networking/interface.c:818: error: 'ARPHRD_INFINIBAND' undeclared here (not in a function)
make[1]: *** [networking/interface.o] Error 1
make: *** [networking] Error 2
解决办法:
在“networking/interface.c”添加:
#define ARPHRD_INFINIBAND 32 /* InfiniBand */
3.使用mini2440,采用nfs文件系统,linux启动参数为
"console=ttySAC0 root=/dev/nfs nfsroot=192.168.0.229:/home/yigc/rootfs_2440 ip=192.168.0.230:192.168.0.229:192.168.0.229:255.255.255.0:"
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
解决办法:
创建rootfs过程中,在/dev目录下手动创建如下节点:
使用mini2440,采用nfs文件系统,linux启动参数为can't open /dev/tty3: No such file or directory
"console=ttySAC0 root=/dev/nfs nfsroot=192.168.0.229:/home/yigc/rootfs_2440 ip=192.168.0.230:192.168.0.229:192.168.0.229:255.255.255.0:"
ln -sf /dev/null /dev/tty2
ln -sf /dev/null /dev/tty3
ln -sf /dev/null /dev/tty4
5.
编译minigui时候,设置FB时出错:
NEWGAL>FBCON: Can't open /dev/tty0: No such file or directory
NEWGAL: Set video mode failure.
InitGUI: Can not initialize graphics engine!
解决办法: