LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-30-2011, 07:45 PM   #1
novice99
LQ Newbie
 
Registered: Mar 2011
Posts: 3

Rep: Reputation: 0
dma_map_sg symbol needed


From the Documentation/DMA-API for using the streaming API the only thing I need to use is linux/dma-mapping.h.
But despite including it in my kernel module its not able to resolve the symbol dma_map_sg.
Its is able to resolve dma_alloc_coherent though.

Can someone please tell me what I need to enable in the kernel to get the DMA streaming mapping API.

Following are already enabled :
CONFIG_HAS_DMA
CONFIG_HAVE_DMA_ATTRS
CONFIG_ISA_DMA_API

I am using Fedora 14 on x86_64.

Thanks in advance!
 
Old 07-03-2011, 11:11 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,143

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
You're doing it right, but maybe there is a problem in your source tree.

linux/dma-mapping.h includes asm/dma-mapping.h where include/asm should be a link to include/asm-x86_64 in your sources. That will bring in the correct architecture-specific definition.

Is your kernel source installed from an rpm, or is a downloaded tarball?
 
  


Reply

Tags
dma



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] symbol lookup error: /usr/sbin/httpd: undefined symbol: apr_file_link bagi Slackware 3 05-17-2011 07:49 AM
symbol lookup error: /usr/lib/libavcodec.so.51: undefined symbol: av_crc04C11DB7 priceey Linux - Software 0 05-06-2009 08:14 AM
./firefox-bin :symbol lookup error:/lib/libgthread-2.0.so.0: undefined symbol: arulupsaras Linux - General 1 11-08-2008 04:48 AM
symbol lookup error: /usr/lib/libgtk-x11.2.0.so.0: undefined symbol:... IamI Slackware 17 02-29-2008 11:10 AM
Workaround: 'symbol lookup error: k3b: undefined symbol: lstat64' devdol Linux - Software 2 02-15-2008 03:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration