Comment 5 for bug 555828

Revision history for this message
kjloh (kjloh71) wrote : Re: acerhk wont compile on lucid

I tried the changing Makefile approach but still get the following error during compilation:

make -C /lib/modules/`uname -r`/build SUBDIRS=/home/kjloh/acerhk-0.5.35 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-17-generic'
  CC [M] /home/kjloh/acerhk-0.5.35/acerhk.o
/home/kjloh/acerhk-0.5.35/acerhk.c: In function ‘call_bios_6xx’:
/home/kjloh/acerhk-0.5.35/acerhk.c:584: error: bp cannot be used in asm here
/home/kjloh/acerhk-0.5.35/acerhk.c: In function ‘set_mail_led’:
/home/kjloh/acerhk-0.5.35/acerhk.c:814: warning: ‘regs’ may be used uninitialized in this function
make[2]: *** [/home/kjloh/acerhk-0.5.35/acerhk.o] Error 1
make[1]: *** [_module_/home/kjloh/acerhk-0.5.35] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-17-generic'
make: *** [acerhk.ko] Error 2

just wonder if there is any clue? thanks so much.

regards,
KJ