Hi,

I am also trying to compile spandsp on OSX 10.5.1, but it hangs on the  
same error (using pre16 now). Did anyone find a fix or workaround for  
this?

Best regards,
Arnoud Post





[Callweaver-users] OS X callweaver/spandsp compile issueRob Gillan rob  
at mosais.com.au
Tue Nov 13 21:31:57 GMT 2007

        • Previous message: [Callweaver-users] Setting Fax Max Speed
        • Next message: [Callweaver-users] Callweaver 4240 doesn't build on  
OSX 10.4.10
        • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,

I am trying to configure everything into /usr/local/callweaver (which
has worked in the past) as this is where the other libraries have
also been installed (tiff, readline etc.).  Have tried
spandsp-0.0.4pre10.tgz, as well as pre11 and pre15 with the same
results.

./configure CFLAGS="-I/usr/local/callweaver/include" LDFLAGS="-L/usr/
local/callweaver/lib" --prefix=/usr/local/callweaver

Just trying to compile the latest trunk snapshot on OS X (10.4.10)
and am getting the following error on make:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I/usr/include/libxml2 -DNDEBUG -
std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -I/usr/local/callweaver/
include -MT vector_float.lo -MD -MP -MF .deps/vector_float.Tpo -c
vector_float.c -o vector_float.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I. -I..  -I/usr/include/libxml2 -DNDEBUG -std=gnu99 -ffast-math -
Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -I/usr/local/callweaver/include -MT vector_int.lo -MD -MP -
MF ".deps/vector_int.Tpo" -c -o vector_int.lo vector_int.c; \
then mv -f ".deps/vector_int.Tpo" ".deps/vector_int.Plo"; else rm -f
".deps/vector_int.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I/usr/include/libxml2 -DNDEBUG -
std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -I/usr/local/callweaver/
include -MT vector_int.lo -MD -MP -MF .deps/vector_int.Tpo -c
vector_int.c  -fno-common -DPIC -o .libs/vector_int.o
vector_int.c: In function 'vec_min_maxi16':
vector_int.c:170: error: can't find a register in class
'GENERAL_REGS' while reloading 'asm'
make[2]: *** [vector_int.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

I presume it's an OS X thing, but any help gladly appreciated.

Cheers
Rob

_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to