LinuxQuestions.org
Help answer threads with 0 replies.
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 08-24-2005, 09:11 PM   #1
Royle
Member
 
Registered: Apr 2004
Posts: 112

Rep: Reputation: 15
Error compiling kernel.


I'm trying to compile a custom kernel and I keep getting this error after running:
Code:
make-kpkg --initrd --revision=10.00.Custom kernel_image
I get this:
Code:
  CC [M]  drivers/media/video/cx88/cx88-video.o
  CC [M]  drivers/media/video/cx88/cx88-tvaudio.o
  CC [M]  drivers/media/video/cx88/cx88-i2c.o
  CC [M]  drivers/media/video/cx88/cx88-vbi.o
  CC [M]  drivers/media/video/cx88/cx88-cards.o
include/asm/signal.h: In function `__gen_sigismember':
include/asm/signal.h:211: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions, see
<URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.
make[5]: *** [drivers/media/video/cx88/cx88-cards.o] Error 1
make[4]: *** [drivers/media/video/cx88] Error 2
make[3]: *** [drivers/media/video] Error 2
make[2]: *** [drivers/media] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
make: *** [stamp-build] Error 2
That was the last few lines. Anyone know what's wrong and how to fix it? Thanks in advance for your help.
 
Old 08-24-2005, 11:42 PM   #2
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
make[5]: *** [drivers/media/video/cx88/cx88-cards.o] Error 1
make[4]: *** [drivers/media/video/cx88] Error 2
make[3]: *** [drivers/media/video] Error 2
make[2]: *** [drivers/media] Error 2
make[1]: *** [drivers] Error 2

Your problem is there.....either untic those options makeing sure you dont need them or make as "M" modules.
You can go back and edit by "make menuconfig" in /usr/src/linux directory and navigate to drivers section to find the cx88-cards.
Then recompile.
 
Old 08-25-2005, 02:40 AM   #3
grexk
LQ Newbie
 
Registered: Mar 2005
Posts: 15

Rep: Reputation: 0
Just a comment, it is better if you do it like this "fakeroot make-kpkg --initrd --revision=10.00.Custom kernel_image"
 
Old 08-25-2005, 08:47 AM   #4
Royle
Member
 
Registered: Apr 2004
Posts: 112

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by ironwalker
make[5]: *** [drivers/media/video/cx88/cx88-cards.o] Error 1
make[4]: *** [drivers/media/video/cx88] Error 2
make[3]: *** [drivers/media/video] Error 2
make[2]: *** [drivers/media] Error 2
make[1]: *** [drivers] Error 2

Your problem is there.....either untic those options makeing sure you dont need them or make as "M" modules.
You can go back and edit by "make menuconfig" in /usr/src/linux directory and navigate to drivers section to find the cx88-cards.
Then recompile.
Where are this options? Thats what I thought I would have to do to get it to compile. But I didn't know where these options were.
 
Old 08-25-2005, 09:00 AM   #5
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
Quote:
Originally posted by grexk
Just a comment, it is better if you do it like this "fakeroot make-kpkg --initrd --revision=10.00.Custom kernel_image"
Why would that be better
 
Old 08-25-2005, 01:26 PM   #6
Cloughar
LQ Newbie
 
Registered: Aug 2005
Distribution: Debian
Posts: 2

Rep: Reputation: 0
The fastest way of getting around your compilerproblems might be selecting

Code maturity level options -> select only drivers expected to compile cleanly


Greetz
Hendrik
 
Old 08-25-2005, 01:27 PM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,644

Rep: Reputation: 111Reputation: 111
Quote:
Originally posted by Royle
Where are this options? Thats what I thought I would have to do to get it to compile. But I didn't know where these options were.
I believe it would be under video or video4linux that module is for a TV card.
 
Old 08-25-2005, 01:30 PM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,644

Rep: Reputation: 111Reputation: 111
Quote:
Originally posted by McCloud
Why would that be better
Because you would not be root when compiling the kernel by using the fakeroot package of course you would have to be a member of the src group for it to work properly.
 
Old 08-25-2005, 03:42 PM   #9
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
Quote:
Originally posted by Royle
Where are this options? Thats what I thought I would have to do to get it to compile. But I didn't know where these options were.
The same directory structure in the error is the same directory structure in "make menuconfig"(ncurses)
"make xconfig"(no ncurses).


Scrolldown to 4:3 Make menuconfig
Thats what will popup when you type make menuconfig
go through there to find the option related to the error.
http://newbiedoc.sourceforge.net/system/kernel-pkg.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Error while compiling kernel jeffreybluml Linux - Newbie 11 06-10-2004 02:32 PM
Error in compiling kernel solitarygod Linux - General 2 06-03-2004 12:29 AM
error compiling kernel trutnev Red Hat 0 04-21-2004 04:51 AM
error after compiling kernel fietzbellen Slackware 2 02-26-2004 04:00 PM
Kernel 2.4.23 compiling error vincebs Red Hat 4 12-14-2003 02:57 AM

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

All times are GMT -5. The time now is 07:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration