make hangs without even giving any error on 10.10

Bug #669569 reported by Maurizio
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
acerhk (Debian)
New
Undecided
Unassigned
acerhk (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I am running the new Ubuntu 10.10
I've tried on two different computers to compile this module, either on a live cd, or on a clean installation, with and without the recent updates (kernel 2.6.35.22-35) but I am not able to even get any error when I try to compile this module. make command simply hangs and if I try with the debug output, it seems to hang when reading the makefile

ubuntu@ubuntu:/usr/src/modules/acerhk$ sudo make -d
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i686-pc-linux-gnu
Reading makefiles...
Reading makefile `Makefile'...

Can you help me in working this out?

Thanks

Revision history for this message
Ruslans Tarasovs (ruslan-tarasovs) wrote :

I am Debian user, but I guess the problem is the same there. The "version.h" format seems to be changed, so the following line hangs in the Makefile.

KERNELVERSION=$(shell awk -F\" '/REL/ {print $$2}' $(shell grep -s -l REL $(KERNELSRC)/include/linux/version.h $(KERNELSRC)/include/linux/utsrelease.h))

Just edit Makefile you have in acerhk module and replace the line above by the following (use your kernel version instead):

KERNELVERSION=2.6.37

Make will work perfectly after that. Also, if possible, report the problem to "acerhk" developer so they can fix that. I do not have the time for that :)

Revision history for this message
Ruslans Tarasovs (ruslan-tarasovs) wrote :

It seems to be a partial duplicate of #555828

Revision history for this message
MacRules (macrules) wrote :

I have the exact same problem in 11.04.
This is a huge bug as far as I am concerned.
This also happens with compiling the acer_acpi package

Revision history for this message
MacRules (macrules) wrote :

Hi Ruslans, thank you for this hint.
This stops the hang indeed, unfortunately it gives other compile errors on 11.04:

ubuntu@ubuntu-WIM-2030:~/Downloads/acerhk-0.5.35$ make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/ubuntu/Downloads/acerhk-0.5.35 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/ubuntu/Downloads/acerhk-0.5.35/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/home/ubuntu/Downloads/acerhk-0.5.35] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make: *** [acerhk.ko] Error 2

I guess devs would have to fix that too in the repos, but there seems to be no maintainer.

Revision history for this message
MacRules (macrules) wrote :

There is a fix here:
https://bugs.launchpad.net/ubuntu/+source/acerhk/+bug/555828
for 11.04.

hope it will be incoporated in ubuntu's sources

Changed in acerhk (Debian):
status: New → Confirmed
Changed in acerhk (Ubuntu):
status: New → Confirmed
Changed in acerhk (Debian):
status: Confirmed → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.