请教关于编译uclinux2.6出现的问题
我在用uclinux编译2.6内核的时候 在选择vendor的时候选择gdb 然后Gdb product选择skyeye 但是编译的时候却出现了下面的问题 ,请各位大侠指教:(uclinux版本为20041215,linux2.6.9+linux2.6.9-uc0.patch+linux2.6.9-uc0-hsc0.patch,arm-elf-gcc3.4.0)
make ARCH=armnommu CROSS_COMPILE=arm-elf- -C linux-2.6.x|| exit 1
make: Entering directory `/home/xaut/Desktop/uclinux/uClinux-dist/linux-2.6.x'
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
HOSTCCscripts/genksyms/genksyms.o
HOSTCCscripts/genksyms/lex.o
HOSTCCscripts/genksyms/parse.o
HOSTLDscripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCCscripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCCscripts/mod/file2alias.o
HOSTCCscripts/mod/modpost.o
HOSTCCscripts/mod/sumversion.o
HOSTLDscripts/mod/modpost
HOSTCCscripts/kallsyms
HOSTCCscripts/conmakehash
SYMLINK include/asm-armnommu/arch -> include/asm-armnommu/arch-s3c44b0x
scripts/Makefile.build:196: warning: overriding commands for target `arch/armnommu/kernel/apm.o'
arch/armnommu/kernel/Makefile:39: warning: ignoring old commands for target `arch/armnommu/kernel/apm.o'
CC arch/armnommu/kernel/asm-offsets.s
CHK include/asm-armnommu/constants.h
UPD include/asm-armnommu/constants.h
Generating include/asm-arm/mach-types.h
CC init/main.o
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
CC init/do_mounts.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
LD init/mounts.o
CC init/initramfs.o
LD init/built-in.o
HOSTCCusr/gen_init_cpio
CPIO usr/initramfs_data.cpio
GZIP usr/initramfs_data.cpio.gz
AS usr/initramfs_data.o
LD usr/built-in.o
scripts/Makefile.build:196: warning: overriding commands for target `arch/armnommu/kernel/apm.o'
arch/armnommu/kernel/Makefile:39: warning: ignoring old commands for target `arch/armnommu/kernel/apm.o'
CC arch/armnommu/kernel/compat.o
CC arch/armnommu/kernel/dma.o
Making arch/armnommu/kernel/entry-macro.S -> ../mach-s3c44b0x/entry-macro.S symlink
AS arch/armnommu/kernel/entry.o
AS arch/armnommu/kernel/entry-common.o
CC arch/armnommu/kernel/irq.o
CC arch/armnommu/kernel/process.o
CC arch/armnommu/kernel/ptrace.o
CC arch/armnommu/kernel/semaphore.o
/tmp/cchdDDCg.s: Assembler messages:
/tmp/cchdDDCg.s:132: Warning: ignoring changed section attributes for .sched.text
CC arch/armnommu/kernel/setup.o
arch/armnommu/kernel/setup.c: In function `request_standard_resources':
arch/armnommu/kernel/setup.c:459: warning: assignment makes integer from pointer without a cast
CC arch/armnommu/kernel/signal.o
CC arch/armnommu/kernel/sys_arm.o
CC arch/armnommu/kernel/time.o
CC arch/armnommu/kernel/traps.o
CC arch/armnommu/kernel/armksyms.o
CC arch/armnommu/kernel/module.o
CC arch/armnommu/kernel/bios32.o
In file included from include/asm/dma-mapping.h:7,
from include/linux/dma-mapping.h:19,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm-arm/pci.h:6,
from include/asm/pci.h:1,
from include/linux/pci.h:861,
from arch/arm/kernel/bios32.c:11:
include/asm-generic/dma-mapping.h: In function `dma_supported':
include/asm-generic/dma-mapping.h:25: warning: implicit declaration of function `pci_dma_supported'
include/asm-generic/dma-mapping.h: In function `dma_alloc_coherent':
include/asm-generic/dma-mapping.h:42: warning: implicit declaration of function `pci_alloc_consistent'
include/asm-generic/dma-mapping.h:42: 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:51: 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:60: 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:69: 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:79: 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:88: 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:97: 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:106: warning: implicit declaration of function `pci_unmap_sg'
include/asm-generic/dma-mapping.h: In function `dma_sync_single_for_cpu':
include/asm-generic/dma-mapping.h:115: warning: implicit declaration of function `pci_dma_sync_single_for_cpu'
include/asm-generic/dma-mapping.h: In function `dma_sync_single_for_device':
include/asm-generic/dma-mapping.h:125: warning: implicit declaration of function `pci_dma_sync_single_for_device'
include/asm-generic/dma-mapping.h: In function `dma_sync_sg_for_cpu':
include/asm-generic/dma-mapping.h:135: warning: implicit declaration of function `pci_dma_sync_sg_for_cpu'
include/asm-generic/dma-mapping.h: In function `dma_sync_sg_for_device':
include/asm-generic/dma-mapping.h:144: warning: implicit declaration of function `pci_dma_sync_sg_for_device'
include/asm-generic/dma-mapping.h: In function `dma_mapping_error':
include/asm-generic/dma-mapping.h:150: warning: implicit declaration of function `pci_dma_mapping_error'
In file included from include/asm-arm/pci.h:6,
from include/asm/pci.h:1,
from include/linux/pci.h:861,
from arch/arm/kernel/bios32.c:11:
include/asm-generic/pci-dma-compat.h: At top level:
include/asm-generic/pci-dma-compat.h:14: warning: static declaration of 'pci_dma_supported' follows non-static declaration
include/asm-generic/dma-mapping.h:25: warning: 'pci_dma_supported' declared inline after being called
include/asm-generic/dma-mapping.h:25: warning: previous implicit declaration of 'pci_dma_supported' was here
include/asm-generic/pci-dma-compat.h:21: error: conflicting types for 'pci_alloc_consistent'
include/asm-generic/dma-mapping.h:42: error: previous implicit declaration of 'pci_alloc_consistent' was here
include/asm-generic/pci-dma-compat.h:28: error: conflicting types for 'pci_free_consistent'
include/asm-generic/dma-mapping.h:51: error: previous implicit declaration of 'pci_free_consistent' was here
include/asm-generic/pci-dma-compat.h:34: error: conflicting types for 'pci_map_single'
include/asm-generic/dma-mapping.h:60: error: previous implicit declaration of 'pci_map_single' was here
include/asm-generic/pci-dma-compat.h:41: error: conflicting types for 'pci_unmap_single'
include/asm-generic/dma-mapping.h:69: error: previous implicit declaration of 'pci_unmap_single' was here
include/asm-generic/pci-dma-compat.h:48: error: conflicting types for 'pci_map_page'
include/asm-generic/dma-mapping.h:79: error: previous implicit declaration of 'pci_map_page' was here
include/asm-generic/pci-dma-compat.h:55: error: conflicting types for 'pci_unmap_page'
include/asm-generic/dma-mapping.h:88: error: previous implicit declaration of 'pci_unmap_page' was here
include/asm-generic/pci-dma-compat.h:62: warning: static declaration of 'pci_map_sg' follows non-static declaration
include/asm-generic/dma-mapping.h:97: warning: 'pci_map_sg' declared inline after being called
include/asm-generic/dma-mapping.h:97: warning: previous implicit declaration of 'pci_map_sg' was here
include/asm-generic/pci-dma-compat.h:69: error: conflicting types for 'pci_unmap_sg'
include/asm-generic/dma-mapping.h:106: error: previous implicit declaration of 'pci_unmap_sg' was here
include/asm-generic/pci-dma-compat.h:76: error: conflicting types for 'pci_dma_sync_single_for_cpu'
include/asm-generic/dma-mapping.h:115: error: previous implicit declaration of 'pci_dma_sync_single_for_cpu' was here
include/asm-generic/pci-dma-compat.h:83: error: conflicting types for 'pci_dma_sync_single_for_device'
include/asm-generic/dma-mapping.h:125: error: previous implicit declaration of 'pci_dma_sync_single_for_device' was here
include/asm-generic/pci-dma-compat.h:90: error: conflicting types for 'pci_dma_sync_sg_for_cpu'
include/asm-generic/dma-mapping.h:135: error: previous implicit declaration of 'pci_dma_sync_sg_for_cpu' was here
include/asm-generic/pci-dma-compat.h:97: error: conflicting types for 'pci_dma_sync_sg_for_device'
include/asm-generic/dma-mapping.h:144: error: previous implicit declaration of 'pci_dma_sync_sg_for_device' was here
include/asm-generic/pci-dma-compat.h:103: warning: static declaration of 'pci_dma_mapping_error' follows non-static declaration
include/asm-generic/dma-mapping.h:150: warning: 'pci_dma_mapping_error' declared inline after being called
include/asm-generic/dma-mapping.h:150: warning: previous implicit declaration of 'pci_dma_mapping_error' was here
make: *** Error 1
make: *** Error 2
make: Leaving directory `/home/xaut/Desktop/uclinux/uClinux-dist/linux-2.6.x'make: *** Error 1
xaut@xaut-desktop:~/Desktop/uclinux/uClinux-dist$
谢谢各位大侠
页:
[1]