
formats.c pipe rewind mechanism needs to consider more platforms
#elif defined _MSC_VER || defined _WIN32 || defined _WIN64 || defined _ISO_STDIO_ISO_H || defined _AIX || defined __hpux
# test:
cat src/monkey.wav | ./sox --info -
vad.c name clash (AIX)
typedef struct {} chan_t; => typedef struct {} sox_chan_t;
sox.h problems with some "long" constants
# HP-UX:
#if UINT_MAX==0xffffffffU
# AIX:
#if LONG_MAX==9223372036854775807LL && LONG_MIN==(-9223372036854775807LL-1)
#if ULONG_MAX==0xffffffffffffffffLL
Follow instructions in INSTALL, i.e. specify locations
of optional headers and libraries in the configure run:
make distclean
# AIX 5.3, C 8.0
./configure --prefix=/tmp/sox-14.4.1 CC=cc CPPFLAGS="-D_THREAD_SAFE -D_LARGE_FILES -I/bio/local/include" CFLAGS="-O2" LDFLAGS=-L/bio/local/lib --enable-static --disable-shared
# AIX 6.1, C 9.0:
# fmemopen() needs SUSv4 prototypes, otherwise undef HAVE_FMEMOPEN src/soxconfig.h
./configure --prefix=/tmp/sox-14.4.1 CC=cc CPPFLAGS="-D_THREAD_SAFE -D_LARGE_FILES -I/bio/local/include -D_XOPEN_SOURCE=700" CFLAGS="-O2" LDFLAGS=-L/bio/local/lib --enable-static --disable-shared
# HP-UX 11.00, gcc:
./configure --prefix=/tmp/sox-12.18.1 CPPFLAGS=-I/nfs/local/1100/include/ LDFLAGS=-L/nfs/local/1100/lib
# HP-UX 10.20, native cc:
./configure --prefix=/tmp/sox-14.4.1 CC=cc CFLAGS="-O -Ae -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/nfs/local/1020/include" LDFLAGS=-L/nfs/local/1020/lib --enable-static --disable-shared
make clean
make -s
make html # requires groff2html
make pdf # requires pdfroff
make install
make install-html
make install-pdf