View previous topic :: View next topic |
Author |
Message |
Cagnulein l33t
Joined: 18 Sep 2003 Posts: 861 Location: Modena, Italy
|
Posted: Fri May 28, 2004 6:38 pm Post subject: C preprocessor "/lib/cpp" fails [AUTO RISOLTO] |
|
|
Salve ragazzi, so che il tema è già stato trattato nel forum internazionale e in bugs.gentoo.org ma non ho trovato la soluzione al mio problema.
Praticamente facendo l'emerge di openoffice durante il ./configure mi appare la seguente scritta:
Code: | C preprocessor "/lib/cpp" fails sanity check
|
l'unica cosa che mi manca da provare è ricompilare gcc...ma prima di farlo volevo sapere se voi avevate qualche idea...
Grassie.
Last edited by Cagnulein on Sat May 29, 2004 10:27 am; edited 3 times in total |
|
Back to top |
|
|
Cagnulein l33t
Joined: 18 Sep 2003 Posts: 861 Location: Modena, Italy
|
Posted: Sat May 29, 2004 9:57 am Post subject: |
|
|
visto che non ho trovato altre soluzioni sono partito a riemerge gcc..ma neanche questo è riuscito:
Code: | cc -c -DHAVE_CONFIG_H -march=pentium3 -O2 -pipe -fprefetch-loop-arrays -I. -I/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/../include -W -Wall -Wtraditional -pedantic /var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/fdmatch.c -o fdmatch.o
if [ x"-fpic" != x ]; then \
gcc -c -DHAVE_CONFIG_H -march=pentium3 -O2 -pipe -fprefetch-loop-arrays -I. -I/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/../include -W -Wall -Wtraditional -pedantic -fpic /var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/fibheap.c: In function `fibheap_delete_node':
/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/fibheap.c:285: error: `LONG_MIN' undeclared (first use in this function)
/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/fibheap.c:285: error: (Each undeclared identifier is reported only once
/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/fibheap.c:285: error: for each function it appears in.)
make[1]: *** [fibheap.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.3-r5/work/build/libiberty'
make: *** [all-libiberty] Error 2
!!! ERROR: sys-devel/gcc-3.3.3-r5 failed.
!!! Function src_compile, Line 552, Exitcode 2
!!! (no error message)
|
stavo pensando di emergiare il gcc 3.4 in modo da prendere 2 piccioni con una fava sempre sperando che quest'ultimo si riesca a compilare... |
|
Back to top |
|
|
Cagnulein l33t
Joined: 18 Sep 2003 Posts: 861 Location: Modena, Italy
|
Posted: Sat May 29, 2004 10:22 am Post subject: |
|
|
ho risolto reinstallando le linux-headers
tutto ok B) |
|
Back to top |
|
|
|