Re: x86_32 compile error with the latest Mainline

From: Justin P. Mattock
Date: Tue Oct 19 2010 - 23:13:25 EST


On 10/19/2010 07:55 PM, Justin Mattock wrote:
looking into upstart, I realize I need to have an image in order to
load the policy
at boot... so after learning something new(normally make, make install
is just fine)
I seem to be hitting some thing with dpkg-gencontrol

make-kpkg --initrd --rootcmd fakeroot --revision=1
--append-to-version -justin-rt kernel_image kernel_headers
(probably have something wrong)

and the error:

-e 's/=ST/linux/g' -e 's/=R//g' \
-e 's/=KPV/12.032/g' \
-e 's/=K/vmlinuz/g' \
-e 's@=MK@@g' -e 's@=A@i386@g' \
-e 's/=I/YES/g' -e 's,=D,/boot,g' \
-e 's/=MD//g' \
-e 's@=M@@g' -e 's/=OF//g' \
-e 's/=S//g' -e 's@=B@i386@g' \
./debian/templates.l10n> ./debian/templates.master
install -p -o root -g root -m 644 ./debian/templates.master
/home/kernel/2.6.37/debian/linux-image-2.6.36-rc8-justin-rt+/DEBIAN/templates
dpkg-gencontrol -DArchitecture=i386 -isp \
-plinux-image-2.6.36-rc8-justin-rt+
-P/home/kernel/2.6.37/debian/linux-image-2.6.36-rc8-justin-rt+/
dpkg-gencontrol: error: package linux-image-2.6.36-rc8-justin-rt+ not
in control info
make[2]: *** [debian/stamp/binary/linux-image-2.6.36-rc8-justin-rt+] Error 255
make[2]: Leaving directory `/home/kernel/2.6.37'
make[1]: *** [debian/stamp/binary/pre-linux-image-2.6.36-rc8-justin-rt+] Error 2
make[1]: Leaving directory `/home/kernel/2.6.37'
make: *** [kernel_image] Error 2


I've gone in an enabled/disabled CONFIG_LOCALVERSION but still errors
out both ways..

any ideas on what I did wrong?
BTW: also noticed this thread as well
http://www.gossamer-threads.com/lists/linux/kernel/1266036



o.k. nevermind... needed to do more searching with this, ended up using a patch on this report, that fixes this error for me:
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/16447



Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/