LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-26-2006, 11:01 AM   #1
Aranel
Member
 
Registered: Jun 2006
Location: USA
Distribution: Ubuntu Edgy, Fedora Zod, and SuSE 10.1; some experience with Mandriva 2006 and Debian Sarge
Posts: 37

Rep: Reputation: 15
Can't compile 2.6.17.7 kernel


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?
 
Old 07-26-2006, 12:52 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
When you compile your kernel go into the configuration for the DVB devices and disable them (that is select n for no) unless you have a DVB card which is used for Digital TV broadcast via satellite. There are also probably plenty of other drivers you can disable like network cards you do not have installed, tv cards, sound cards .....
 
Old 07-26-2006, 01:06 PM   #3
Aranel
Member
 
Registered: Jun 2006
Location: USA
Distribution: Ubuntu Edgy, Fedora Zod, and SuSE 10.1; some experience with Mandriva 2006 and Debian Sarge
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by HappyTux
When you compile your kernel go into the configuration for the DVB devices and disable them (that is select n for no) unless you have a DVB card which is used for Digital TV broadcast via satellite. There are also probably plenty of other drivers you can disable like network cards you do not have installed, tv cards, sound cards .....
Aha, I guess that would explain it. Thank you very much! It's compiling again now...*crosses fingers*
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to restore out-of-box kernel settings if my kernel compile fails? brgr88 Slackware 8 04-18-2006 06:51 AM
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
compile a new kernel with setting default to current kernel mrpc_cambodia Red Hat 6 07-06-2004 11:32 AM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration