OK, I got rsync to work, recopied the tree, and now I'm a bit further. I must have been missing something in my tree. I now get past the make dep command. I am using the crosstool gcc3.4.1 toolchain. One error that I found that my compiler complained about was this label at the end of a compound statement. to fix the problem, I ended up putting a "return" after it. Here's the error: /opt/crosstool/arm-softfloat-linux-gnu/gcc-3.4.1-glibc-2.3.3/bin/arm-softfloat-linux-gnu-gcc -D__KERNEL__ -I/usr/arm_devtree/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -msoft-float -Uarm -nostdinc -iwithprefix include -DKBUILD_BASENAME=keyboard -c -o keyboard.o keyboard.c keyboard.c: In function `kbd_processkeycode': keyboard.c:413: error: label at end of compound statement keyboard.c: In function `do_fn': keyboard.c:720: warning: comparison is always true due to limited range of data type make[3]: *** [keyboard.o] Error 1 make[3]: Leaving directory `/usr/arm_devtree/linux/drivers/char' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/arm_devtree/linux/drivers/char' make[1]: *** [_subdir_char] Error 2 make[1]: Leaving directory `/usr/arm_devtree/linux/drivers' make: *** [_dir_drivers] Error 2 linux:/usr/arm_devtree/linux # I do have another error in the make zImage. This is a linker error. I do need some help on this one. New Error message: Generating arch/arm/vmlinux.lds /opt/crosstool/arm-softfloat-linux-gnu/gcc-3.4.1-glibc-2.3.3/bin/arm-softfloat-linux-gnu-ld -p -X -T arch/arm/vmlinux.lds arch/arm/kernel/head-armv.o arch/arm/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \ --start-group \ arch/arm/kernel/kernel.o arch/arm/mm/mm.o arch/arm/mach-integrator/integrator.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \ drivers/serial/serial.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/pci/driver.o drivers/mtd/mtdlink.o drivers/video/video.o drivers/media/media.o \ net/network.o \ arch/arm/lib/lib.a /usr/arm_devtree/linux/lib/lib.a \ --end-group \ -o vmlinux init/main.o(.text.init+0x390): In function `start_kernel': : undefined reference to `cpu_CPU_NAME_check_bugs' arch/arm/kernel/kernel.o(.text+0xcc): In function `__dabt_svc': : undefined reference to `cpu_CPU_NAME_data_abort' arch/arm/kernel/kernel.o(.text+0x288): In function `$a': : undefined reference to `cpu_CPU_NAME_data_abort' arch/arm/kernel/kernel.o(.text+0x14f0): In function `default_idle': : undefined reference to `cpu_CPU_NAME_do_idle' arch/arm/kernel/kernel.o(.text+0x15e8): In function `machine_restart': : undefined reference to `cpu_CPU_NAME_proc_fin' arch/arm/kernel/kernel.o(.text+0x336c): In function `setup_return': : undefined reference to `cpu_CPU_NAME_icache_invalidate_range' arch/arm/kernel/kernel.o(.text+0x4a70): In function `$a': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' arch/arm/kernel/kernel.o(.text.init+0x648): In function `__real_stubs_start': : undefined reference to `cpu_CPU_NAME_proc_init' arch/arm/mm/mm.o(.text+0x3c): In function `do_check_pgt_cache': : undefined reference to `cpu_CPU_NAME_dcache_clean_entry' arch/arm/mm/mm.o(.text+0x74): In function `do_check_pgt_cache': : undefined reference to `cpu_CPU_NAME_dcache_clean_entry' arch/arm/mm/mm.o(.text+0x864): In function `do_translation_fault': : undefined reference to `cpu_CPU_NAME_set_pmd' arch/arm/mm/mm.o(.text+0xaf4): In function `$a': : undefined reference to `cpu_CPU_NAME_dcache_invalidate_range' arch/arm/mm/mm.o(.text+0xb04): In function `$a': : undefined reference to `cpu_CPU_NAME_dcache_clean_range' arch/arm/mm/mm.o(.text+0xb14): In function `$a': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' arch/arm/mm/mm.o(.text+0xc8c): In function `adjust_pte': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' arch/arm/mm/mm.o(.text+0xc9c): In function `adjust_pte': : undefined reference to `cpu_CPU_NAME_set_pte' arch/arm/mm/mm.o(.text+0xcb8): In function `adjust_pte': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_page' arch/arm/mm/mm.o(.text+0xce0): In function `adjust_pte': : undefined reference to `cpu_CPU_NAME_set_pmd' arch/arm/mm/mm.o(.text+0xd88): In function `update_mmu_cache': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' arch/arm/mm/mm.o(.text+0xe64): In function `update_mmu_cache': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' arch/arm/mm/mm.o(.text+0xf20): In function `__ioremap': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all' arch/arm/mm/mm.o(.text+0xffc): In function `__ioremap': : undefined reference to `cpu_CPU_NAME_set_pte' arch/arm/mm/mm.o(.text+0x108c): In function `__ioremap': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_all' arch/arm/mm/mm.o(.text+0x113c): In function `get_pgd_slow': : undefined reference to `cpu_CPU_NAME_set_pte' arch/arm/mm/mm.o(.text+0x115c): In function `get_pgd_slow': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' arch/arm/mm/mm.o(.text+0x11d4): In function `free_pgd_slow': : undefined reference to `cpu_CPU_NAME_set_pmd' arch/arm/mm/mm.o(.text+0x11e0): In function `free_pgd_slow': : undefined reference to `cpu_CPU_NAME_set_pmd' arch/arm/mm/mm.o(.text+0x1268): In function `setup_mm_for_reboot': : undefined reference to `cpu_CPU_NAME_set_pmd' arch/arm/mm/mm.o(.text+0x12b4): In function `$a': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' arch/arm/mm/mm.o(.text.init+0x33c): In function `paging_init': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all' arch/arm/mm/mm.o(.text.init+0x340): In function `paging_init': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_all' arch/arm/mm/mm.o(.text.init+0x4a0): In function `paging_init': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' arch/arm/mm/mm.o(.text.init+0x930): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pmd' arch/arm/mm/mm.o(.text.init+0x96c): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pte' arch/arm/mm/mm.o(.text.init+0x9e0): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pmd' arch/arm/mm/mm.o(.text.init+0xa58): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pmd' arch/arm/mm/mm.o(.text.init+0xa90): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pte' arch/arm/mm/mm.o(.text.init+0xba8): In function `memtable_init': : undefined reference to `cpu_CPU_NAME_set_pmd' arch/arm/mm/mm.o(.text.init+0xc4c): In function `memtable_init': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all' arch/arm/mm/mm.o(.text.init+0xc54): In function `memtable_init': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_all' kernel/kernel.o(.text+0x490): In function `schedule': : undefined reference to `cpu_CPU_NAME_set_pgd' kernel/kernel.o(.text+0x169c): In function `mm_init': : undefined reference to `cpu_CPU_NAME_dcache_clean_entry' kernel/kernel.o(.text+0x2468): In function `do_fork': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all' kernel/kernel.o(.text+0x2618): In function `do_fork': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_all' kernel/kernel.o(.text+0x420c): In function `end_lazy_tlb': : undefined reference to `cpu_CPU_NAME_set_pgd' kernel/kernel.o(.text+0x8730): In function `access_process_vm': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' kernel/kernel.o(.text+0x87d4): In function `access_process_vm': : undefined reference to `cpu_CPU_NAME_flush_ram_page' kernel/kernel.o(.text+0x884c): In function `access_process_vm': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' kernel/kernel.o(.text+0x88a4): In function `access_process_vm': : undefined reference to `cpu_CPU_NAME_flush_ram_page' mm/mm.o(.text+0xcc): In function `clear_page_tables': : undefined reference to `cpu_CPU_NAME_set_pmd' mm/mm.o(.text+0xdc): In function `clear_page_tables': : undefined reference to `cpu_CPU_NAME_set_pmd' mm/mm.o(.text+0x154): In function `pte_alloc': : undefined reference to `cpu_CPU_NAME_dcache_clean_entry' mm/mm.o(.text+0x1d4): In function `pte_alloc': : undefined reference to `cpu_CPU_NAME_set_pmd' mm/mm.o(.text+0x290): In function `copy_page_range': : undefined reference to `cpu_CPU_NAME_set_pmd' mm/mm.o(.text+0x354): In function `copy_page_range': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x3a0): In function `copy_page_range': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x484): In function `unmap_page_range': : undefined reference to `cpu_CPU_NAME_set_pmd' mm/mm.o(.text+0x520): In function `unmap_page_range': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x540): In function `unmap_page_range': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x640): In function `zap_page_range': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0x670): In function `zap_page_range': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_range' mm/mm.o(.text+0x948): In function `zeromap_page_range': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0xa18): In function `zeromap_page_range': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0xa24): In function `zeromap_page_range': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0xad8): In function `zeromap_page_range': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_range' mm/mm.o(.text+0xb68): In function `remap_page_range': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0xc18): In function `remap_page_range': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0xc58): In function `remap_page_range': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0xd10): In function `remap_page_range': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_range' mm/mm.o(.text+0x10a4): In function `handle_mm_fault': : undefined reference to `cpu_CPU_NAME_flush_ram_page' mm/mm.o(.text+0x10f0): In function `handle_mm_fault': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x1258): In function `handle_mm_fault': : undefined reference to `cpu_CPU_NAME_flush_ram_page' mm/mm.o(.text+0x12a0): In function `handle_mm_fault': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x13f0): In function `handle_mm_fault': : undefined reference to `cpu_CPU_NAME_flush_ram_page' mm/mm.o(.text+0x13fc): In function `handle_mm_fault': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x14ac): In function `handle_mm_fault': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0x160c): In function `handle_mm_fault': : undefined reference to `cpu_CPU_NAME_flush_ram_page' mm/mm.o(.text+0x1634): In function `handle_mm_fault': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0x1674): In function `handle_mm_fault': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x1690): In function `handle_mm_fault': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_page' mm/mm.o(.text+0x16f0): In function `handle_mm_fault': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x170c): In function `handle_mm_fault': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_page' mm/mm.o(.text+0x1b08): In function `map_user_kiobuf': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0x30c4): In function `exit_mmap': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all' mm/mm.o(.text+0x3174): In function `exit_mmap': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_range' mm/mm.o(.text+0x3f98): In function `truncate_list_pages': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0x3fd4): In function `truncate_list_pages': : undefined reference to `cpu_CPU_NAME_flush_ram_page' mm/mm.o(.text+0x4d00): In function `do_generic_file_read': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0x5a5c): In function `filemap_sync': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0x5ad4): In function `filemap_sync': : undefined reference to `cpu_CPU_NAME_set_pmd' mm/mm.o(.text+0x5b70): In function `filemap_sync': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x5b94): In function `filemap_sync': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_page' mm/mm.o(.text+0x5c34): In function `filemap_sync': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_range' mm/mm.o(.text+0x5ec8): In function `filemap_nopage': : undefined reference to `cpu_CPU_NAME_flush_ram_page' mm/mm.o(.text+0x7284): In function `do_generic_file_write': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0x7bf4): In function `$a': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0x7c54): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pmd' mm/mm.o(.text+0x7ca0): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x7cb8): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x7d44): In function `$a': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_range' mm/mm.o(.text+0x862c): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pmd' mm/mm.o(.text+0x869c): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x86b4): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x8be4): In function `do_mremap': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0x8c2c): In function `do_mremap': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_range' mm/mm.o(.text+0x8c64): In function `do_mremap': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0x8e58): In function `vmfree_area_pages': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all' mm/mm.o(.text+0x8ea8): In function `vmfree_area_pages': : undefined reference to `cpu_CPU_NAME_set_pmd' mm/mm.o(.text+0x8eec): In function `vmfree_area_pages': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x8fa4): In function `vmfree_area_pages': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_all' mm/mm.o(.text+0x90b8): In function `vmalloc_area_pages': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x9108): In function `vmalloc_area_pages': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all' mm/mm.o(.text+0x93c0): In function `__vmalloc': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x9414): In function `__vmalloc': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all' mm/mm.o(.text+0x95b8): In function `vmap': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0x9618): In function `vmap': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all' mm/mm.o(.text+0xaf24): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pmd' mm/mm.o(.text+0xafd4): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0xb0b0): In function `$a': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0xb0c0): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0xb0e0): In function `$a': : undefined reference to `cpu_CPU_NAME_tlb_invalidate_page' mm/mm.o(.text+0xb114): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0xb1b0): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0xd64c): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pmd' mm/mm.o(.text+0xd6fc): In function `$a': : undefined reference to `cpu_CPU_NAME_set_pte' mm/mm.o(.text+0xdb34): In function `sys_swapoff': : undefined reference to `cpu_CPU_NAME_flush_ram_page' mm/mm.o(.text+0xf790): In function `shmem_getpage': : undefined reference to `cpu_CPU_NAME_flush_ram_page' mm/mm.o(.text+0xf884): In function `shmem_getpage': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0xfbc4): In function `shmem_getpage': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' mm/mm.o(.text+0xfdd4): In function `shmem_nopage': : undefined reference to `cpu_CPU_NAME_flush_ram_page' fs/fs.o(.text+0x4288): In function `__block_prepare_write': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' fs/fs.o(.text+0x4444): In function `__block_prepare_write': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' fs/fs.o(.text+0x4754): In function `block_read_full_page': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' fs/fs.o(.text+0x4afc): In function `cont_prepare_write': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' fs/fs.o(.text+0x4c68): In function `cont_prepare_write': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' fs/fs.o(.text+0x4fb8): more undefined references to `cpu_CPU_NAME_cache_clean_invalidate_range' follow fs/fs.o(.text+0x959c): In function `put_dirty_page': : undefined reference to `cpu_CPU_NAME_flush_ram_page' fs/fs.o(.text+0x95e8): In function `put_dirty_page': : undefined reference to `cpu_CPU_NAME_set_pte' fs/fs.o(.text+0x9a00): In function `flush_old_exec': : undefined reference to `cpu_CPU_NAME_set_pgd' fs/fs.o(.text+0x1f488): In function `proc_pid_statm': : undefined reference to `cpu_CPU_NAME_set_pmd' fs/fs.o(.text+0x2782c): In function `ramfs_readpage': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' fs/fs.o(.text+0x27918): In function `$a': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' fs/fs.o(.text+0x2ec68): In function `$a': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' fs/fs.o(.text+0x2f0e8): In function `nfs_readpage': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' net/network.o(.text+0x4e6d0): In function `xdr_kunmap': : undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range' make: *** [vmlinux] Error 1 linux:/usr/arm_devtree/linux # --Glen On Wednesday 05 January 2005 07:22, Wookey wrote: > +++ Glen VanMilligan [05-01-04 16:15 -0800]: > > I still need help with this one. > > > > make[2]: Entering directory `/usr/arm_devtree/linux/arch/arm/tools' > > /opt/crosstool/arm-softfloat-linux-gnu/gcc-3.4.1-glibc-2.3.3/bin/arm-soft > >float-linux-gnu-gcc -D__KERNEL__ -I./include -Wall -Wstrict-prototypes > > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common > > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -msoft-float -Uarm > > -S -o > > constants.h.tmp.1 getconstants.c > > getconstants.c: In function `func': > > getconstants.c:33: error: structure has no member named `sigpending' > > getconstants.c:34: error: structure has no member named `addr_limit' > > getconstants.c:35: error: structure has no member named `need_resched' > > getconstants.c:39: error: structure has no member named `save' > > getconstants.c:40: error: structure has no member named `fpstate' > > getconstants.c:43: error: structure has no member named `domain' > > getconstants.c:46: error: `PTE_AP_READ' undeclared (first use in this > > function) > > getconstants.c:46: error: (Each undeclared identifier is reported only > > once getconstants.c:46: error: for each function it appears in.) > > getconstants.c:47: error: `PTE_AP_WRITE' undeclared (first use in this > > function) > > make[2]: *** [constants.h] Error 1 > > make[2]: Leaving directory `/usr/arm_devtree/linux/arch/arm/tools' > > make[1]: *** [dep] Error 2 > > make[1]: Leaving directory `/usr/arm_devtree/linux/arch/arm/tools' > > make: *** [archdep] Error 2 > > linux:/usr/arm_devtree/linux # > > This is trying to build your own kernel - correct? Which tree? > > And using your own crosstool-built toolchain (gcc-3.4.1)? > > Wookey