Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error with arts-1.1.5: glibc, gcc conflict?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Wed Jan 21, 2004 6:44 pm    Post subject: error with arts-1.1.5: glibc, gcc conflict? Reply with quote

I'm trying to update to arts-1.1.5 so I can get kde-3.1.5. during the configure step, the test for the c++ STL fails. digging into the config.log reveals the error below.

Code:

/usr/include/bits/stdio.h: In function `int getchar()':
/usr/include/bits/stdio.h:42: declaration of `int getchar()' throws different
   exceptions
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2.3/include/stdio.h:394: than
   previous declaration `int getchar() throw ()'


looks like one comes from gcc, one from glibc:

Code:

11:40am0quasar#qpkg -f -v /usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2.3/include/stdio.h
sys-devel/gcc-3.2.3-r3 *
11:42am0quasar#qpkg -f -v /usr/include/bits/stdio.h
sys-libs/glibc-2.3.2-r9 *


I just updated glibc and gcc this morning. (ppc keyword, not ~ppc)

is there a different version of glibc or gcc I should update to to avoid this? thanks
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
ralph
Advocate
Advocate


Joined: 02 Mar 2003
Posts: 2001
Location: Hamburg

PostPosted: Wed Jan 21, 2004 8:09 pm    Post subject: Reply with quote

You need to emerge gcc again after updating glibc. It's a bug many people have problems with right now, just take a look around the forum.
_________________
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Thu Jan 22, 2004 4:20 pm    Post subject: Reply with quote

that fixed it, thanks.
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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