[Asterisk-Users] spandsp-0.0.2pre6

Adam Goryachev mailinglists at websitemanagers.com.au
Wed Dec 29 19:38:43 MST 2004


On Thu, 2004-12-30 at 01:48, Steve Underwood wrote:
> Hi Adam,
> 
> You must be using a prehistoric GCC. Before 3.0, GCC didn't understand 
> this C99 construct.

Hmmm, well I have:
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)
Yeah, I know, I'm using redhat, and it is really old. I'm waiting for a
'good' time to replace it with debian....

I managed to make it compile by deleting those definitions, but
obviously it didn't work :)

I managed to get pre4 to compile and even work properly for receiving a
fax from hylafax. So, that is a good sign. I noticed that connecting
txfax to rxfax didn't seem to work so well (It never 'finished', soft
hangup cli commands worked sometimes but not always, and basically, it
was quite messy). Since the only thing I need is rxfax, I eventually got
hylafax to send a fax to rxfax, and it worked, so I went home.

I'll re-visit pre6 or newer once I upgrade to debian hopefully over this
quite holiday period...

Regards,
Adam

> 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
> >  
> >
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list