[Bug 456123] Re: Karmic: cannot compile acerhk-source. No rule to make target kernel/bounds.c.
jmcervera
juanmacervera at gmail.com
Wed Oct 21 11:01:10 UTC 2009
Hi Moma.
I have resolved my problem.
I have notice that acerhk.ko was copied to /lib/modules/2.6.31.4/extra/
instead of /lib/modules/2.6.31.14-generic/extra/ where it should be.
I just copied it and all of your notes work well.
Thank you very much.
Juanma Cervera
2009/10/21 Juan M. Cervera <juanmacervera at gmail.com>
> Thanks moma
>
> But I have no luck, and everything seems OK.
>
> The module acerhk.ko is copied to the directory /lib/modules/
> 2.6.31.4/extra/. Verified.
>
> And I have run "sudo depmod -a" . I don't know what it does, because this
> makes no feedback in my terminal prompt.
>
> But when I try to load the module with modprobe:
> sudo /sbin/modprobe --ignore-install acerhk force_series=6805 autowlan=1
> I get the message ""FATAL: Module acerhk not found"
>
>
>
> 2009/10/20 moma <osmoma at online.no>
>
>> Run the "make install" as
>>
>> $ sudo make install.
>>
>> The driver/module name is "acerhk.ko", and "sudo make install" will copy
>> it from compilation directory to /lib/modules/$(uname -r)/extra/.
>> Check if you find it there.
>> $ ls -l /lib/modules/$(uname -r)/extra/
>>
>> You must also run
>> $ sudo depmod -a
>> afterwards.
>> ----
>> BTW: It would be great if the Ubuntu's "acerhk-source" package compiled
>> without errors so we could use it instead of various hacks. Notice that
>> "acerhk-source" puts the source into /usr/src/ directory.
>>
>> --
>> Karmic: cannot compile acerhk-source. No rule to make target
>> kernel/bounds.c.
>> https://bugs.launchpad.net/bugs/456123
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in “acerhk” package in Ubuntu: New
>>
>> Bug description:
>> Binary package hint: acerhk-source
>>
>> Hello,
>>
>> I have Fujitsu Siemens AMILO laptop and need desperately to compile the
>> acerhk-source module. It is vital for activation of WLAN in this laptop
>> model.
>>
>> This posting has more background about this:
>> http://newyork.ubuntuforums.org/showthread.php?t=1294262
>>
>> So I try to compile the acerhk-source modle, but it fails with error
>> message "No rule to make target `kernel/bounds.c', needed by
>> `kernel/bounds.s'."
>>
>> I do this:
>> $ sudo apt-get install build-essential linux-headers-$(uname -r)
>>
>> $ sudo apt-get install acerhk-source
>>
>> It will install the source tar-balls in the /usr/src/ director.
>> Let's unpack them.
>>
>> $ cd /usr/src
>>
>> $ sudo tar -xvjf acerhk.tar.bz2
>>
>> Compile the acerhk source
>> $ cd modules/acerhk
>>
>> $ sudo make
>>
>> make[2]: *** No rule to make target `kernel/bounds.c', needed by
>> `kernel/bounds.s'. Stop.
>> make[1]: *** [prepare0] Error 2
>> --------------
>>
>> Please help.
>>
>> ProblemType: Bug
>> Architecture: i386
>> AudioDevicesInUse:
>> USER PID ACCESS COMMAND
>> /dev/snd/controlC0: moma 1401 F.... pulseaudio
>> CRDA: Error: [Errno 2] No such file or directory
>> Card0.Amixer.info:
>> Card hw:0 'SB'/'HDA ATI SB at 0xc0500000 irq 16'
>> Mixer name : 'Realtek ALC861-VD'
>> Components : 'HDA:10ec0862,173410fb,00100001
>> HDA:10573055,173410fb,00100700'
>> Controls : 14
>> Simple ctrls : 9
>> Date: Tue Oct 20 10:25:09 2009
>> DistroRelease: Ubuntu 9.10
>> HibernationDevice: RESUME=UUID=c227fdae-6e11-42ce-a414-8e280d80ea78
>> Lsusb:
>> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> MachineType: FUJITSU SIEMENS AMILO Li 1718
>> Package: linux-headers-2.6.31-14-generic 2.6.31-14.48 [modified:
>> usr/src/linux-headers-2.6.31-14-generic/scripts/basic/.fixdep.cmd
>> usr/src/linux-headers-2.6.31-14-generic/scripts/basic/.docproc.cmd
>> usr/src/linux-headers-2.6.31-14-generic/scripts/basic/.hash.cmd
>> usr/src/linux-headers-2.6.31-14-generic/scripts/kconfig/.conf.o.cmd
>> usr/src/linux-headers-2.6.31-14-generic/scripts/kconfig/.kxgettext.o.cmd
>> usr/src/linux-headers-2.6.31-14-generic/scripts/kconfig/.zconf.tab.o.cmd
>> usr/src/linux-headers-2.6.31-14-generic/include/linux/autoconf.h
>> usr/src/linux-headers-2.6.31-14-generic/include/linux/utsrelease.h
>> usr/src/linux-headers-2.6.31-14-generic/include/config/auto.conf.cmd
>> usr/src/linux-headers-2.6.31-14-generic/include/config/auto.conf
>> usr/src/linux-headers-2.6.31-14-generic/include/config/kernel.release]
>> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-14-generic
>> root=UUID=8ac1bb29-22eb-42a7-96da-d2a827a5b4dc ro quiet splash
>> ProcEnviron:
>> LANG=en_US.UTF-8
>> SHELL=/bin/bash
>> ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
>> RelatedPackageVersions:
>> linux-backports-modules-2.6.31-14-generic N/A
>> linux-firmware 1.24
>> RfKill:
>> 0: phy0: Wireless LAN
>> Soft blocked: no
>> Hard blocked: no
>> SourcePackage: linux
>> Uname: Linux 2.6.31-14-generic i686
>> XsessionErrors:
>> (gnome-settings-daemon:1452): GLib-CRITICAL **: g_propagate_error:
>> assertion `src != NULL' failed
>> (gnome-settings-daemon:1452): GLib-CRITICAL **: g_propagate_error:
>> assertion `src != NULL' failed
>> (polkit-gnome-authentication-agent-1:1583): GLib-CRITICAL **:
>> g_once_init_leave: assertion `initialization_value != 0' failed
>> (nautilus:1558): Eel-CRITICAL **: eel_preferences_get_boolean: assertion
>> `preferences_is_initialized ()' failed
>> (gnome-panel:1554): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
>> to allocate widget with width -5 and height 24
>> dmi.bios.date: 11/12/07
>> dmi.bios.vendor: Phoenix
>> dmi.bios.version: V1.9
>> dmi.board.name: AMILO Li 1718
>> dmi.board.vendor: FUJITSU SIEMENS
>> dmi.board.version: Rev.A
>> dmi.chassis.asset.tag: No Asset Tag
>> dmi.chassis.type: 1
>> dmi.chassis.vendor: ATI
>> dmi.chassis.version: N/A
>> dmi.modalias:
>> dmi:bvnPhoenix:bvrV1.9:bd11/12/07:svnFUJITSUSIEMENS:pnAMILOLi1718:pvr-1:rvnFUJITSUSIEMENS:rnAMILOLi1718:rvrRev.A:cvnATI:ct1:cvrN/A:
>> dmi.product.name: AMILO Li 1718
>> dmi.product.version: -1
>> dmi.sys.vendor: FUJITSU SIEMENS
>>
>
>
--
Karmic: cannot compile acerhk-source. No rule to make target kernel/bounds.c.
https://bugs.launchpad.net/bugs/456123
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list