Help needed compiling DSLinux

Stefan Sperling stsp at stsp.name
Sat Aug 11 10:42:13 CEST 2012


On Mon, Aug 06, 2012 at 02:44:10PM -0700, Caleb White wrote:
> 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:
> 

You are the first to try to compile this in months.

It is likely that changes need to be made to the tree to make
it compile on newer linux systems. Maybe this is a bug that's
always been present and which is exposed by changes made in newer
linux kernels installed on the cross-compiling host?

> 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.
> ..

> -- 
> dslinux-devel mailing list
> dslinux-devel at dslinux.in-berlin.de
> http://mailman.dslinux.in-berlin.de/mailman/listinfo/dslinux-devel-dslinux.in-berlin.de



More information about the dslinux-devel mailing list