View previous topic :: View next topic |
Author |
Message |
Jake Cheesdog n00b
Joined: 21 Jun 2003 Posts: 24
|
Posted: Fri Jul 25, 2003 11:35 am Post subject: multiple compile failures... recompile gcc? |
|
|
I am having multiple failues whenever I try to compile anything.
I have had the follwing problems:
app-text/xpdf-2.02.1 failed:
Code: |
g++ -march=k6 -O2 -mmmx -m3dnow -pipe -fomit-frame-pointer -DHAVE_CONFIG_H -I.. -I./../goo -I. -I/usr/include/freetype2 -I/usr/X11R6/include -c FontFile.cc
In file included from GfxState.h:20,
from FTFont.cc:27:
Function.h:165: `virtual' fails to be a typedef or built in type
make[1]: *** [FTFont.o] Error 1
make[1]: *** Waiting for unfinished jobs....
FontFile.cc:3405: two or more data types in declaration of `outputStream'
FontFile.cc:3405: ISO C++ forbids declaration of `outputStream' with no type
FontFile.cc:3405: prototype for `void TrueTypeFontFile::cvtCharStrings(char**,
CharCodeToUnicode*, int, int, void (*)(void*, char*, int), int*)' does not
match any in class `TrueTypeFontFile'
FontFile.h:229: candidate is: void TrueTypeFontFile::cvtCharStrings(char**,
CharCodeToUnicode*, int, int, void (*)(void*, char*, int), void*)
make[1]: *** [FontFile.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/xpdf-2.02.1/work/xpdf-2.02pl1/xpdf'
make: *** [all] Error 2
!!! ERROR: app-text/xpdf-2.02.1 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! (no error message)
|
dev-libs/fftw-2.1.5 failed.
Code: |
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./../fftw -I. -march=k6 -O2 -mmmx -m3dnow -pipe -fomit-frame-pointer -pthread -MT fn_15.lo -MD -MP -MF .deps/fn_15.Tpo -c fn_15.c -o fn_15.o >/dev/null 2>&1
mv -f .libs/fn_15.lo fn_15.lo
make[2]: Leaving directory `/var/tmp/portage/fftw-2.1.5/work/fftw-2.1.5-single/fftw'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/fftw-2.1.5/work/fftw-2.1.5-single/fftw'
make: *** [all-recursive] Error 1
!!! ERROR: dev-libs/fftw-2.1.5 failed.
!!! Function src_compile, Line 69, Exitcode 2
!!! (no error message)
|
x11-libs/Xaw3d-1.5-r1 failed.
Code: |
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing -I. -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -fPIC Layout.c
make: *** Waiting for unfinished jobs....
!!! ERROR: x11-libs/Xaw3d-1.5-r1 failed.
!!! Function src_compile, Line 58, Exitcode 2
!!! (no error message)
|
Do I need to recompile gcc?
emerge -p gcc returns
Code: |
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] sys-devel/gcc-3.2.3-r1 [3.2.2]
|
I have had several crashes recently as well, which seem to coincide with my removal of kde and use of fluxbox instead (which I was using anyway, and so I just removed kde for additional hd space.)
Any suggestions?
thanks
cheesdog |
|
Back to top |
|
|
cchapman Guru
Joined: 16 Jan 2003 Posts: 440 Location: Fremont, NE
|
Posted: Fri Jul 25, 2003 2:14 pm Post subject: |
|
|
post your cpuinfo
It sounds like your CFLAFGS are wrong. |
|
Back to top |
|
|
Jake Cheesdog n00b
Joined: 21 Jun 2003 Posts: 24
|
Posted: Sat Jul 26, 2003 7:22 am Post subject: |
|
|
ok,
Code: | processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 8
model name : AMD-K6(tm) 3D processor
stepping : 12
cpu MHz : 498.863
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnow k6_mtrr
bogomips : 992.87
|
and in case this one makes a difference too:
/etc/make.conf
Code: |
USE="3dfx doc fbcon firebird gd gtk2 gtkhtml imap jikes nocardbus oav \
prebuilt samba tiff usb voodoo3 xml -gnome"
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=k6 -O2 -mmmx -m3dnow -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
|
I have made some changes to the make.conf flags recently, so possibly it could be that, although Im pretty sure I have emerged new stuff since then.
edit
just looked, the only thing I have differnet between my current USE flags in make.conf and my backup was 3dfx. I made that change ages ago and have definitely emerged a fair bit successfulyly since then...
thanks cheesdog |
|
Back to top |
|
|
Jake Cheesdog n00b
Joined: 21 Jun 2003 Posts: 24
|
Posted: Sat Jul 26, 2003 7:25 am Post subject: |
|
|
oh,i forgot to say that I have an AMD K6 500 with 256mb ram |
|
Back to top |
|
|
Kurtz n00b
Joined: 18 Jun 2003 Posts: 58
|
Posted: Sat Jul 26, 2003 7:32 am Post subject: |
|
|
Jake Cheesdog wrote: | oh,i forgot to say that I have an AMD K6 500 with 256mb ram |
Your CFLAGS look perfectly fine for your system. They are not overly aggressive too, so that's probably not the problem. |
|
Back to top |
|
|
Sir Al Guru
Joined: 08 Jul 2003 Posts: 326 Location: Vancouver, Canada
|
Posted: Sat Jul 26, 2003 8:20 am Post subject: |
|
|
Jake Cheesdog wrote: | oh,i forgot to say that I have an AMD K6 500 with 256mb ram |
Note that since it's a model 8, it's a k6-2, it's not just a small difference either! _________________ Athlon XP 2000+ Palomino @ 1.667ghz
Asus A7V333 Revision 1.02 w/ Promise RAID
512mb PC2700-1.5-2-2.0 @ 333mhz
MSI Geforce4 Ti4200-TD 250/446 mhz
MSI TV@nywhere TV Tuner
Antec SX1040BII Case + SL400 400W PSU
Logitech Z-540 4.1 Speakers |
|
Back to top |
|
|
Jake Cheesdog n00b
Joined: 21 Jun 2003 Posts: 24
|
Posted: Sat Jul 26, 2003 9:24 am Post subject: |
|
|
So any ideas about where to go from here?
Im downloading the newest gcc (3.2.3-r1) to replace my 3.2.2 -r? but Im kind of expecting it not to comile....
cheesdog |
|
Back to top |
|
|
|
|
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
|
|