[Asterisk-Users] spandsp-0.0.2pre6
Steve Underwood
steveu at coppice.org
Wed Dec 29 07:48:27 MST 2004
Hi Adam,
You must be using a prehistoric GCC. Before 3.0, GCC didn't understand
this C99 construct.
Regards,
Steve
Adam Goryachev wrote:
>Just wondering if anyone else has managed to successfully compile
>spandsp-0.0.2pre6...
>I'm assuming it is working for most people, else it probably wouldn't
>have been released, and/or, other people would have had more to say
>about it...
>
>In any case, these are the errors I am getting while doing a make:
>if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
>-I -g -O2 -MT t30.lo -MD -MP -MF ".deps/t30.Tpo" -c -o t30.lo t30.c;
>\
>then mv -f ".deps/t30.Tpo" ".deps/t30.Plo"; else rm -f ".deps/t30.Tpo";
>exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -MT t30.lo -MD -MP -MF
>.deps/t30.Tpo -c t30.c -fPIC -DPIC -o .libs/t30.o
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -MT t30.lo -MD -MP -MF
>.deps/t30.Tpo -c t30.c -o t30.o >/dev/null 2>&1
>if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
>-I -g -O2 -MT t31.lo -MD -MP -MF ".deps/t31.Tpo" -c -o t31.lo t31.c;
>\
>then mv -f ".deps/t31.Tpo" ".deps/t31.Plo"; else rm -f ".deps/t31.Tpo";
>exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -MT t31.lo -MD -MP -MF
>.deps/t31.Tpo -c t31.c -fPIC -DPIC -o .libs/t31.o
>t31.c:60: unknown field `s_regs' specified in initializer
>t31.c:61: unknown field `s_regs' specified in initializer
>t31.c:62: unknown field `s_regs' specified in initializer
>t31.c:63: unknown field `s_regs' specified in initializer
>t31.c:64: unknown field `s_regs' specified in initializer
>t31.c:65: unknown field `s_regs' specified in initializer
>t31.c:66: unknown field `s_regs' specified in initializer
>make[2]: *** [t31.lo] Error 1
>make[2]: Leaving directory `/usr/src/asterisk/spandsp-0.0.2/src'
>make[1]: *** [all] Error 2
>make[1]: Leaving directory `/usr/src/asterisk/spandsp-0.0.2/src'
>make: *** [all-recursive] Error 1
>
>I've tried various 'hacks' to the source code to try and make it
>compile, but I don't know enough C to successfully do even that...
>
>Anyone got any suggestions? Is there something else I should look for??
>
>Thanks,
>Adam
>
>
More information about the asterisk-users
mailing list