Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Kernel-Package Compiling

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Archangel

Kernel-Package Compiling

#1 Post by Archangel »

I compiled a few test runs a few days ago, then suddenly it started throwing an error after I'd waited about 3 hours for it to compile on my old-ass machine.

I tried everything I could thing of to undo whatever I had done, eventually going so far as to format my disk and reinstall sarge. However, upon reinstallation... It was just throwing the same error.

Any help would be greatly appreciated folks, this is really driving me crazy.

Code: Select all

gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix include -DKBUILD_BASENAME=daisy  -c -o daisy.o daisy.c
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix include -DKBUILD_BASENAME=probe  -c -o probe.o probe.c
ld -m elf_i386 -r -o parport.o share.o ieee1284.o ieee1284_ops.o init.o procfs.o daisy.o probe.o
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix include -DKBUILD_BASENAME=parport_pc  -DEXPORT_SYMTAB -c parport_pc.c
parport_pc.c: In function `parport_pc_epp_read_data':
parport_pc.c:417: warning: use of cast expressions as lvalues is deprecated
parport_pc.c:444: warning: use of cast expressions as lvalues is deprecated
parport_pc.c: In function `parport_pc_epp_write_data':
parport_pc.c:473: warning: use of cast expressions as lvalues is deprecated
parport_pc.c: In function `parport_pc_epp_read_addr':
parport_pc.c:497: warning: use of cast expressions as lvalues is deprecated
parport_pc.c: In function `parport_pc_epp_write_addr':
parport_pc.c:522: warning: use of cast expressions as lvalues is deprecated
rm -f driver.o
ld -m elf_i386 -e stext  -r -o driver.o parport.o parport_pc.o
make[4]: Leaving directory `/usr/src/kernel-source-2.4.27/drivers/parport'
make[3]: Leaving directory `/usr/src/kernel-source-2.4.27/drivers/parport'
/usr/bin/make -C pci
make[3]: Entering directory `/usr/src/kernel-source-2.4.27/drivers/pci'
/usr/bin/make all_targets
make[4]: Entering directory `/usr/src/kernel-source-2.4.27/drivers/pci'
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix include -DKBUILD_BASENAME=pci  -DEXPORT_SYMTAB -c pci.c
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix include -DKBUILD_BASENAME=quirks  -c -o quirks.o quirks.c
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix include -DKBUILD_BASENAME=compat  -c -o compat.o compat.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o gen-devlist gen-devlist.c
./gen-devlist <pci.ids
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix include -DKBUILD_BASENAME=names  -c -o names.o names.c
gcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
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[4]: *** [names.o] Error 1
make[4]: Leaving directory `/usr/src/kernel-source-2.4.27/drivers/pci'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/kernel-source-2.4.27/drivers/pci'
make[2]: *** [_subdir_pci] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.27/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.27'
make: *** [stamp-build] Error 2
soulless:/usr/src/linux#    

Harold
Posts: 1482
Joined: 2005-01-07 00:15
Been thanked: 3 times

#2 Post by Harold »

Hmmm! Segmentation fault! I'm wondering if you ran out of space on your hard drive.

Looks like you were trying to compile a 2.4 kernel. May I suggest that you instead install a Debian kernel-image. Perhaps a 2.6 kernel-image. Do apt-cache search --names-only kernel-image to look at your options, then do apt-get install kernel-image-xxx.

Post Reply