Re: Build problem on 2.6.25.4 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have to give credit where credit is due.  I just relayed the
martian.tar.gz that Stephan sent me.  He's the one who deserves the
credit.  He found that certain function was depracated in 2.6.25
kernels and removed those function calls.  He's the one that deserves
the praise :)  The fastcall(), procedure if I am not mistaken :)

  Stefan Foerster
 <stefan.foerster@xxxxxxxxxxxxxx>

He gave the link
http://lwn.net/Articles/269595/

Thread on LinModem Discussion
http://www.nabble.com/Another-Patch-will-be-needed-for-kernel-version-2.6.25-ts17021760.html#a17378435

Regards,

Antonio


On 6/7/08, Ivica Grujic <grujakg@xxxxxxxxx> wrote:
> Antonio I'm thinking that others should know about your good deed, so
> I've posted this on the thread also ;)
>
> You would also need to keep in mind the patch for Makefile already
> applied to martian-full-20080407.
>
> diff -u -w -r martian-full-20080407/kmodule/Makefile
> martian/kmodule/Makefile
> --- martian-full-20080407/kmodule/Makefile      2008-04-08
> 02:52:13.000000000 +0200
> +++ martian/kmodule/Makefile    2006-12-03 00:39:24.000000000 +0100
> @@ -1,14 +1,8 @@
>   KRELEASE = $(shell uname -r)
> -
> -ifdef  KERNEL_DIR
> -KBUILD_DIR = $(KERNEL_DIR)
> -else
>   KBUILD_DIR = /lib/modules/$(KRELEASE)/build
> -endif
> -
>   MSRC_DIR = $(shell pwd)
>
> -EXTRA_CFLAGS += -DKMARTIAN_STAMP=20061202
> +EXTRA_CPPFLAGS += -DKMARTIAN_STAMP=20061202
>   CPPFLAGS += -DKMARTIAN_STAMP=20061202
>
>   # kbuild
>
> Think that EXTRA_CFLAGS make a difference.
>
> This Makefile is all I had to keep, not to build but to successfully run
> martian.
>
> Thanks again for great work.
>
> Regards
>
> grujakg
>
> Antonio Olivares wrote:
>> If compiling fails, there is a file that asks for
>> # linux/ioctl32.h>
>>
>> comment it out and the compilation will succeed.
>> /* # linux/ioctl32.h>  */
>>
>> I forgot to mention this in the previous emails.
>>
>> Regards,
>>
>> Antonio
>>
>>
>> --- On Sat, 6/7/08, Ivica Grujic <grujakg@xxxxxxxxx> wrote:
>>
>>> From: Ivica Grujic <grujakg@xxxxxxxxx>
>>> Subject: Re: Fw: [Fwd: [Fwd: Re: Another Patch will be needed for kernel
>>> version 2.6.25]]
>>> To: olivares14031@xxxxxxxxx
>>> Date: Saturday, June 7, 2008, 8:27 AM
>>> Yes, I got it.
>>>
>>> Thanks a lot.
>>>
>>> Regards,
>>>
>>> grujakg
>>>
>>> Antonio Olivares wrote:
>>>> Done,
>>>>
>>>> please let me know if you receive it without problems.
>>> :)
>>>> Regards,
>>>>
>>>> Antonio
>>>>
>>>>
>

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux