Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
UML compile problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ekoome
n00b
n00b


Joined: 07 Apr 2004
Posts: 17

PostPosted: Mon May 03, 2004 7:53 am    Post subject: UML compile problems Reply with quote

I am trying to compile 2.6.3-r1 as UML but i get the following compile problems.

make xconfig ARCH=um
make linux ARCH=um

In file included from include/asm/dma-mapping.h:1,
from include/linux/dma-mapping.h:13,
from include/scsi/scsi_cmnd.h:4,
from drivers/scsi/scsi.h:20,
from drivers/scsi/scsi.c:58:
include/asm-generic/dma-mapping.h: In function `dma_supported':
include/asm-generic/dma-mapping.h:19: error: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h:19: error: (Each undeclared identifier is reported only once
include/asm-generic/dma-mapping.h:19: error: for each function it appears in.)
include/asm-generic/dma-mapping.h:21: warning: implicit declaration of function `pci_dma_supported'
include/asm-generic/dma-mapping.h: In function `dma_set_mask':
include/asm-generic/dma-mapping.h:27: error: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h: In function `dma_alloc_coherent':
include/asm-generic/dma-mapping.h:36: error: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h:38: warning: implicit declaration of function `pci_alloc_consistent'
include/asm-generic/dma-mapping.h:38: warning: return makes pointer from integer without a cast
include/asm-generic/dma-mapping.h: In function `dma_free_coherent':
include/asm-generic/dma-mapping.h:45: error: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h:47: warning: implicit declaration of function `pci_free_consistent'
include/asm-generic/dma-mapping.h: In function `dma_map_single':
include/asm-generic/dma-mapping.h:54: error: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h:56: warning: implicit declaration of function `pci_map_single'
include/asm-generic/dma-mapping.h: In function `dma_unmap_single':
include/asm-generic/dma-mapping.h:63: error: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h:65: warning: implicit declaration of function `pci_unmap_single'
include/asm-generic/dma-mapping.h: In function `dma_map_page':
include/asm-generic/dma-mapping.h:73: error: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h:75: warning: implicit declaration of function `pci_map_page'
include/asm-generic/dma-mapping.h: In function `dma_unmap_page':
include/asm-generic/dma-mapping.h:82: error: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h:84: warning: implicit declaration of function `pci_unmap_page'
include/asm-generic/dma-mapping.h: In function `dma_map_sg':
include/asm-generic/dma-mapping.h:91: error: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h:93: warning: implicit declaration of function `pci_map_sg'
include/asm-generic/dma-mapping.h: In function `dma_unmap_sg':
include/asm-generic/dma-mapping.h:100: error: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h:102: warning: implicit declaration of function `pci_unmap_sg'
include/asm-generic/dma-mapping.h: In function `dma_sync_single':
include/asm-generic/dma-mapping.h:109: error: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h:111: warning: implicit declaration of function `pci_dma_sync_single'
include/asm-generic/dma-mapping.h: In function `dma_sync_sg':
include/asm-generic/dma-mapping.h:118: error: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h:120: warning: implicit declaration of function `pci_dma_sync_sg'
make[2]: *** [drivers/scsi/scsi.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2

In addition, there seems to be no ebuild for UMLBUILDER.....

Eric
Back to top
View user's profile Send private message
nam
n00b
n00b


Joined: 10 Jan 2003
Posts: 26
Location: Jakarta, Indonesia

PostPosted: Tue May 18, 2004 9:45 am    Post subject: Reply with quote

try to not include scsi in your kernel compilation.
That is my temporary solution, because I don't need to access scsi directly.
I haven't figured out what's the problem.

nam
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum