Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gcc 3.3.1 && kernel comiling]
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
kpoman
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 209
Location: Buenos Aires, Argentina

PostPosted: Wed Sep 17, 2003 9:30 pm    Post subject: [gcc 3.3.1 && kernel comiling] Reply with quote

hello,
I am getting problems comiling my kernel with the same config I already compiled with ... I dont know how to avoid that, this is the error log:

Code:


ld -m elf_i386 -r -o ide-mod.o ide.o ide-features.o ide-taskfile.o  cmd640.o ide-adma.o ide-dma.o ide-pci.o pdc202xx.o piix.o rz1000.o via82cxxx.o ide-proc.o
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gaming-r5/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_probe  -DEXPORT_SYMTAB -c ide-probe.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gaming-r5/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_geometry  -c -o ide-geometry.o ide-geometry.c
ld -m elf_i386 -r -o ide-probe-mod.o ide-probe.o ide-geometry.o
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gaming-r5/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_disk  -c -o ide-disk.o ide-disk.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gaming-r5/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_cd  -c -o ide-cd.o ide-cd.c
In file included from ide-cd.c:320:
ide-cd.h:440: error: long, short, signed or unsigned used invalidly for `slot_tablelen'
make[3]: *** [ide-cd.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-gaming-r5/drivers/ide'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-gaming-r5/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gaming-r5/drivers'
make: *** [_dir_drivers] Error 2
kpoman linux # emerge info
Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gaming-r5)
=================================================================
System uname: 2.4.20-gaming-r5 i686 AMD Athlon(tm) Processor
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts aalib bonobo svga tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla ldap snmp cdr apache curl dga flash gd gtk2 moznocompose moznoirc moznomail mozxmlterm php samba sse usb v4l xml -alsa"

kpoman linux #



please can someone help me on this one ?

thanx a lot :)
_________________
please, help me, pity on me :'(
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Thu Sep 18, 2003 2:22 am    Post subject: Reply with quote

Could you try to remove the 'ccache' option from the FEATURES line in your /etc/make.conf file and rerun the compile?

Sometimes ccache causes weired problems :)

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
kpoman
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 209
Location: Buenos Aires, Argentina

PostPosted: Thu Sep 18, 2003 1:06 pm    Post subject: Reply with quote

hi!
should I edit make.globals or can I put in make.conf something like:

FEATURES="-ccache" ?
by doing this I got this emerge info:

root@kpoman linux-2.4.20-gaming-r5 # emerge info
Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(tm) Processor
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs -ccache"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts aalib bonobo svga tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla ldap snmp cdr apache curl dga flash gd gtk2 moznocompose moznoirc moznomail mozxmlterm php samba sse usb v4l xml -alsa"

root@kpoman linux-2.4.20-gaming-r5





Otherwise I could compile vanilla 2.4.22 without any problem ... but some things do not compile anymore I really think gcc is the troublemaker, for exemple, I did

emerge emu10k1

and there were new errors ... I could compile emu10k1-cvs though but all this is brand new!
_________________
please, help me, pity on me :'(
Back to top
View user's profile Send private message
kpoman
Apprentice
Apprentice


Joined: 15 May 2003
Posts: 209
Location: Buenos Aires, Argentina

PostPosted: Thu Sep 18, 2003 1:16 pm    Post subject: Reply with quote

actually the current error i am getting, with the FEATURES="-ccache" is:

make[2]: Entering directory `/usr/src/linux-2.4.20-gaming-r5/drivers/scsi'
make -C aic7xxx
make[3]: Entering directory `/usr/src/linux-2.4.20-gaming-r5/drivers/scsi/aic7xxx'
make all_targets
make[4]: Entering directory `/usr/src/linux-2.4.20-gaming-r5/drivers/scsi/aic7xxx'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gaming-r5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc -iwithprefix include -DKBUILD_BASENAME=aic7xxx_osm -c -o aic7xxx_osm.o aic7xxx_osm.c
aic7xxx_osm.c:420:27: missing terminating " character
aic7xxx_osm.c:439:1: missing terminating " character
aic7xxx_osm.c: In function `ahc_linux_map_seg':
aic7xxx_osm.c:683: warning: integer constant is too large for "long" type
make[4]: *** [aic7xxx_osm.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.20-gaming-r5/drivers/scsi/aic7xxx'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.20-gaming-r5/drivers/scsi/aic7xxx'
make[2]: *** [_subdir_aic7xxx] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-gaming-r5/drivers/scsi'
make[1]: *** [_subdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gaming-r5/drivers'
make: *** [_dir_drivers] Error 2
root@kpoman linux-2.4.20-gaming-r5 #


all the time when I have errors there is some

missing terminating " character
missing terminating " character

stuff
_________________
please, help me, pity on me :'(
Back to top
View user's profile Send private message
Dalcius
n00b
n00b


Joined: 05 Dec 2002
Posts: 37
Location: Austin, TX

PostPosted: Wed Oct 22, 2003 8:25 pm    Post subject: Reply with quote

I had this same problem. This fix worked for me:
https://forums.gentoo.org/viewtopic.php?p=537839&highlight=idecd+440#537839

Cheers
_________________
-Dalcius
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