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

Bug 355123

Summary: games-server/crossfire-server-1.11.0: compilation fails with media-libs/libpng-1.5.x
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <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) (RETIRED) gentoo-dev 2011-02-15 22:37:22 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include -I./include -I./Cnv -DDATADIR=\"/usr/share/games/crossfire\" -DLIBDIR=\"/usr/games/lib/crossfire\" -DLOCALDIR=\"/var/games/crossfire\"   -march=barcelona -O2 -pipe -c xutil.c
In file included from xutil.c:38:0:
png.c: In function ‘png_to_xpixmap’:
png.c:272:9: error: dereferencing pointer to incomplete type
png.c:281:4: warning: passing argument 3 of ‘png_get_IHDR’ from incompatible pointer type
/usr/include/png.h:1823:1: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’
png.c:281:4: warning: passing argument 4 of ‘png_get_IHDR’ from incompatible pointer type
/usr/include/png.h:1823:1: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’
png.c:332:4: warning: passing argument 3 of ‘png_get_IHDR’ from incompatible pointer type
/usr/include/png.h:1823:1: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’
png.c:332:4: warning: passing argument 4 of ‘png_get_IHDR’ from incompatible pointer type
/usr/include/png.h:1823:1: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’
make[2]: *** [xutil.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-server/crossfire-server-1.11.0/work/crossfire-1.11.0/crossedit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-server/crossfire-server-1.11.0/work/crossfire-1.11.0/crossedit'
make: *** [all-recursive] Error 1
emake failed
Comment 1 Tupone Alfredo gentoo-dev 2011-02-21 14:20:16 UTC
The fix for it is now in the tree, and compilation now complete.
It "should" also run fine, but I haven't done any further testing.
Thanks for report.