kernel package build problem

Fabio Massimo Di Nitto fabbione at ubuntu.com
Mon Apr 4 07:31:30 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Byron Poland wrote:
| Hi.
|
| I'm following this wiki page: "KernelBuildpackageDetailedHowto"
|
| to build a kernel package that includes a patch to update the dvb
| drivers to the latest cvs so I can use my air2pc dvb-atsc hidef card.
| I successfully created a package a month or so ago, but wanted to get
| up to date with the Hoary kernel.  The first time around I just used
| the dvb-kernel/makelinks script to link to the new dvb sources.  This
| time I figured I'd try the correct way, and generate a patch to do it
| and then add it to the patch list.
|
| I got a patch, and it says it applies fine:
|
| applying patch dvb-cvs to ./ ... ok.
|
| I don't even think that is an issue however since the kernel compile
| fails in acpi driver land:
|
|   CC      drivers/acpi/ec.o
| drivers/acpi/ec.c: In function `acpi_ec_gpe_query':
| drivers/acpi/ec.c:519: error: label at end of compound statement
| make[4]: *** [drivers/acpi/ec.o] Error 1
| make[3]: *** [drivers/acpi] Error 2
| make[2]: *** [drivers] Error 2
| make[2]: Leaving directory
| `/home/byron/linux/linux-source-2.6.10-2.6.10/debian/build/build-amd64-k8'
| make[1]: *** [stamp-build] Error 2
| make[1]: Leaving directory
| `/home/byron/linux/linux-source-2.6.10-2.6.10/debian/build/build-amd64-k8'
| make: *** [build] Error 2
|
| I'm using the following source:  linux-source-2.6.10 (2.6.10-33)
|
| Any help would be appreciated.
|

This is strange.. can you run:
diff -u debian/patches/00list-32 debian/patches/00list-33
and see if some patches have been removed for a mistake.
In theory only one line with your patch should appear.

Did you follow the steps on the how-to one by one (including the dch -i)?

The how-to is missing a bunch of important steps btw that are kinda simplified
in 2.6.10

Fabio

- --
Self-Service law:
The last available dish of the food you have decided to eat, will be
inevitably taken from the person in front of you.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQlDtUFA6oBJjVJ+OAQL11g//cHPlxeDwAZCV4Wqi/U05TYxeNyitWs2q
dZdMrywQ5ubtyX49djPLRiUmhFm6Rss2h2IjuoBOhqy88N9i143zwgy5EIaM4Sau
pMoxU3idjvEKMGtSr7lGQX23KV7uh05PBsw2Vce+pe5gnuKAWUQTaPJ4IVv+ZwrC
4zyitWur8hyVH7YypPW1T1utaQmBMpz7uOjJN7WCFndEVeTz79euXmd1nnaf4dMi
mon9sAjqmXjkTdKoY+1X6IneJzQ5GxVBY7zyXLLC5S95jWNviKHoC9zXZaV+6/xQ
H0lf6h5oF7Vtq43FDkKprsW/bvOC+SiZUooYU1Ipw+lYWdZW9sgXbZ3s95Rpy0wh
uVrrUWt/3aVSg9lThhWtKGE5uJpMRfCVhX/J7sse1tGB6WatWhPbvs57Ef7eMOIA
Cnz9i8TYCZVxft5RHO86h5YFoNw3jvxtdUhhKttqQZAONhfogSbC0dvbBAIAPXjI
BLSg4gzcB2B9qyz234tgHyowdVIcMFGAByMd4YqgYCpoqCEuwkFpedoLSYkeM6ol
Gf5sic8MPZMaYrQOJMLIePWRnOOtJ6sS8K2i1Licdkq7igF4cVYdYeqH4ufCPZ3z
HDp2II5d1e4GI/hW41H94x1gQ+1X6dNYtVHDz8tlr98zRq0rVmjVtcBaH2wKyx97
cBq2gLepb4c=
=ip9K
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list