Summary: | snes9x fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Seemant Kulleen (RETIRED) <seemant> |
Component: | [OLD] Games | Assignee: | Ryan Phillips (RETIRED) <rphillips> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.1a | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Seemant Kulleen (RETIRED)
2002-06-14 05:26:56 UTC
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. |