LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Error compiling kernel. (https://www.linuxquestions.org/questions/debian-26/error-compiling-kernel-356671/)

Royle 08-24-2005 08:11 PM

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.

ironwalker 08-24-2005 10:42 PM

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.

grexk 08-25-2005 01:40 AM

Just a comment, it is better if you do it like this "fakeroot make-kpkg --initrd --revision=10.00.Custom kernel_image"

Royle 08-25-2005 07:47 AM

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.

McCloud 08-25-2005 08:00 AM

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 :confused:

Cloughar 08-25-2005 12:26 PM

The fastest way of getting around your compilerproblems might be selecting

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


Greetz
Hendrik

HappyTux 08-25-2005 12:27 PM

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.

HappyTux 08-25-2005 12:30 PM

Quote:

Originally posted by McCloud
Why would that be better :confused:
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.

ironwalker 08-25-2005 02:42 PM

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


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