|
在按照手册的step by step 做的时候到做完声卡驱动后,,,编译内核镜像出错不能成功,,,,
也没该多少东西啊,,,就把arch/arm/plat-s3c24xx/dma.c的那两行代码该了改,,
但是编译出错后再改回来,,怎么还错,,,,不解
原来代码为
s3c2410_dma_ctrl(channel, S3C2410_DMAOP_STOP);
s3c2410_dma_ctrl(chan->number, S3C2410_DMAOP_STOP);
打印的信息如下:
[root@EmbedSky linux-2.6.30.4]# make zImage
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CALL scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
CHK include/linux/compile.h
LD drivers/built-in.o
drivers/input/built-in.o:(.data+0x2e4): multiple definition of `ADC_LOCK'
drivers/char/built-in.o:(.data+0x41c): first defined here
make[1]: *** [drivers/built-in.o] Error 1
make: *** [drivers] Error 2 |
|