I'm trying to install SoX, and get through configure fine, but it fails on make with the following:
Code:
/bin/sh ../libtool --silent --tag=CC --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -DLADSPA_PATH="\"/var/tmp/sox/sox14/lib/ladspa\"" -DPKGLIBDIR="\"/var/tmp/sox
/sox14/lib/sox\"" -Wconversion -g -O2 -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-
prototypes -Wstrict-prototypes -pedantic -MT libsox_la-spectrogram.lo -MD -MP -MF
.deps/libsox_la-spectrogram.Tpo -c -o libsox_la-spectrogram.lo `test -f
'spectrogram.c' || echo './'`spectrogram.c
spectrogram.c: In function `stop':
spectrogram.c:593: warning: implicit declaration of function `png_set_rows'
spectrogram.c:594: warning: implicit declaration of function `png_write_png'
spectrogram.c:594: `PNG_TRANSFORM_IDENTITY' undeclared (first use in this function)
spectrogram.c:594: (Each undeclared identifier is reported only once
spectrogram.c:594: for each function it appears in.)
make[1]: *** [libsox_la-spectrogram.lo] Error 1
make[1]: Leaving directory `/var/tmp/sox/sox-14.3.1/src'
make: *** [all-recursive] Error 1
I'm guessing this is more of a linker/pointer error than anything else because this is the beginning of spectrogram.c
Code:
#include "sox_i.h"
#include "fft4g.h"
#include "sgetopt.h"
#include <assert.h>
#include <math.h>
#include <png.h>
png.h is included, which is where PNG_TRANSFORM_IDENTITY is supposed to come from. Am I missing something? Any help at all would be appreciated
Thanks!