twinaphex/fba-next-slim — Issue #11: Error building fba-next-slim for libsnes on OS X
Author: clobber
Created: 2012-02-07 03:48:49+00:00
State: open

When running ./compile_libsnes.sh make:

***********************
COMPILER SCRIPT FOR libsnes
***********************

*************************************
DOING:
make Compile libsnes library
*************************************

generate_driverlist.sh: Generate all files from scripts directory

1) gamelist.pl
Generating gamelist in generated/driverlist.h...
Generating gamelist.txt...

2) neo_sprite_func.pl
Generating generated/neo_sprite_func.h & generated/neo_sprite_func_table.h...

3) psikyo_tile_func.pl
Generating generated/psikyo_tile_func.h & generated/psikyo_tile_func_table.h...

4) cave_sprite_func.pl
Generating generated/cave_sprite_func.h & generated/cave_sprite_func_table.h...

5) cave_tile_func.pl
Generating generated/cave_tile_func.h & generated/cave_tile_func_table.h...

6) toa_gp9001_func.pl
Generating generated/toa_gp9001_func.h & generated/toa_gp9001_func_table.h...

7) pgm_sprite_create.cpp

8) compile m68kmake

9) Create m68kops.h with m68kmake

Musashi v3.3 68000, 68008, 68010, 68EC020, 68020 emulator
Copyright 1998-2000 Karl Stenerud (karl@mame.net)

Generated 1962 opcode handlers from 513 primitives

10) compile ctvmake

11) Create ctv.h with ctvmake
CC src/burner/ioapi.c
src/burner/ioapi.c: In function ‘fopen64_file_func’:
src/burner/ioapi.c:115: warning: implicit declaration of function ‘fopen64’
src/burner/ioapi.c:115: warning: assignment makes pointer from integer without a cast
src/burner/ioapi.c: In function ‘ftell64_file_func’:
src/burner/ioapi.c:145: warning: implicit declaration of function ‘ftello64’
src/burner/ioapi.c: In function ‘fseek64_file_func’:
src/burner/ioapi.c:191: warning: implicit declaration of function ‘fseeko64’
CC src/burner/unzip.c
CC src/burn/snd/ay8910.c
CC src/burn/snd/fm.c
CC src/burn/snd/fmopl.c
CC src/burn/snd/ym2151.c
CC src/burn/snd/ym2413.c
CC src/burn/snd/ymdeltat.c
CC src/burn/snd/ymf278b.c
CC src/cpu/m68k/m68kcpu.c
CC src/cpu/m68k/m68kopac.c
CC src/cpu/m68k/m68kopdm.c
CC src/cpu/m68k/m68kopnz.c
CC src/cpu/m68k/m68kops.c
CC src/dep/libs/zlib/adler32.c
CC src/dep/libs/zlib/compress.c
CC src/dep/libs/zlib/crc32.c
CC src/dep/libs/zlib/deflate.c
CC src/dep/libs/zlib/gzclose.c
CC src/dep/libs/zlib/gzlib.c
src/dep/libs/zlib/gzlib.c: In function ‘gz_open’:
src/dep/libs/zlib/gzlib.c:184: warning: implicit declaration of function ‘lseek’
CC src/dep/libs/zlib/gzread.c
src/dep/libs/zlib/gzread.c: In function ‘gz_load’:
src/dep/libs/zlib/gzread.c:31: warning: implicit declaration of function ‘read’
src/dep/libs/zlib/gzread.c: In function ‘gzclose_r’:
src/dep/libs/zlib/gzread.c:650: warning: implicit declaration of function ‘close’
CC src/dep/libs/zlib/gzwrite.c
src/dep/libs/zlib/gzwrite.c: In function ‘gz_comp’:
src/dep/libs/zlib/gzwrite.c:79: warning: implicit declaration of function ‘write’
src/dep/libs/zlib/gzwrite.c: In function ‘gzclose_w’:
src/dep/libs/zlib/gzwrite.c:528: warning: implicit declaration of function ‘close’
CC src/dep/libs/zlib/infback.c
CC src/dep/libs/zlib/inffast.c
CC src/dep/libs/zlib/inflate.c
CC src/dep/libs/zlib/inftrees.c
CC src/dep/libs/zlib/trees.c
CC src/dep/libs/zlib/uncompr.c
CC src/dep/libs/zlib/zutil.c
CXX src/burner/gamc.cpp
In file included from src/burner/gamc.cpp:2:
src/burner/burner.h:45:17: error: png.h: No such file or directory
make: *** [src/burner/gamc.o] Error 1