Hey, I've been using Linux for a couple months, and lately I've been a bit nomadic as far as distributions are concerned. See, my wireless card (Linksys WPC54G v1.2) uses a Broadcom chipset; and while 2.6.17+ kernels support it natively, Ubuntu is the only distro that has implemented support for it thus far. I've tried the obsolete versions of the driver from its website, but its dependencies don't seem to work too well (and I'm not the only one for whom this is so - the forums there are full of similar errors).
Then I tried switching to Ubuntu. As it turns out, though, Ubuntu hates my computer (I've tried pretty much every installation method in existence, but none work), so that leaves me with upgrading the kernel. I'd heard that the procedure is made easier in Debian, so I just kept my Debian 3.1 install since I had already put it on my computer in one attempt at installing Ubuntu. Just my luck - the kernel refuses to compile.
I downloaded the source of kernel 2.6.17.7 from kernel.org, untarred it to /usr/src, created a symlink to it called linux, and entered "make menuconfig" at /usr/src/linux-2.6.17.7. As per online instructions, the following is what I did then, after installing the relevant software packages:
Code:
make-kpkg clean
fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image
I waited about an hour and a half, and the compilation seemed to go okay until the end. No .deb file was created in /usr/src, however, and this is what appeared at the end of the output:
Quote:
drivers/media/dvb/ttpci/budget-av.c: In function `frontend_init':
drivers/media/dvb/ttpci/budget-av.c:1063: error: structure has no member named `reinitialise_demod'
drivers/media/dvb/ttpci/budget-av.c:1068: error: request for member `tuner_ops' in something not a structure or union
drivers/media/dvb/ttpci/budget-av.c:1068: error: `philips_cu1216_tuner_set_params' undeclared (first use in this function)
drivers/media/dvb/ttpci/budget-av.c:1068: error: (Each undeclared identifier is reported only once
drivers/media/dvb/ttpci/budget-av.c:1068: error: for each function it appears in.)
make[5]: *** [drivers/media/dvb/ttpci/budget-av.o] Error 1
make[4]: *** [drivers/media/dvb/ttpci] Error 2
make[3]: *** [drivers/media/dvb] Error 2
make[2]: *** [drivers/media] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17.7'
make: *** [stamp-build] Error 2
|
So I tried compiling it in what is apparently the traditional way. "make modules" returned the following after compiling two files:
Quote:
drivers/media/dvb/ttpci/budget-av.c: In function `frontend_init':
drivers/media/dvb/ttpci/budget-av.c:1063: error: structure has no member named `reinitialise_demod'
drivers/media/dvb/ttpci/budget-av.c:1068: error: request for member `tuner_ops' in something not a structure or union
drivers/media/dvb/ttpci/budget-av.c:1068: error: `philips_cu1216_tuner_set_params' undeclared (first use in this function)
drivers/media/dvb/ttpci/budget-av.c:1068: error: (Each undeclared identifier is reported only once
drivers/media/dvb/ttpci/budget-av.c:1068: error: for each function it appears in.)
make[4]: *** [drivers/media/dvb/ttpci/budget-av.o] Error 1
make[3]: *** [drivers/media/dvb/ttpci] Error 2
make[2]: *** [drivers/media/dvb] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
|
Obviously, it's pretty much the same exact error message. Problem is, I have no clue how to interpret it, being the newb to kernel compiling that I am. Could someone please give me an idea of what's gone wrong here?