- 积分
- 0
贡献0
飞刀0 FD
注册时间2016-5-6
在线时间0 小时
|
楼主 |
发表于 2011-3-28 09:57:40
|
显示全部楼层
开始的时候提示缺少 plat/regs-g2d.h, 然后从网上找一个复制进去,再次编译出现
/source/forliux2.6.36.2$ make ARCH=arm zImage
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: “include/generated/mach-types.h”是最新的。
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC drivers/media/video/samsung/g2d/s3c_fimg2d2x.o
drivers/media/video/samsung/g2d/s3c_fimg2d2x.c: In function ‘s3c_g2d_irq’:
drivers/media/video/samsung/g2d/s3c_fimg2d2x.c:304:3: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
drivers/media/video/samsung/g2d/s3c_fimg2d2x.c:304:3: note: each undeclared identifier is reported only once for each function it appears in
drivers/media/video/samsung/g2d/s3c_fimg2d2x.c: In function ‘s3c_g2d_open’:
drivers/media/video/samsung/g2d/s3c_fimg2d2x.c:315:2: error: implicit declaration of function ‘kmalloc’
drivers/media/video/samsung/g2d/s3c_fimg2d2x.c: In function ‘s3c_g2d_release’:
drivers/media/video/samsung/g2d/s3c_fimg2d2x.c:341:2: error: implicit declaration of function ‘kfree’
drivers/media/video/samsung/g2d/s3c_fimg2d2x.c: At top level:
drivers/media/video/samsung/g2d/s3c_fimg2d2x.c:456:2: error: unknown field ‘ioctl’ specified in initializer
drivers/media/video/samsung/g2d/s3c_fimg2d2x.c:456:2: warning: initialization from incompatible pointer type
make[5]: *** [drivers/media/video/samsung/g2d/s3c_fimg2d2x.o] 错误 1
make[4]: *** [drivers/media/video/samsung/g2d] 错误 2
make[3]: *** [drivers/media/video/samsung] 错误 2
make[2]: *** [drivers/media/video] 错误 2
make[1]: *** [drivers/media] 错误 2
make: *** [drivers] 错误 2 |
|