LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-02-2004, 11:46 AM   #1
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Gentoo - xfree won't install - header problem. Is there a fix?


as reported in this bug, I can't install xfree because of some header weirdness. The bug is listed as fixed, I patched my "gcc-3.2.3-r3.ebuild" with the suggested fix for the bug, but I still can't get it going. I'm still getting lots of this:

Code:
g++ -Wall -pedantic -I/usr/include/freetype2 -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -c ttmkfdir.cpp    -fPIC -DPIC -o .libs/ttmkfdir.lo
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:683,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/cstdio:52,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/i686-pc-linux-gnu/bits/c++io.h:35,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/bits/fpos.h:44,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/iosfwd:46,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/ios:44,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/ostream:45,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/iostream:45,
                 from ttmkfdir.cpp:2:
/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/i686-pc-linux-gnu/3.2.3/include/stdio.h:394: than previous
   declaration `int getchar() throw ()'
/usr/include/bits/stdio.h: In function `int getc_unlocked(FILE*)':
/usr/include/bits/stdio.h:51: declaration of `int getc_unlocked(FILE*)' throws
   different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:403: than previous
   declaration `int getc_unlocked(FILE*) throw ()'
/usr/include/bits/stdio.h: In function `int getchar_unlocked()':
/usr/include/bits/stdio.h:58: declaration of `int getchar_unlocked()' throws
   different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:404: than previous
   declaration `int getchar_unlocked() throw ()'
/usr/include/bits/stdio.h: In function `int putchar(int)':
/usr/include/bits/stdio.h:67: declaration of `int putchar(int)' throws
   different exceptions
Anyone found a solution to this? Kinda sucks to finally have a working build of gentoo & not be able to run x. (This is my 5th install due to two bad hard drives :P)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I fix my resolution/bit rate for xfree? bobo_snyder SUSE / openSUSE 8 06-16-2005 05:11 PM
Kludge/Fix:XFree 4.2.0 S3 968 IBM ramdac not supported andrewgoh Linux - Hardware 1 05-02-2005 05:21 AM
Will a Suse 9.1 re-install fix my wireless USB problem? randon SUSE / openSUSE 3 03-24-2005 07:29 AM
Gentoo 1.4...how long to emerge Xfree? naloxone Linux - Distributions 3 10-15-2003 09:19 AM
Redhat 9 install/upgrade problem: XFree gives a black screen michel v Linux - Distributions 4 04-26-2003 07:53 PM


All times are GMT -5. The time now is 01:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration