apartmentEmulator / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

Build errors with libpng #329

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Describe your system:
 - Operating System: linux (archlinux)
 - Machine type: 64bit
 - Mupen64Plus version: 1.99.1

This may be related to the new libpng library 1.4

I get the following build errors:
(Everything before this builds fine)

************************************ Building video plugin
make: Entering directory
`/home/tom/mupen64plus/src/mupen64plus-bundle-src-1.99.1/source/mupen64plus-vide
o-rice/projects/unix'
rm -f ./_obj/*.o  ./_obj/liblinux/* mupen64plus-video-rice.so
make: Leaving directory
`/home/tom/mupen64plus/src/mupen64plus-bundle-src-1.99.1/source/mupen64plus-vide
o-rice/projects/unix'
make: Entering directory
`/home/tom/mupen64plus/src/mupen64plus-bundle-src-1.99.1/source/mupen64plus-vide
o-rice/projects/unix'
gcc -o _obj/liblinux/BMGImage.o -Wall -ffast-math -funroll-loops
-fexpensive-optimizations -fno-strict-aliasing -I../../src -fpic -DPIC
-fvisibility=hidden -pipe -O3 -march=athlon64 -I/usr/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT -I../../../mupen64plus-core/src/api -c
../../src/liblinux/BMGImage.c
gcc -o _obj/liblinux/bmp.o -Wall -ffast-math -funroll-loops
-fexpensive-optimizations -fno-strict-aliasing -I../../src -fpic -DPIC
-fvisibility=hidden -pipe -O3 -march=athlon64 -I/usr/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT -I../../../mupen64plus-core/src/api -c
../../src/liblinux/bmp.c
gcc -o _obj/liblinux/pngrw.o -Wall -ffast-math -funroll-loops
-fexpensive-optimizations -fno-strict-aliasing -I../../src -fpic -DPIC
-fvisibility=hidden -pipe -O3 -march=athlon64 -I/usr/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT -I../../../mupen64plus-core/src/api -c
../../src/liblinux/pngrw.c
../../src/liblinux/pngrw.c: In function ‘ReadPNG’:
../../src/liblinux/pngrw.c:139: error: ‘png_infopp_NULL’ undeclared (first
use in this function)
../../src/liblinux/pngrw.c:139: error: (Each undeclared identifier is
reported only once
../../src/liblinux/pngrw.c:139: error: for each function it appears in.)
../../src/liblinux/pngrw.c:164: warning: implicit declaration of function
‘png_check_sig’
../../src/liblinux/pngrw.c:201: error: ‘int_p_NULL’ undeclared (first use
in this function)
make: *** [_obj/liblinux/pngrw.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory
`/home/tom/mupen64plus/src/mupen64plus-bundle-src-1.99.1/source/mupen64plus-vide
o-rice/projects/unix'

Original issue reported on code.google.com by gos...@gmail.com on 31 Jan 2010 at 7:23

GoogleCodeExporter commented 8 years ago
I have just committed a couple of changes which should fix this error.  Please 
update
your source code and try the build again.

Original comment by richard...@gmail.com on 1 Feb 2010 at 6:12

GoogleCodeExporter commented 8 years ago
Hey, I'm wondering when the next bundle will be released because I strive for 
the
minimum amount of patches on a package.

Original comment by gos...@gmail.com on 2 Feb 2010 at 4:48

GoogleCodeExporter commented 8 years ago
The next version (1.99.3) will be released very soon; probably I'll do it this 
weekend.

Original comment by richard...@gmail.com on 2 Feb 2010 at 3:08

GoogleCodeExporter commented 8 years ago
Thank you! :)

Original comment by gos...@gmail.com on 2 Feb 2010 at 5:05