Yet another zsnes make problem...in slack 9.1...redefinition probs
(sorry if this has been asked, i couldn't find it if it was)
well until now i've been able to interpret the error messages while trying to build zsnes and figure out what to do, but this one's got me:
gcc -pipe -I. -Wall -D__LINUX__ -I/usr/X11R6/include -I/usr/local/include/SDL -D_REENTRANT -D__OPENGL__ -Os -ffast-math -fomit-frame-pointer -fschedule-insns2 -s -march=pentiumpro -o chips/dsp1emu.o -c chips/dsp1emu.c
In file included from /usr/include/png.h:329,
from gblhdr.h:109,
from chips/dsp1emu.c:20:
/usr/include/zlib.h:68: redefinition of `struct z_stream_s'
/usr/include/zlib.h:705: conflicting types for `gzwrite'
/usr/local/include/zlib.h:982: previous declaration of `gzwrite'
/usr/include/zlib.h:882: redefinition of `struct internal_state'
gmake: *** [chips/dsp1emu.o] Error 1
i get the same error when using make; i'm wondering if i installed libpng or zlib incorrectly... any help would be appreciated. i think i have everything i need:
libpng-1.2.5
SDL-1.2.6
SDL-devel-1.2.6
zlib-1.2.1
nasm-0.98
thanks in advance...
|