[Asterisk-Users] Compile error on spandsp-0.0.2-pre6
Steve Underwood
steveu at coppice.org
Wed Nov 17 07:00:40 MST 2004
Hi Leonardo,
This is not a libtool issue. It looks like you must have an ancient C
compiler, that doesn't understand C99 constructs.
Steve
Leonardo Gomes Figueira wrote:
> Hi,
>
> Trying to update to spandsp-0.0.2-pre6 I got a compile error:
>
> Making all in src
> make[1]: Entering directory
> `/mnt/geracaodecd/rpm/BUILD/spandsp-0.0.2/src'
> make all-am
> make[2]: Entering directory
> `/mnt/geracaodecd/rpm/BUILD/spandsp-0.0.2/src'
> source='t31.c' object='t31.lo' libtool=yes \
> depfile='.deps/t31.Plo' tmpdepfile='.deps/t31.TPlo' \
> depmode=gcc /bin/sh ../config/depcomp \
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I
> -g -O2 -c -o t31.lo t31.c
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -c t31.c
> -Wp,-MD,.deps/t31.TPlo -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 `/mnt/geracaodecd/rpm/BUILD/spandsp-0.0.2/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/mnt/geracaodecd/rpm/BUILD/spandsp-0.0.2/src'
> make: *** [all-recursive] Error 1
>
> Running libtool 1.4.3. (I tried on an FC2 with libtool 1.5.6 and it
> compiled). Do I need to upgrade libtool ? Any chance of making the
> source compatible with older versions ?
>
>
> Thanks,
>
> Leonardo
>
More information about the asterisk-users
mailing list