[Asterisk-Users] Problem Compiling Spandsp
Juanjo Portela
juanjo.portela at gmail.com
Mon Mar 14 17:44:40 MST 2005
Sirs,
I can't compile the source spandsp-0.0.2pre10; when i try to do the
"make" sentence the following errors appear:
# make
Making all in src
make[1]: Entering directory `/export/usr/src/spandsp-0.0.2/src'
make all-am
make[2]: Entering directory `/export/usr/src/spandsp-0.0.2/src'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I -g -O2 -MT adsi.lo -MD -MP -MF ".deps/adsi.Tpo" -c -o adsi.lo
adsi.c; \
then mv -f ".deps/adsi.Tpo" ".deps/adsi.Plo"; else rm -f
".deps/adsi.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -MT adsi.lo -MD -MP -MF
.deps/adsi.Tpo -c adsi.c -fPIC -DPIC -o .libs/adsi.o
gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -MT adsi.lo -MD -MP -MF
.deps/adsi.Tpo -c adsi.c -o adsi.o >/dev/null 2>&1
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I -g -O2 -MT awgn.lo -MD -MP -MF ".deps/awgn.Tpo" -c -o awgn.lo
awgn.c; \
then mv -f ".deps/awgn.Tpo" ".deps/awgn.Plo"; else rm -f
".deps/awgn.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -MT awgn.lo -MD -MP -MF
.deps/awgn.Tpo -c awgn.c -fPIC -DPIC -o .libs/awgn.o
gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -MT awgn.lo -MD -MP -MF
.deps/awgn.Tpo -c awgn.c -o awgn.o >/dev/null 2>&1
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I -g -O2 -MT bert.lo -MD -MP -MF ".deps/bert.Tpo" -c -o bert.lo
bert.c; \
then mv -f ".deps/bert.Tpo" ".deps/bert.Plo"; else rm -f
".deps/bert.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -MT bert.lo -MD -MP -MF
.deps/bert.Tpo -c bert.c -fPIC -DPIC -o .libs/bert.o
bert.c:43:20: tiffio.h: No such file or directory
In file included from spandsp.h:75,
from bert.c:45:
spandsp/t4.h:74: error: syntax error before "TIFF"
spandsp/t4.h:74: warning: no semicolon at end of struct or union
spandsp/t4.h:147: error: syntax error before '}' token
spandsp/t4.h:147: warning: data definition has no type or storage class
spandsp/t4.h:181: error: syntax error before '*' token
spandsp/t4.h:181: warning: data definition has no type or storage class
spandsp/t4.h:189: error: syntax error before '*' token
spandsp/t4.h:195: error: syntax error before '*' token
spandsp/t4.h:202: error: syntax error before '*' token
spandsp/t4.h:208: error: syntax error before '*' token
spandsp/t4.h:216: error: syntax error before '*' token
spandsp/t4.h:225: error: syntax error before '*' token
spandsp/t4.h:231: error: syntax error before '*' token
spandsp/t4.h:237: error: syntax error before '*' token
spandsp/t4.h:243: error: syntax error before '*' token
spandsp/t4.h:249: error: syntax error before '*' token
spandsp/t4.h:255: error: syntax error before '*' token
spandsp/t4.h:261: error: syntax error before '*' token
spandsp/t4.h:267: error: syntax error before '*' token
spandsp/t4.h:273: error: syntax error before '*' token
spandsp/t4.h:281: error: syntax error before '*' token
spandsp/t4.h:281: warning: data definition has no type or storage class
spandsp/t4.h:288: error: syntax error before '*' token
spandsp/t4.h:294: error: syntax error before '*' token
spandsp/t4.h:300: error: syntax error before '*' token
spandsp/t4.h:306: error: syntax error before '*' token
spandsp/t4.h:316: error: syntax error before '*' token
spandsp/t4.h:324: error: syntax error before '*' token
spandsp/t4.h:331: error: syntax error before '*' token
spandsp/t4.h:337: error: syntax error before '*' token
spandsp/t4.h:345: error: syntax error before '*' token
spandsp/t4.h:351: error: syntax error before '*' token
spandsp/t4.h:361: error: syntax error before '*' token
spandsp/t4.h:367: error: syntax error before '*' token
spandsp/t4.h:373: error: syntax error before '*' token
spandsp/t4.h:379: error: syntax error before '*' token
spandsp/t4.h:385: error: syntax error before '*' token
spandsp/t4.h:392: error: syntax error before '*' token
In file included from spandsp.h:76,
from bert.c:45:
spandsp/t30.h:195: error: syntax error before "t4_state_t"
spandsp/t30.h:195: warning: no semicolon at end of struct or union
spandsp/t30.h:198: error: syntax error before '}' token
make[2]: *** [bert.lo] Error 1
make[2]: Leaving directory `/export/usr/src/spandsp-0.0.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/usr/src/spandsp-0.0.2/src'
make: *** [all-recursive] Error
I'm using Fedora Core 2 and Asterisk 1.0.5
Can you help me?
Thank you in advance,
Juanjo
More information about the asterisk-users
mailing list