Zagura’s blog

April 30, 2010

acerhk - gcc: -pg and -fomit-frame-pointer are incompatible

Filed under: Uncategorized — puthre @ 10:57 pm

If you have problems compiling acerhk on the latest ubuntu distribution modify
/usr/src/`uname -r`/Makefile and comment :

ifdef CONFIG_FUNCTION_TRACER
#KBUILD_CFLAGS<->+= -pg
endif

Remove the comment after the successful compile so you leave the sources as they were.

1 Comment »

  1. Oh, I was waiting for this since Ubuntu 10.04 was released!
    It worked perfectly on my Acer TravelMate 2700 and now I can use:
    echo 0 > /proc/driver/acerhk/wirelessled
    echo 1 > /proc/driver/acerhk/wirelessled
    … to turn off or on the wireless led button light.
    THANK YOU, THANK YOU, THANK YOU!!!

    Comment by Kubric — May 2, 2010 @ 3:04 pm

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress