Ok, this is slightly off topic because the kernel I am trying to compile is the Rio Receiver kernel, but I think there are more kernel developers here than on the Receiver board...

I am trying to attempt to port voladj and probably some stuff from HiJack across to the Receiver. My first step is to get a stock kernel built.

I have successfully compiled an empeg kernel, so I know my cross compiler is working. When I try to compile the Rio Receiver, I get the following error, does anyone know what is going wrong:
------------------------------------------------------------
make[1]: Entering directory `/usr/local/src/rioreceiver-v1.03/mercury-kernel/arch/arm/kernel'
arm-empeg-linux-gcc -D__KERNEL__ -I/usr/local/src/rioreceiver-v1.03/mercury-kernel/include -D__ASSEMBLY__ -mno-fpu -mapcs-32 -marmv4 -c -o entry-armv.o entry-armv.S
entry-armv.S: Assembler messages:
entry-armv.S:495: Error: only flag field of psr can be set with immediate value
entry-armv.S:537: Error: only flag field of psr can be set with immediate value
entry-armv.S:570: Error: only flag field of psr can be set with immediate value
entry-armv.S:617: Error: only flag field of psr can be set with immediate value
entry-armv.S:631: Error: only flag field of psr can be set with immediate value
entry-common.S:27: Error: only flag field of psr can be set with immediate value
entry-armv.S:694: Error: only flag field of psr can be set with immediate value
entry-armv.S:734: Error: only flag field of psr can be set with immediate value
entry-armv.S:775: Error: only flag field of psr can be set with immediate value
entry-armv.S:802: Error: only flag field of psr can be set with immediate value
make[1]: *** [entry-armv.o] Error 1
make[1]: Leaving directory `/usr/local/src/rioreceiver-v1.03/mercury-kernel/arch/arm/kernel'
make: *** [_dir_arch/arm/kernel] Error 2
----------------------------------------------------------

Line 495 reads:

msr cpsr_c, #I_BIT | MODE_SVC

Line 537 reads:

msr cpsr_c, #I_BIT | MODE_SVC
_________________________
Remind me to change my signature to something more interesting someday