[Debian]
Re: Bug#403712: kernel-patch-openvz: Cannot compile kernel,
undefined symbols
Ola Lundqvist
ola at opalsys.net
Thu Dec 21 01:16:43 EST 2006
Hi David
When I compiled the kernel yesterday using the same version of the kernel
and the openvz patch I did not need to do anything with symlinking.
My compile line look something like this:
export PATCH_THE_KERNEL=true
untar xxx.tar.gz
cd /usr/src/linux
make-kpkg -rfakeroot --append-to-version -openvz --added_patches openvz \
--revision 02 --initrd
I used the same .config file as in the upstream version.
I built it for 486, 686 and k7.
Regards,
// Ola
On Wed, Dec 20, 2006 at 10:30:34AM +0200, David Baron wrote:
> >> Hi
> >>
> >> I have built it now and I have no problem building. Not at least
> >> with make-kpkg.
> >
> >I use this.
> >
> >> According to upstream you did not run make oldconfig for some reason?
> >
> >It does this anyway. I compied to .config from the non-patched kernel and was
> >asked to fill in various new items inserted by the patch.
>
> >>
> >> So my question to you (before I close this bug) is how exactly you
> >> built the kernel?
>
> >Here is the script that I use:
> >#!/bin/sh
> >export PATCH_THE_KERNEL=true
> >cd /usr/src/linux
> >sudo make-kpkg --append-to-version -davidb-ovz --added_patches openvz
> >kernel_image
> >
> > Did you do as described in the README file or in some other way?
>
> I started over, fresh untar of the sources, the resultant .config from the
> previous attempt and (another bug, this in the current kernel sources), made
> the symlink in /usr/src/linux/include asm --> asm-i386 (or whatever one is
> using!)
>
> Reran the script.
>
> A few days ago when I filed the bug, the patch was followed by a series of
> deletions. This time, there were none, so just maybe it is OK....
>
> Let you know. (I have never succeded in booting one of these but that is
> another issue!)
>
--
--- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
/ ola at opalsys.net Annebergsslingan 37 \
| opal at debian.org 654 65 KARLSTAD |
| http://opalsys.net/ Mobile: +46 (0)70-332 1551 |
\ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 /
---------------------------------------------------------------
More information about the Debian
mailing list