building 2.6.24 in an intrepid environment

Gustin Johnson gustin at
Thu Jan 1 12:14:00 GMT 2009

Hash: SHA1

Gerhard Lang wrote:
> Khashayar Naderehvandi schrieb:
>> Hi all,
>> I'm trying to make a proper build of hardy's kernel for intrepid,
>> using the source debs from hardy. I think kernel 2.6.24 has a problem
>> with gcc 4.3, giving me these errors:
>> kernel/built-in.o: In function `timespec_add_ns':
>> /build/buildd/linux-2.6.24/include/linux/time.h:177: undefined
>> According to this thread
>>, there's a solution if
>> one changes CFLAGS_KERNEL in Makefile.
>> Now, to my question. The kernel source debs work rather differently
>> than other packages. For instance, there's no debian/patches folder,
>> where I otherwise would put a patch change Makefile. Could some kind
>> soul tell me how to do this? Note that I'm well aware of how to
>> compile a kernel, with make-kpkg or just "manually". But what I want
>> is to have debs produced in the same way the offical kernel debs are
>> produced.
>> Thanks in advance,
>> Khashayar
> Why don't you use the official kernel debs?

He is attempting to build 2.6.24 directly under 8.10.  Your solution
would cause problems because the kernel would be built with a different
version of gcc than any modules you tried to add (nvidia, vmware or
whatever else you may add to your kernel).

I snipped the next part since it does not address his question.
> frustrating attempt to compile a 2.6.28-rt kernel with the config of
> 2.6.24-23-rt.

Not surprising since there is no rt patch for 2.6.28.
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


More information about the Ubuntu-Studio-users mailing list