linux2.6.24移植UDA1341音频驱动
在linux2.6.24移植UDA1341音频驱动,按照网上一些资料修改了源码,可是编译的时候出现如下错误:
sound/built-in.o(.text+0x9a0): In function `$a':
: undefined reference to `s3c2410_dma_ctrl'
sound/built-in.o(.text+0xc70): In function `audio_sync':
: undefined reference to `s3c2410_dma_enqueue'
sound/built-in.o(.text+0x101c): In function `$a':
: undefined reference to `s3c2410_dma_enqueue'
sound/built-in.o(.text+0x1174): In function `$a':
: undefined reference to `s3c2410_dma_enqueue'
sound/built-in.o(.text+0x12c4): In function `$a':
: undefined reference to `s3c2410_dma_enqueue'
sound/built-in.o(.text+0x2070): In function `$a':
: undefined reference to `s3c2410_dma_set_buffdone_fn'
sound/built-in.o(.text+0x207c): In function `$a':
: undefined reference to `s3c2410_dma_free'
sound/built-in.o(.init.text+0x9: In function `$a':
: undefined reference to `s3c2410_dma_request'
sound/built-in.o(.init.text+0xb: In function `$a':
: undefined reference to `s3c2410_dma_devconfig'
sound/built-in.o(.init.text+0xc: In function `$a':
: undefined reference to `s3c2410_dma_config'
sound/built-in.o(.init.text+0xd4): In function `$a':
: undefined reference to `s3c2410_dma_set_buffdone_fn'
sound/built-in.o(.init.text+0xe0): In function `$a':
: undefined reference to `s3c2410_dma_setflags'
sound/built-in.o(.init.text+0x10: In function `$a':
: undefined reference to `s3c2410_dma_request'
sound/built-in.o(.init.text+0x134): In function `$a':
: undefined reference to `s3c2410_dma_devconfig'
sound/built-in.o(.init.text+0x144): In function `$a':
: undefined reference to `s3c2410_dma_config'
sound/built-in.o(.init.text+0x150): In function `$a':
: undefined reference to `s3c2410_dma_set_buffdone_fn'
sound/built-in.o(.init.text+0x15c): In function `$a':
: undefined reference to `s3c2410_dma_setflags'
make: *** [.tmp_vmlinux1] 错误? 1
根据这些错误信息:没有声明,我检查了下dma.c的头文件,已经包含了声明这些函数的头文件,请高手指点?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
grep一下sound目录下,你编译了什么东西,里面地调用了这些DMA接口,但是没有找到这些DMA接口的定义