building 2.6.24 in an intrepid environment
Gustin Johnson
gustin at echostar.ca
Thu Jan 1 12:14:00 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
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
<snip>
>>
>> According to this thread
>> http://bbs.archlinux.org/viewtopic.php?id=45882, 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.
<snip>
> 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAklcs4MACgkQwRXgH3rKGfP8VQCgmALwxpTDZYxTxN/oQ3zGiWnE
ZvEAoJqCoFEvVzigvu6txTgnf8mEp4+u
=CIhM
-----END PGP SIGNATURE-----
More information about the Ubuntu-Studio-users
mailing list