gcc 3.2.1 problem
Marios Trivizas
m.a.trivizas at di.uoa.gr
Thu Feb 6 16:02:01 EET 2003
Hello,
Έχω Slackware 8.1 με gcc 2.95.3, κατέβασα λοιπόν το gcc-3.2.1.tar.bz2 και
προσπάθησα να τον κάνω build. Ακολούθησα τις οδηγίες που έχει, έφτιαξα ένα
object directory όπως θέλει και από εκεί έτρεξα:
root at darkstar:/tmp/objdir# /tmp/gcc-3.2.1/configure --prefix=/usr/local
και ακολούθως έτρεξα:
root at darkstar:/tmp/objdir# make bootstrap-lean
Μετά από κάμποση ώρα(ες) compile, ενώ έκανε compile libs μου πετάει το
παρακάτω λάθος:
-----------------------------------------------------------------
In file included from /tmp/src/gcc-3.2.1/boehm-gc/os_dep.c:27:
/usr/include/asm/signal.h:21: conflicting types for `sigset_t'
/usr/include/signal.h:48: previous declaration of `sigset_t'
/usr/include/asm/signal.h:137: parse error before '.' token
/usr/include/asm/signal.h:141: parse error before '}' token
/usr/include/asm/signal.h:143: redefinition of `struct sigaction'
/usr/include/asm/signal.h:144: parse error before '.' token
/usr/include/asm/signal.h:147: conflicting types for `sa_mask'
/usr/include/asm/signal.h:138: previous declaration of `sa_mask'
/usr/include/asm/signal.h:148: parse error before '}' token
/usr/include/asm/signal.h:171: redefinition of `struct sigaltstack'
/usr/include/asm/signal.h:183: conflicting types for `sigaddset'
/usr/include/signal.h:209: previous declaration of `sigaddset'
/usr/include/asm/signal.h:188: conflicting types for `sigdelset'
/usr/include/signal.h:212: previous declaration of `sigdelset'
/tmp/src/gcc-3.2.1/boehm-gc/os_dep.c: In function `GC_dirty_init':
/tmp/src/gcc-3.2.1/boehm-gc/os_dep.c:2389: warning: passing arg 1 of
`sigaddset'
from incompatible pointer type
make[3]: *** [os_dep.lo] Error 1
make[3]: Leaving directory `/tmp/src/object/i686-pc-linux-gnu/boehm-gc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/src/object/i686-pc-linux-gnu/boehm-gc'
make[1]: *** [all-target-boehm-gc] Error 2
make[1]: Leaving directory `/tmp/src/object'
make: *** [bootstrap-lean] Error 2
-----------------------------------------------------------------
Δοκίμασα να κάνω και make bootstrap σκέτο, και πάλι όμως τα ίδια....
Καμία ιδέα?
--
Μάριος
More information about the Linux-greek-users
mailing list