[solved] Re: Error in `make' step
>> >> I'm trying to install the package slmodem-2.9.11-20070813.tar.gz in my
>> >> Etch
>> >> system but in the `make' step I get the following error message:
>> >>
>> >> kernel-ver.c:9:30: error: linux/utsrelease.h: No such file or directory
>> >>
>> >> . Previously I had done `make mrproper', `make oldconfig' and `make
>> >> dep'.
>> >> I don't know what to do now. Can anybody please help?
Florian Kulzer writes:
>> > Are you running a 2.6.18-5-* Debian kernel?
>> > Did you install the appropriate linux-headers-2.6.18-5-* package?
Rodolfo Medina wrote:
>> My kernel is: 2.6.18-4-686; I installed linux-headers-2.6.18-4-686.
Florian Kulzer <florian.kulzer+debian@icfo.es> writes:
> The linux-headers-2.6.18-4-686 package does not provide utsrelease.h
> (according to apt-file). You can check the documentation of the sl-modem
> source if it is possible to work around that or you can switch to the
> 2.6.18-5-686 kernel.
>
> $ apt-file list linux-headers-2.6.18-5-686 | grep utsrelease.h
> linux-headers-2.6.18-5-686: usr/src/linux-headers-2.6.18-5-686/include/linux/utsrelease.h
> linux-headers-2.6.18-5-686-bigmem:
> usr/src/linux-headers-2.6.18-5-686-bigmem/include/linux/utsrelease.h
Thanks.
Anyway the problem is solved since I replaced in the slmodem Makefile the line:
KERNEL_DIR:=/lib/modules/$(shell uname -r)/build
into:
KERNEL_DIR:=/usr/src/linux-headers-2.6.18-4-686
Bye
Rodolfo
Reply to: