Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gcc Strano problema... boh
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
fatez
Apprentice
Apprentice


Joined: 07 May 2003
Posts: 295

PostPosted: Fri Dec 23, 2005 11:52 am    Post subject: Gcc Strano problema... boh Reply with quote

Ciao ragazzi...

indovinate che strano problema ho?


Code:

MacMini ~ # emerge pam

--- blah blah blah ... ----

checking for powerpc-unknown-linux-gnu-strip... powerpc-unknown-linux-gnu-strip
checking for powerpc-unknown-linux-gnu-strip... /usr/bin/powerpc-unknown-linux-gnu-strip
checking for a BSD-compatible install... /bin/install -c
checking for powerpc-unknown-linux-gnu-cc... powerpc-unknown-linux-gnu-cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! ERROR: sys-libs/pam-0.78-r3 failed.
!!! Function src_compile, Line 185, Exitcode 77
!!! Bad BDB ./configure
!!! If you need support, post the topmost build error, NOT this status message.





non capisco... guardate qui:

Code:

MacMini ~ # gcc-config -l
 [1] powerpc-unknown-linux-gnu-3.4.4 *
 [2] powerpc-unknown-linux-gnu-3.4.4-hardened
 [3] powerpc-unknown-linux-gnu-3.4.4-hardenednopie
 [4] powerpc-unknown-linux-gnu-3.4.4-hardenednopiessp
 [5] powerpc-unknown-linux-gnu-3.4.4-hardenednossp





Qualche anima pia potrebbe darmi una mano plz?

grazie in anticipo!
Back to top
View user's profile Send private message
Dece
Apprentice
Apprentice


Joined: 23 Nov 2004
Posts: 291
Location: Bologna/Rimini Italy

PostPosted: Fri Dec 23, 2005 1:27 pm    Post subject: Reply with quote

per caso hai fatto l'upgrade da gcc 3.3 a 3.4 o il sistema era già perfettamente funzionante?
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Fri Dec 23, 2005 1:36 pm    Post subject: Reply with quote

Dai anche un'occhiata qui: https://forums.gentoo.org/viewtopic-t-294109.html
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
fatez
Apprentice
Apprentice


Joined: 07 May 2003
Posts: 295

PostPosted: Fri Dec 23, 2005 1:36 pm    Post subject: Reply with quote

ho fatto l'upgrade quando ho dato il emerge -u world

tra la valangata di roba da emrgiare vi erano pure le gcc
Back to top
View user's profile Send private message
GuN_jAcK
l33t
l33t


Joined: 23 Mar 2005
Posts: 834
Location: Prague, Czech Republic

PostPosted: Fri Dec 23, 2005 1:39 pm    Post subject: Reply with quote

magari postaci il tuo make.conf
_________________
Rispondi in maniera intelligente anche a chi ti tratta stupidamente.
Back to top
View user's profile Send private message
fatez
Apprentice
Apprentice


Joined: 07 May 2003
Posts: 295

PostPosted: Fri Dec 23, 2005 1:39 pm    Post subject: Reply with quote

e questo è il mio make.config


Code:

CFLAGS="-O2 -mtune=powerpc -pipe"
CHOST="powerpc-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

USE="-3dnow -3dfx -mmx -X -dga -opengl -xv -fbcon -directfb -kde -arts -qt -gnome -gtk -bonobo -evo gb -gtkhtml motif -tcltk -aalib imlib ncurses readline \
sdl svga lcms -gif -jpeg -png -tiff gd -avi -mpeg -quicktime -alsa -oss -ggi -dvd -xmms -oggvorbis -flash encode -ipv6 pam ssl crypt ldap -mozilla -mozctl \
-mozirc -mozxmlterm -spell truetype -xml -xml2 -pdflib tetex -guile -java -perl -python -ruby -slang libwww -libg++ -pic apache2 -zeo -mysql samba \
imap -sandbox nls -gpq zlib -doc -cups -evms2 maildir"



ACCEPT_KEYWORDS="~ppc"

FETCHCOMMAND='/usr/bin/proz --no-getch ${URI} -P ${DISTDIR}'
GENTOO_MIRRORS="http://gentoo.linux.no http://gentoo.oregonstate.edu/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.ibiblio.org/pub/Linux/distribu$
Back to top
View user's profile Send private message
Dece
Apprentice
Apprentice


Joined: 23 Nov 2004
Posts: 291
Location: Bologna/Rimini Italy

PostPosted: Fri Dec 23, 2005 1:48 pm    Post subject: Reply with quote

Allora hai fatto l'upgrade a gcc 3.4 ma hai ancora le librerie compilate con il vecchio: ti conviene seguire questa guida:
http://www.gentoo.org/doc/en/gcc-upgrading.xml
Ciao!

edit: la guida si riferisce ad un sistema x86, ma in linea di massima le operazioni da fare sono le stesse :)
Back to top
View user's profile Send private message
fatez
Apprentice
Apprentice


Joined: 07 May 2003
Posts: 295

PostPosted: Fri Dec 23, 2005 2:05 pm    Post subject: Reply with quote

grazie mille, questa sera provo a sistemare il tutto
Back to top
View user's profile Send private message
Dr.Dran
l33t
l33t


Joined: 08 Oct 2004
Posts: 766
Location: Imola - Italy

PostPosted: Fri Dec 23, 2005 9:26 pm    Post subject: Reply with quote

Moltp probabilemtne l'errore è causato da una incompatibilità delle versioni fra glibc e gcc... rocompila tutto secondo la guida e vedrai che funziona, mi ha dato un errore simile quando ho fatto la migrazione io :D

P.S. Se riesci etti il tag Risolto al titolo :wink:
_________________
:: [Dr.Dran] Details ::
- Linux User # 286282
- IT FreeLance Consultant
- President of ImoLUG [Imola & Faenza Linux User Group]
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