Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compiling the kernel ... error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
dennis
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2002
Posts: 84

PostPosted: Sun Sep 29, 2002 5:46 pm    Post subject: compiling the kernel ... error Reply with quote

hi,

i tried to compile the win2k partition table support... during the compile i got eror messages so i turned the option off again but now i keep geting
Code:
make -C atm fastdep
make[4]: Entering directory `/usr/src/linux-2.4.19-gentoo-r5/drivers/atm'
/usr/src/linux-2.4.19-gentoo-r5/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.19-gentoo-r5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4  -g -nostdinc -I /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include -- ambassador.c ambassador.h atmdev_init.c atmtcp.c eni.c eni.h firestream.c firestream.h fore200e.c fore200e.h fore200e_mkfirm.c horizon.c horizon.h idt77105.c idt77105.h idt77252.c idt77252.h idt77252_tables.h iphase.c iphase.h lanai.c midway.h nicstar.c nicstar.h nicstarmac.c nicstarmac.h suni.c suni.h tonga.h uPD98401.h uPD98402.c uPD98402.h zatm.c zatm.h zeprom.h > .depend
make[4]: *** [fastdep] Error 135
make[4]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r5/drivers/atm'
make[3]: *** [_sfdep_atm] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r5/drivers'
make[2]: *** [fastdep] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r5/drivers'
make[1]: *** [_sfdep_drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r5'
make: *** [dep-files] Error 2
every time i try to 'make dep'. does anyone have any idea how to fix this?

dennis
Back to top
View user's profile Send private message
aardvark
Guru
Guru


Joined: 30 Jun 2002
Posts: 576

PostPosted: Sun Sep 29, 2002 7:12 pm    Post subject: Re: compiling the kernel ... error Reply with quote

dennis wrote:
hi,

i tried to compile the win2k partition table support... during the compile i got eror messages so i turned the option off again but now i keep geting
Code:
make -C atm fastdep
make[4]: Entering directory `/usr/src/linux-2.4.19-gentoo-r5/drivers/atm'
/usr/src/linux-2.4.19-gentoo-r5/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.19-gentoo-r5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4  -g -nostdinc -I /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include -- ambassador.c ambassador.h atmdev_init.c atmtcp.c eni.c eni.h firestream.c firestream.h fore200e.c fore200e.h fore200e_mkfirm.c horizon.c horizon.h idt77105.c idt77105.h idt77252.c idt77252.h idt77252_tables.h iphase.c iphase.h lanai.c midway.h nicstar.c nicstar.h nicstarmac.c nicstarmac.h suni.c suni.h tonga.h uPD98401.h uPD98402.c uPD98402.h zatm.c zatm.h zeprom.h > .depend
make[4]: *** [fastdep] Error 135
make[4]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r5/drivers/atm'
make[3]: *** [_sfdep_atm] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r5/drivers'
make[2]: *** [fastdep] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r5/drivers'
make[1]: *** [_sfdep_drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r5'
make: *** [dep-files] Error 2
every time i try to 'make dep'. does anyone have any idea how to fix this?

dennis


save your .config somewhere
and then type
make mrproper
that'll clean everything up (and deletes .config)
copy the .config back (or do a complete reconfig in make menuconfig)
then try again....

should work :)
Back to top
View user's profile Send private message
dennis
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2002
Posts: 84

PostPosted: Sat Oct 12, 2002 7:57 pm    Post subject: Reply with quote

hmm
i tred that but then it just freezes

Code:
stc linux # make mrproper
make[1]: Entering directory `/usr/src/linux-2.4.19-gentoo-r5/arch/i386/boot'
rm -f tools/build
rm -f setup bootsect zImage compressed/vmlinux.out
rm -f bsetup bbootsect bzImage compressed/bvmlinux.out
make[2]: Entering directory `/usr/src/linux-2.4.19-gentoo-r5/arch/i386/boot/compressed'
rm -f vmlinux bvmlinux _tmp_*
make[2]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r5/arch/i386/boot/compressed'
make[1]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r5/arch/i386/boot'
find . \( -name '*.[oas]' -o -name core -o -name '.*.flags' \) -type f -print \
| grep -v lxdialog/ | xargs rm -f


Dennis
Back to top
View user's profile Send private message
dennis
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2002
Posts: 84

PostPosted: Sat Oct 12, 2002 8:04 pm    Post subject: Reply with quote

Now i rebooted and the mrproper looks like this :

Code:
ind: ./include/asm-sh/bitops.h: No such file or directory
find: ./include/asm-sh/bugs.h: No such file or directory
find: ./include/asm-sh/dma.h: No such file or directory
find: ./include/asm-sh/hardirq.h: No such file or directory
find: ./include/config/ip/nf/match/mark.h: No such file or directory
rm -f include/linux/autoconf.h include/linux/version.h drivers/net/hamradio/soundmodem/sm_tbl_{afsk1200,afsk2666,fsk9600}.h drivers/net/hamradio/soundmodem/sm_tbl_{hapn4800,psk4800}.h drivers/net/hamradio/soundmodem/sm_tbl_{afsk2400_7,afsk2400_8}.h drivers/net/hamradio/soundmodem/gentbl drivers/sound/*_boot.h drivers/sound/.*.boot drivers/sound/msndinit.c drivers/sound/msndperm.c drivers/sound/pndsperm.c drivers/sound/pndspini.c drivers/atm/fore200e_*_fw.c drivers/atm/.fore200e_*.fw .version .config* config.in config.old scripts/tkparse scripts/kconfig.tk scripts/kconfig.tmp scripts/lxdialog/*.o scripts/lxdialog/lxdialog .menuconfig.log include/asm .hdepend scripts/mkdep scripts/split-include scripts/docproc /usr/src/linux-2.4.19-gentoo-r5/include/linux/modversions.h scripts/mkconfigs kernel/configs.c kernel/configs.o kernel.spec
rm -rf include/config /usr/src/linux-2.4.19-gentoo-r5/include/linux/modules
rm: cannot remove directory `include/config/ip/nf/match': Directory not empty
rm: cannot remove directory `include/config/ip/nf': Directory not empty
rm: cannot remove directory `include/config/ip': Directory not empty
rm: cannot remove directory `include/config': Directory not empty
make: *** [mrproper] Error 1
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Oct 13, 2002 1:00 am    Post subject: Reply with quote

Can you try underclocking, making BIOS RAM settings more conservative, and/or maybe turning off DMA on that disk?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum