Help needed compiling DSLinux

Caleb White calebd.white at yahoo.com
Mon Aug 6 23:44:10 CEST 2012


I'm having alot of problems compiling DSLinux. I'm constantly getting errors and when I fix them I get more. The latest one I can't figure out how to fix it. Here it is:

make -C tools/ucfront
make[1]: Entering directory `/home/caleb/Desktop/dslinux/tools/ucfront'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/caleb/Desktop/dslinux/tools/ucfront'
ln -sf /home/caleb/Desktop/dslinux/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /home/caleb/Desktop/dslinux/tools/ucfront/ucfront tools/ucfront-g++
make ARCH=arm CROSS_COMPILE=arm-linux-elf- -C linux-2.6.x  || exit 1
make[1]: Entering directory `/home/caleb/Desktop/dslinux/linux-2.6.x'
  CHK     include/linux/version.h
make[2]: `include/asm-arm/mach-types.h' is up to date.
  CC      arch/arm/kernel/asm-offsets.s
In file included from include/asm/page.h:28,
                 from include/asm/cpu-single.h:36,
                 from include/asm/proc-fns.h:195,
                 from include/asm/system.h:100,
                 from include/asm/bitops.h:22,
                 from include/linux/bitops.h:77,
                 from include/linux/thread_info.h:20,
                 from include/linux/spinlock.h:53,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/glue.h:135:2: error: #error Unknown data abort handler type
In file included from include/asm/semaphore.h:10,
                 from include/linux/sched.h:20,
                 from arch/arm/kernel/asm-offsets.c:13:
include/linux/rwsem.h:27:65: error: asm/rwsem.h: No such file or directory
In file included from include/asm/semaphore.h:10,
                 from include/linux/sched.h:20,
                 from arch/arm/kernel/asm-offsets.c:13:
include/linux/rwsem.h: In function 'down_read':
include/linux/rwsem.h:45: warning: implicit declaration of function '__down_read'
include/linux/rwsem.h: In function 'down_read_trylock':
include/linux/rwsem.h:56: warning: implicit declaration of function '__down_read_trylock'
include/linux/rwsem.h: In function 'down_write':
include/linux/rwsem.h:68: warning: implicit declaration of function '__down_write'
include/linux/rwsem.h: In function 'down_write_trylock':
include/linux/rwsem.h:79: warning: implicit declaration of function '__down_write_trylock'
include/linux/rwsem.h: In function 'up_read':
include/linux/rwsem.h:90: warning: implicit declaration of function '__up_read'
include/linux/rwsem.h: In function 'up_write':
include/linux/rwsem.h:100: warning: implicit declaration of function '__up_write'
include/linux/rwsem.h: In function 'downgrade_write':
include/linux/rwsem.h:110: warning: implicit declaration of function '__downgrade_write'
In file included from arch/arm/kernel/asm-offsets.c:13:
include/linux/sched.h: At top level:
include/linux/sched.h:274: error: field 'mmap_sem' has incomplete type
In file included from include/linux/fs.h:213,
                 from include/linux/mm.h:15,
                 from arch/arm/kernel/asm-offsets.c:14:
include/linux/kobject.h:153: error: field 'rwsem' has incomplete type
In file included from include/linux/fs.h:291,
                 from include/linux/mm.h:15,
                 from arch/arm/kernel/asm-offsets.c:14:
include/linux/quota.h:290: error: field 'dqptr_sem' has incomplete type
In file included from include/linux/mm.h:15,
                 from arch/arm/kernel/asm-offsets.c:14:
include/linux/fs.h:445: error: field 'i_alloc_sem' has incomplete type
In file included from include/linux/mm.h:15,
                 from arch/arm/kernel/asm-offsets.c:14:
include/linux/fs.h:774: error: field 's_umount' has incomplete type
make[2]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/home/caleb/Desktop/dslinux/linux-2.6.x'
make: *** [linux] Error 1

Anyone know what's the problem? Any help given will be greatly appreciated.
..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.dslinux.in-berlin.de/pipermail/dslinux-devel-dslinux.in-berlin.de/attachments/20120806/69a8b53f/attachment.htm 


More information about the dslinux-devel mailing list