Regression: flag "-pg" on /usr/src/$(uname -r)/Makefile prevents acerhk-source package from compiling. Computer becomes unusable because there is no equivalent to acerhk in the kernel.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acerhk (Ubuntu) |
In Progress
|
Undecided
|
Jacek Chwastek | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Andy Whitcroft |
Bug Description
acerhk-source does not compile on Lucid.
This is the output of the buildlog: http://
Error message:
CC [M] /usr/src/
gcc: -pg and -fomit-
Commenting the line
KBUILD_CFLAGS += -pg
from /usr/src/$(uname -r)/Makefile solves the problem.
xxx
I've found this post: http://
and I tried the suggested diff from here: https:/
But with the diff I'm still unable to compile acerhk, the error comes up.
output of
lscpi: http://
lshw: http://
Could somebody help me? This kernel module would be important for me because I need this for my wi-fi LED and button to get work.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: acerhk-source 0.5.35-8
ProcVersionSign
Uname: Linux 2.6.32-19-generic i686
Architecture: i386
Date: Mon Apr 5 18:06:13 2010
PackageArchitec
ProcEnviron:
LANG=hu_HU.utf8
SHELL=/bin/bash
SourcePackage: acerhk
Changed in acerhk (Ubuntu): | |
status: | New → Confirmed |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
summary: |
- acerhk wont compile on lucid + Regression: flag "-pg" on /usr/src/$(uname -r)/Makefile prevents acerhk- + source package from compiling, cutting internet access |
description: | updated |
tags: | added: regression-release |
Changed in acerhk (Ubuntu): | |
assignee: | nobody → Jacek Chwastek (cogito-16) |
Changed in acerhk (Ubuntu): | |
status: | Confirmed → In Progress |
tags: | added: patch |
I too was frustrated by this, having struggled for months to get my laptop wifi running on Ubuntu before discovering acerhk, only to be facing the same problem again! However, I discovered that Acerhk appears to be no longer maintained. Instead, use acer-wmi. I have tried out the following and it works in Lucid rc and Karmic - probably in earlier versions too as acer-wmi has been round for a while.
If you have acerhk, remove it with:
sudo modprobe -r acerhk
then install acer-wmi:
sudo modprobe acer-wmi
You should now be able to connect to your hub via Network Manager. On my FSC Amilo Li 2735, this works straight 'out of the box' on a fresh install with no ethernet connection, though some laptops possibly require extra drivers.
To tidy up, and make wifi run automatically at start-up:
sudo nano /etc/modules
Delete 'acerhk' if present, and add 'acer-wmi' (without apostrophes) to the bottom of the text. Press Ctrl + O, then press Enter, then Ctrl + X to save and close. I also used Synaptics to remove acerhk and acerhkgui