beg_g
04-03-2002, 07:20 AM
I wrote a kernel module for a character device however, when I try to compile it I get an assembler error, could this be a problem of the code or is it internal?
beg_g@pop:~ > make
gcc -Wall -DMODULE -D__KERNEL__ -DLINUX -c char.c -I/lib/modules/`uname
-r`/build/include
/tmp/ccaELEEv.s: Assembler messages:
/tmp/ccaELEEv.s:219: Error: `%al' not allowed with `movl'
make: *** [char.o] Error 1
Any help would be highly appreciated.
Gerald
beg_g@pop:~ > make
gcc -Wall -DMODULE -D__KERNEL__ -DLINUX -c char.c -I/lib/modules/`uname
-r`/build/include
/tmp/ccaELEEv.s: Assembler messages:
/tmp/ccaELEEv.s:219: Error: `%al' not allowed with `movl'
make: *** [char.o] Error 1
Any help would be highly appreciated.
Gerald