kernel package build problem

Byron Poland wpoland at gmail.com
Mon Apr 4 00:05:20 UTC 2005


On Apr 3, 2005 7:31 PM, Byron Poland <wpoland at gmail.com> 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.
> 



Once again I'm scream for help and figure it out.  I had to use
gcc-3.4 for mythv, so I changed the symlinks  for gcc in /usr/bin to
point to 3.4 and the kernel package build requires 3.3.

Is there any easier way to switch back and forth?




More information about the ubuntu-users mailing list