Emerge fails with following messages : [quote] g++ -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -mmmx -mfpmath=sse -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/X11R6/include -I/usr/qt/3/include -I/usr/qt/3/mkspecs/linux-g++ -o zip.o zip.cpp In file included from zip.cpp:7: minizip/unzip.h:114: syntax error before `(' token minizip/unzip.h:127: syntax error before `(' token minizip/unzip.h:138: syntax error before `(' token minizip/unzip.h:145: syntax error before `(' token minizip/unzip.h:153: syntax error before `(' token minizip/unzip.h:166: syntax error before `(' token minizip/unzip.h:172: syntax error before `(' token minizip/unzip.h:179: syntax error before `(' token minizip/unzip.h:192: syntax error before `(' token minizip/unzip.h:218: syntax error before `(' token minizip/unzip.h:224: syntax error before `(' token minizip/unzip.h:231: syntax error before `(' token minizip/unzip.h:245: syntax error before `(' token minizip/unzip.h:250: syntax error before `(' token minizip/unzip.h:255: syntax error before `(' token zip.cpp: In member function `bool UnZip::open()': zip.cpp:46: `unzOpen' undeclared (first use this function) zip.cpp:46: (Each undeclared identifier is reported only once for each function it appears in.) zip.cpp: In member function `void UnZip::close()': zip.cpp:56: `unzClose' undeclared (first use this function) zip.cpp: In member function `bool UnZip::getList()': zip.cpp:71: `unzGetGlobalInfo' undeclared (first use this function) zip.cpp:79: `unzGetCurrentFileInfo' undeclared (first use this function) zip.cpp:86: `unzGoToNextFile' undeclared (first use this function) zip.cpp: In member function `bool UnZip::readFile(const QString&, QByteArray*, int)': zip.cpp:99: `unzLocateFile' undeclared (first use this function) zip.cpp:109: `unzOpenCurrentFile' undeclared (first use this function) zip.cpp:116: `unzReadCurrentFile' undeclared (first use this function) zip.cpp:118: `unzCloseCurrentFile' undeclared (first use this function) make: *** [zip.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 8, Exitcode 2 !!! (no error message) [/quote] My C**FLAGS are shown on the first line. My USE conf is USE="alsa -nls -avi tiff dga dvd xface mozilla -cups sse -gnome -svga"
Oki hi, i'm kinda in a hurry, so i'll fix this later. If you have the skills to implement it while you wait, this is it: to solve it, make sure you include /usr/include before /usr/X11R6/include... Sorry i can't fix it right now :$ Bye!
Thanx, this seems to solve it. I just added "-I/usr/include" on my CFLAGS on /etc/make.conf (quick & dirty solution :). Please make it part of the ebuild.