Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
C preprocessor "/lib/cpp" fails [AUTO RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Fri May 28, 2004 6:38 pm    Post subject: C preprocessor "/lib/cpp" fails [AUTO RISOLTO] Reply with quote

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
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Sat May 29, 2004 9:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Sat May 29, 2004 10:22 am    Post subject: Reply with quote

ho risolto reinstallando le linux-headers

tutto ok B)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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