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

Bug 355119

Summary: games-arcade/stepmania-3.9-r2: compilation fails with media-libs/libpng-1.5.x
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) <polynomial-c>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 354479    

Description Lars Wendler (Polynomial-C) gentoo-dev 2011-02-15 22:26:53 UTC
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT   -finline-limit=300   -march=barcelona -O2 -pipe -c -o RageSurface_Load_PNG.o RageSurface_Load_PNG.cpp
RageSurface_Load_PNG.cpp: In function ‘void<unnamed>::RageFile_png_read(png_struct*, png_byte*, png_size_t)’:
RageSurface_Load_PNG.cpp:43:32: error: invalid use of incomplete type ‘struct png_struct’
/usr/include/png.h:803:16: error: forward declaration of ‘struct png_struct’
RageSurface_Load_PNG.cpp: In function ‘void<unnamed>::PNG_Error(png_struct*, const char*)’:
RageSurface_Load_PNG.cpp:69:39: error: invalid use of incomplete type ‘struct png_struct’
/usr/include/png.h:803:16: error: forward declaration of ‘struct png_struct’
RageSurface_Load_PNG.cpp: In function ‘void<unnamed>::PNG_Warning(png_struct*, const char*)’:
RageSurface_Load_PNG.cpp:79:39: error: invalid use of incomplete type ‘struct png_struct’
/usr/include/png.h:803:16: error: forward declaration of ‘struct png_struct’
make[2]: *** [RageSurface_Load_PNG.o] Error 1
Comment 1 Tupone Alfredo gentoo-dev 2011-06-28 12:12:32 UTC
Fixed. Thanks for report