[Linux-streams] LiS 2.18 and OpenSuSe kernel 2.6.16.13-4-default

Reid Thompson reid.thompson en ateb.com
Mar Jun 6 19:24:41 CEST 2006


Has anyone successfully built on this kernel?
I'm trying to resolve this build error:

make
 CC      drivers/str/linux/relay.o
In file included from 
/lib/modules/2.6.16.13-4-default/build/include/linux/rwsem.h:27,
                from 
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h:42,
                from 
/lib/modules/2.6.16.13-4-default/build/include/linux/sched.h:20,
                from /usr/src/LiS-2.18/include/sys/LiS/linux-mdep.h:135,
                from /usr/src/LiS-2.18/include/sys/LiS/module.h:31,
                from /usr/src/LiS-2.18/drivers/str/relay.c:39:
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h: In function 
'__down_read':
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h:106: error: 
expected ':' or ')' before 'KBUILD_BASENAME'
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h: In function 
'__down_write':
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h:158: error: 
expected ':' or ')' before 'KBUILD_BASENAME'
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h: In function 
'__up_read':
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h:195: error: 
expected ':' or ')' before 'KBUILD_BASENAME'
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h:189: warning: 
unused variable 'tmp'
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h: In function 
'__up_write':
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h:221: error: 
expected ':' or ')' before 'KBUILD_BASENAME'
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h: In function 
'__downgrade_write':
/lib/modules/2.6.16.13-4-default/build/include/asm/rwsem.h:246: error: 
expected ':' or ')' before 'KBUILD_BASENAME'
In file included from 
/lib/modules/2.6.16.13-4-default/build/include/linux/sched.h:20,
                from /usr/src/LiS-2.18/include/sys/LiS/linux-mdep.h:135,
                from /usr/src/LiS-2.18/include/sys/LiS/module.h:31,
                from /usr/src/LiS-2.18/drivers/str/relay.c:39:
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h: In 
function 'down':
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h:105: 
error: expected ':' or ')' before 'KBUILD_BASENAME'
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h: In 
function 'down_interruptible':
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h:130: 
error: expected ':' or ')' before 'KBUILD_BASENAME'
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h: In 
function 'down_trylock':
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h:155: 
error: expected ':' or ')' before 'KBUILD_BASENAME'
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h: In 
function 'up':
/lib/modules/2.6.16.13-4-default/build/include/asm/semaphore.h:179: 
error: expected ':' or ')' before 'KBUILD_BASENAME'
make[1]: *** [relay.o] Error 1
make: *** [/usr/src/LiS-2.18/drivers/str/linux/drivers.o] Error 2


If anyone could provide some guidance/direction I'd appreciate it.

Thanks,
reid


Más información sobre la lista de distribución Linux-streams