Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 383627

Summary: 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?
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: [OLD] GamesAssignee: Tim Harder <radhermit>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 383179    
Bug Blocks:    
Attachments: build.log

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.