Hi @all
I use Slackware 12.2 with Kernel 2.6.27.7
I tried to compile acerhk, http://www.cakey.de/acerhk/
I've untared the package in /home/user/acerhk-0.5.35/ and run make
Ok, I edited the Makefile and changed the following lineCode:~/acerhk-0.5.35/# make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/user/acerhk-0.5.35 modules
make[1]: Entering directory `/usr/src/linux-2.6.27.7´
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/user/acerhk-0.5.35/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/home/user/acerhk-0.5.35] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.7´
make: *** [acerhk.ko] Error 2
~/acerhk-0.5.35/#
CFLAGS+=-c -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
in
EXTRA_CFLAGS+=...
and tried again
now I don't have any idea where the switch "-pg" comes from or what I can do to fix that problem!Code:~/acerhk-0.5.35/# make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/acerhk-0.5.35 modules
make[1]: Entering directory `/usr/src/linux-2.6.27.7´
CC [M] /home/acerhk-0.5.35/acerhk.o
gcc: -pg and -fomit-frame-pointer are incompatible
make[2]: *** [/home/user/acerhk-0.5.35/acerhk.o] Error 1
make[1]: *** [_module_/home/user/acerhk-0.5.35] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.7´
make: *** [acerhk.ko] Error 2
~/acerhk-0.5.35/#
I hope you'll help me, please.