#145 Unable to build on Tiger

open
nobody
Cinelerra (81)
5
2008-07-21
2008-07-21
Pierre Rudloff
No

When trying to build Cinelerra 2.1 on Mac OS 10.4 Intel, I got the following errors :

make -f build/Makefile.cinelerra
uname: illegal option -- -
usage: uname [-amnprsv]
gcc -c -O2 -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../../freetype-2.1.4/include -I../../ -DHAVE_OSS -DHAVE_FIREWIRE soundtest.c -o /soundtest.o
soundtest.c:13:27: error: sys/soundcard.h: No such file or directory
soundtest.c: In function 'main':
soundtest.c:24: error: 'audio_buf_info' undeclared (first use in this function)
soundtest.c:24: error: (Each undeclared identifier is reported only once
soundtest.c:24: error: for each function it appears in.)
soundtest.c:24: error: parse error before 'playinfo'
soundtest.c:28: error: 'AFMT_S16_LE' undeclared (first use in this function)
soundtest.c:102: error: 'SNDCTL_DSP_SETFRAGMENT' undeclared (first use in this function)
soundtest.c:105: error: 'SNDCTL_DSP_SETDUPLEX' undeclared (first use in this function)
soundtest.c:110: error: 'SNDCTL_DSP_SETFMT' undeclared (first use in this function)
soundtest.c:112: error: 'SNDCTL_DSP_CHANNELS' undeclared (first use in this function)
soundtest.c:114: error: 'SNDCTL_DSP_SPEED' undeclared (first use in this function)
soundtest.c:117: error: 'SNDCTL_DSP_GETOSPACE' undeclared (first use in this function)
soundtest.c:117: error: 'playinfo' undeclared (first use in this function)
soundtest.c:157: error: 'SNDCTL_DSP_GETISPACE' undeclared (first use in this function)
soundtest.c:157: error: 'recinfo' undeclared (first use in this function)
soundtest.c:162: error: 'SNDCTL_DSP_RESET' undeclared (first use in this function)
make[1]: *** [/soundtest.o] Error 1
make: *** [all] Error 2

Discussion