The libX11 packagee from Modular Xorg fails to compile. Sorry but since I don't have any GUI I can't really copy and paste, let me know if you need more info. Example of errors: In file included from ../../../include/X11/Xlibint.h:43 from imCallbk.c:40 ../../../include/X11/Xlib.h:3575: error: parse error before "_X_SENTINEL" ../../../include/X11/Xlib.h:3575: warning: type defaults to 'int' in declaration of '_X_SENTINEL' ../../../include/X11/Xlib.h:3575: warning: function declaration isn't a prototype ../../../include/X11/Xlib.h:3575: warning: data definition has no type or storage class Same errors on lines 3580, 3593, 3606, 3611, 3843, 3847, 3859, 3887,3891, 3931 Ends with make[3]: [imDefFlt.lo] Error 1 Reproducible: Always Steps to Reproduce: 1. emerge libX11 2. 3. Actual Results: Make failed Expected Results: Make succeded Here's the portage info with some stuff cut out, 'cause I had to type it in manually Gentoo Base System version 1.6.13 Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.14-gentoo i686) System uname: 2.6.14-gentoo i686 Pentium III (Coppermine) ccache version 2.3 [enabled] (i also tryed with it disabled dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 12.12 sys-devel/autoconf: 2.13, 259-r6 automake: 1.4_p6, 1.5, 1.63, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 binutils: 2.15.92.0.2-r10 libtool: 1.5.20 os-headers: 2.6.11-r2 CFLAGS="-O3 -march=pentium3 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointern -ftracer -pipe" CXXFLAGS" same -fvisibility-inlines-hidden" features="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox" makeopts="-j2" (tryed disabling it)
To add to this: I have tryed with saner CXX/CF flags (-O -march=pentium3) same result.
That's really odd... What's your ACCEPT_KEYWORDS? ~x86? Also, take a look at http://dev.gentoo.org/ ~spyderous/xorg-x11/migrating_to_modular_x_howto.txt to make sure you clean out any crap left behind by 6.8.x.
Yeah ~x86, added it for the purpose of emerging xorg. And i did read that guide yesterday and deleted # rm -rf /usr/lib/opengl/xorg-x11 # rm -rf /usr/lib/libGL* like it said. I think thats all I deleted manually though.
Can you do `emerge info > info.txt` and attach the file via "Create a New Attachment"? Seems like your compiler isn't recognizing the '...' parts of Xlib.h.
Created attachment 72125 [details] emere info
done
Ah sorry guys. Deinstalled everything deleted all X11 folders, works now. Looks like a bigger clean then described in the guide was needed.
Any idea what extra was required?