Ryan, the ebuild installs no binary into /usr/bin, so putting a || die in the src_compile() function, I discovered this error. zsnes fails as well, I'll paste that in the next comment. gcc -I/usr/X11R6/include -I/usr/local/include -c -O6 -mpentium -fomit-frame-pointer -fno-exceptions -DMITSHM -Ii386 -I. -Iunzip -DJOYSTICK_SUPPORT -DZLIB -DVAR_CYCLES -DCPU_SHUTDOWN -DSPC700_SHUTDOWN -DUSE_DGA_EXTENSION -DUSE_VIDMODE_EXTENSION -DZSNES_FX -DEXECUTE_SUPERFX_PER_LINE -DZSNES_C4 -DUSE_THREADS -DSPC700_C -DNETPLAY_SUPPORT -DUNZIP_SUPPORT -DMMX -DNO_INLINE_SET_GET loadzip.cpp -o loadzip.o In file included from loadzip.cpp:57: unzip/unzip.h:124: syntax error before `(' unzip/unzip.h:137: syntax error before `(' unzip/unzip.h:148: syntax error before `(' unzip/unzip.h:155: syntax error before `(' unzip/unzip.h:163: syntax error before `(' unzip/unzip.h:176: syntax error before `(' unzip/unzip.h:182: syntax error before `(' unzip/unzip.h:189: syntax error before `(' unzip/unzip.h:202: syntax error before `(' unzip/unzip.h:228: syntax error before `(' unzip/unzip.h:234: syntax error before `(' unzip/unzip.h:241: syntax error before `(' unzip/unzip.h:255: syntax error before `(' unzip/unzip.h:260: syntax error before `(' unzip/unzip.h:265: syntax error before `(' loadzip.cpp: In function `bool8 LoadZip(const char *, int32 *, int32 *)': loadzip.cpp:69: implicit declaration of function `int unzOpen(...)' loadzip.cpp:69: initialization to `void *' from `int' lacks a cast loadzip.cpp:77: implicit declaration of function `int unzGoToFirstFile(...)' loadzip.cpp:82: implicit declaration of function `int unzGetCurrentFileInfo(...)' loadzip.cpp:96: implicit declaration of function `int unzGoToNextFile(...)' loadzip.cpp:116: implicit declaration of function `int unzClose(...)' loadzip.cpp:130: implicit declaration of function `int unzLocateFile(...)' loadzip.cpp:133: implicit declaration of function `int unzOpenCurrentFile(...)' loadzip.cpp:147: implicit declaration of function `int unzReadCurrentFile(...)' loadzip.cpp:148: implicit declaration of function `int unzCloseCurrentFile(...)' make: *** [loadzip.o] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 1, Exitcode 2 !!! (no error message)
gcc -pipe -I. -Wall -D__LINUX__ -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -D__OPENGL__ -Os -ffast-math -fomit-frame-pointer -fschedule-insns2 -s -march=pentiumpro -o zip/zzip.o -c zip/zzip.c In file included from zip/zzip.c:35: zip/unzip.h:114: parse error before `unzStringFileNameCompare' zip/unzip.h:116: warning: type defaults to `int' in declaration of `unzStringFileNameCompare' zip/unzip.h:116: warning: data definition has no type or storage class zip/unzip.h:127: parse error before `unzOpen' zip/unzip.h:127: warning: type defaults to `int' in declaration of `unzOpen' zip/unzip.h:127: warning: data definition has no type or storage class zip/unzip.h:138: parse error before `unzClose' zip/unzip.h:138: warning: type defaults to `int' in declaration of `unzClose' zip/unzip.h:138: warning: data definition has no type or storage class zip/unzip.h:145: parse error before `unzGetGlobalInfo' zip/unzip.h:146: warning: type defaults to `int' in declaration of `unzGetGlobalInfo' zip/unzip.h:146: warning: data definition has no type or storage class zip/unzip.h:153: parse error before `unzGetGlobalComment' zip/unzip.h:155: warning: type defaults to `int' in declaration of `unzGetGlobalComment' zip/unzip.h:155: warning: data definition has no type or storage class zip/unzip.h:166: parse error before `unzGoToFirstFile' zip/unzip.h:166: warning: type defaults to `int' in declaration of `unzGoToFirstFile' zip/unzip.h:166: warning: data definition has no type or storage class zip/unzip.h:172: parse error before `unzGoToNextFile' zip/unzip.h:172: warning: type defaults to `int' in declaration of `unzGoToNextFile' zip/unzip.h:172: warning: data definition has no type or storage class zip/unzip.h:179: parse error before `unzLocateFile' zip/unzip.h:181: warning: type defaults to `int' in declaration of `unzLocateFile' zip/unzip.h:181: warning: data definition has no type or storage class zip/unzip.h:192: parse error before `unzGetCurrentFileInfo' zip/unzip.h:199: warning: type defaults to `int' in declaration of `unzGetCurrentFileInfo' zip/unzip.h:199: warning: data definition has no type or storage class zip/unzip.h:218: parse error before `unzOpenCurrentFile' zip/unzip.h:218: warning: type defaults to `int' in declaration of `unzOpenCurrentFile' zip/unzip.h:218: warning: data definition has no type or storage class zip/unzip.h:224: parse error before `unzCloseCurrentFile' zip/unzip.h:224: warning: type defaults to `int' in declaration of `unzCloseCurrentFile' zip/unzip.h:224: warning: data definition has no type or storage class zip/unzip.h:231: parse error before `unzReadCurrentFile' zip/unzip.h:233: warning: type defaults to `int' in declaration of `unzReadCurrentFile' zip/unzip.h:233: warning: data definition has no type or storage class zip/unzip.h:245: parse error before `unztell' zip/unzip.h:245: warning: type defaults to `int' in declaration of `unztell' zip/unzip.h:245: warning: data definition has no type or storage class zip/unzip.h:250: parse error before `unzeof' zip/unzip.h:250: warning: type defaults to `int' in declaration of `unzeof' zip/unzip.h:250: warning: data definition has no type or storage class zip/unzip.h:255: parse error before `unzGetLocalExtrafield' zip/unzip.h:257: warning: type defaults to `int' in declaration of `unzGetLocalExtrafield' zip/unzip.h:257: warning: data definition has no type or storage class zip/zzip.c: In function `extractzip': zip/zzip.c:322: warning: assignment makes pointer from integer without a cast make: *** [zip/zzip.o] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 24, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/app-emulation/zsnes/zsnes-1.337-r2.ebuild .
heya seemant. I just tried merging zsnes again on my box. It merged fine with gcc 2.95.3 and installed the proper executable. compiler issue?
Ryan, funny thing is that I have gcc-2.95.3 as well... I saw mention on the NetBSD bug page with exactly this error, but no solution. And I had someone in #gentoo try to merge snes9x -- he had the same problem as well. Since there's no || dir in src_compile(), it merged but put no binaries in the system.,.
For reference: http://sourceforge.net/tracker/?group_id=19677&atid=119677&func=detail&aid=444001 Still looking into a fix.
There could be a possible fix within here: http://sourceforge.net/tracker/?group_id=19677&atid=119677&func=detail&aid=534980
the fix is to delete/rename the zlib.h and zconf.h header files in /usr/X11R6/include...
In my opinion this bug is closed... Please reopen it if the bug persists.