building 2.6.24 in an intrepid environment
Khashayar Naderehvandi
khashayar.lists at gmail.com
Thu Jan 1 13:36:12 GMT 2009
On Thu, Jan 1, 2009 at 1:14 PM, Gustin Johnson <gustin at echostar.ca> wrote:
> -----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).
>
Exactly, my hope is to build a working 2.6.24 kernel that's made for
intrepid, and put it in a ppa. Right now, I've been using hardy and
recompiling a bunch of applications that I want/need newer versions of
(ardour comes to mind). So I figured instead of upgrading dozens of
applications under hardy, all I need to do in intrepid is to build an
older kernel instead. But I want to that according to all rules of the
game, so to speak.
I know this isn't the best list to ask questions related to ppa, but
since I'm only going to build ubuntustudio related stuff, I'm gonna go
ahead and ask my questions anyway :-)
The thing is, the error I posted above was given by the ppa-builder on
the 386 build. The amd64 build almost finished, but gave this in the
end (after the compilation finished successfully):
[...]
kernel-wedge gen-control > debian/control
install -d /build/buildd/linux-2.6.24/debian/abi/2.6.24-22.46~intrepid~ppa1/amd64
sed -e 's/^\(.\+\)[[:space:]]\+\(.\+\)[[:space:]]\(.\+\)$/\3 \2 \1/' \
/build/buildd/linux-2.6.24/debian/build/build-generic/Module.symvers
| sort > /build/buildd/linux-2.6.24/debian/abi/2.6.24-22.46~intrepid~ppa1/amd64/generic
Checking ABI for generic...previous or current ABI file missing!
/build/buildd/linux-2.6.24/debian/abi/2.6.24-22.46~intrepid~ppa1/amd64/generic
/build/buildd/linux-2.6.24/debian/abi/2.6.24-22.45/amd64/generic
make: *** [abi-check-generic] Error 1
dpkg-buildpackage: failure: /usr/bin/fakeroot debian/rules binary-arch
gave error exit status 2
******************************************************************************
Build finished at 20081231-1745
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/linux-2.6.24
------------------------------------------------------------------------------
Any idea why?
More information about the Ubuntu-Studio-users
mailing list