|
lfs 6.7 kernel 2.6.36-rc6,安装oss v4.2失败,提示没有gcc;make;binutils包安装;哪位兄弟姐妹有教程详细点的。谢谢。
2010-10-23
低级错误,which没有装,装完可以make,
但make install出现下面错误:
Building module osscore
Failed to compile OSS
make -C /lib/modules/2.6.36/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/linux-2.6.36'
CC [M] /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: In function ‘alloc_fop’:
/usr/lib/oss/build/osscore.c:956:6: error: ‘struct file_operations’ has no
member named ‘ioctl’
/usr/lib/oss/build/osscore.c:960:14: warning: assignment from incompatible
pointer type
/usr/lib/oss/build/osscore.c: In function ‘oss_pci_read_devpath’:
/usr/lib/oss/build/osscore.c:1634:3: warning: return discards qualifiers from
pointer target type
make[2]: *** [/usr/lib/oss/build/osscore.o] Error 1
make[1]: *** [_module_/usr/lib/oss/build] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.36'
make: *** [default] Error 2
网上google查,好像有人有同样的错误,但没有发现解答;
不知是2.6.36的错误吗? |
|