[Freeswitch-dev] Fix for portaudio on PPC

Patrick freeswitch-list at puzzled.xs4all.nl
Thu Nov 16 16:53:39 EST 2006


Hi all,

Here's a small fix that solves a problem with portaudio on PPC:
/home/patrick/fs/lib/libportaudio.so: R_PPC_REL24 relocation at
0x0ec1bf58 for symbol `memset' out of range**

Index: libs/portaudio.build.sh
===================================================================
--- libs/portaudio.build.sh     (revision 3388)
+++ libs/portaudio.build.sh     (working copy)
@@ -45,6 +45,9 @@
 if [ $arch = "amd64" ] ; then
 opts="-fPIC"
 fi
+if [ $arch = "ppc" ] ; then
+opts="-fPIC"
+fi
 
 CFLAGS=$opts ./configure $@
 $MAKE 

Regards,
Patrick




More information about the Freeswitch-dev mailing list