emerge fails with the following messages: [quote] c++ -c -D_GNU_SOURCE -D__WXGTK__ -D_REENTRANT -DGTK_NO_CHECK_CASTS -fno-rtti -fno-exceptions -MMD -march=athlon-xp -pipe -fomit-frame-pointer -m3dnow -mmmx -mfpmath=sse -O2 -I./lib/wx/include/gtk-2.3 -I./include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Wall -fPIC -o fs_zip.o ./src/common/fs_zip.cpp In file included from src/common/fs_zip.cpp:38: src/common/unzip.h:130: syntax error before `(' token src/common/unzip.h:143: syntax error before `(' token src/common/unzip.h:154: syntax error before `(' token src/common/unzip.h:161: syntax error before `(' token src/common/unzip.h:169: syntax error before `(' token src/common/unzip.h:182: syntax error before `(' token src/common/unzip.h:188: syntax error before `(' token src/common/unzip.h:195: syntax error before `(' token src/common/unzip.h:208: syntax error before `(' token src/common/unzip.h:234: syntax error before `(' token src/common/unzip.h:240: syntax error before `(' token src/common/unzip.h:247: syntax error before `(' token src/common/unzip.h:261: syntax error before `(' token src/common/unzip.h:266: syntax error before `(' token src/common/unzip.h:271: syntax error before `(' token src/common/fs_zip.cpp: In destructor `virtual wxZipFSHandler::~wxZipFSHandler()': src/common/fs_zip.cpp:61: `unzClose' undeclared (first use this function) src/common/fs_zip.cpp:61: (Each undeclared identifier is reported only once for each function it appears in.) src/common/fs_zip.cpp: In member function `virtual wxString wxZipFSHandler::FindFirst(const wxString&, int)': src/common/fs_zip.cpp:138: `unzOpen' undeclared (first use this function) src/common/fs_zip.cpp:144: `unzGoToFirstFile' undeclared (first use this function) src/common/fs_zip.cpp: In member function `wxString wxZipFSHandler::DoFind()': src/common/fs_zip.cpp:181: `unzGetCurrentFileInfo' undeclared (first use this function) src/common/fs_zip.cpp:212: `unzGoToNextFile' undeclared (first use this function) make: *** [fs_zip.o] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -111, Exitcode 2 !!! make failed [/quote] From my /etc/make.conf : USE="alsa -nls -avi tiff dga dvd xface mozilla -cups sse -gnome -svga" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -mmmx -mfpmath=sse"
what are your CFLAGS and CXXFLAGS ?
C**FLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -mmmx -mfpmath=sse"
This looks like wxGTK may have a dependancy on zip? Please emerge zip and then try emerging wxGTK. Let me know how things go for you.
Re-emerging zip was the first thing I tried. However the problem is not zip-centric since zip has no include files. It must gcc-3.2-based problem since it doesn't work right with variables like (from src/common/unzip.h of wxGTK source) : [code] extern int ZEXPORT unzStringFileNameCompare OF ((const char* fileName1, const char* fileName2, int iCaseSensitivity)); [/code] It takes them as syntax errors. All errors are like that.
Check the #8270 bug. The problem is the same