Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383627 - games-emulation/vbam-1.8.0.1009-r1 fails to compile with sys-libs/zlib-1.2.5.1-r1: memgzio.c:88:27: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? bef ore ?OF?
Summary: games-emulation/vbam-1.8.0.1009-r1 fails to compile with sys-libs/zlib-1.2.5....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on: 383179
Blocks:
  Show dependency tree
 
Reported: 2011-09-19 11:39 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2011-09-21 06:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,12.87 KB, text/plain)
2011-09-19 11:39 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-09-19 11:39:40 UTC
Created attachment 286995 [details]
build.log

[ 27%] Building C object CMakeFiles/vbamcore.dir/src/common/memgzio.c.o
/var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:88:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:89:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:90:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:91:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:92:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:93:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:94:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
/var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:374:12: warning: conflicting types for ‘check_header’
/var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:374:12: error: static declaration of ‘check_header’ follows non-static declaration
/var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:324:2: note: previous implicit declaration of ‘check_header’ was here
/var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:427:11: error: static declaration of ‘destroy’ follows non-static declaration
/var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:274:33: note: previous implicit declaration of ‘destroy’ was here
/var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:651:13: error: conflicting types for ‘getLong’
/var/tmp/portage/games-emulation/vbam-1.8.0.1009-r1/work/vbam-1.8.0.1009/src/common/memgzio.c:526:10: note: previous implicit declaration of ‘getLong’ was here
make[2]: *** [CMakeFiles/vbamcore.dir/src/common/memgzio.c.o] Error 1
Comment 1 SpanKY gentoo-dev 2011-09-20 17:05:42 UTC
sed -i '1i#define OF(x) x' src/common/memgzio.c
Comment 2 Tim Harder gentoo-dev 2011-09-21 06:23:35 UTC
Fixed in CVS.