- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
In µclinux setup for USB **************************************************** In kernel menuconfig, Turn on SCSI device and SCSI disk. SCSI device support ---> [ ] RAID Transport Class [*] SCSI device support [ ] SCSI target support [*] legacy /proc/scsi/ support *** SCSI support type (disk, tape, CD-ROM) *** [*] SCSI disk support *********************************************** When i do it i have this code error : drivers/built-in.o(.text+0x28c00): In function `scsi_dma_map': /home/hayder/nios2-linux/linux-2.6/include/scsi/scsi_cmnd.h:154: undefined reference to `dma_map_sg' drivers/built-in.o(.text+0x28c48): In function `scsi_dma_unmap': /home/hayder/nios2-linux/linux-2.6/include/scsi/scsi_cmnd.h:154: undefined reference to `dma_unmap_sg *********************************************************** it's normal i don't have dma in my design... I have to modify something??? Thanks for allLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I verified that i have the same files like in this patch
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc6/2.6.22-rc6-mm1/broken-out/scsi-dont-build-scsi_dma_mapunmap-for-has_dma.patch (nothing to change) someone can help me!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I solved the problem by changing uclinux version from linux-20080619 to 20090730
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have solved it by commenting that function close to the error line ;
or, you can try use" return 0 " instead ;- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
but i can't find it ,i only get the nios2-uclinux-20120826
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page