[Freeswitch-dev] error compiling latest revision of Freeswitch in mod_spandsp
Hi , I am trying to compile the latest freeswitch commit and its giving an error compiling mod_spandsp. The error I am encountering is shown below. Can you please let me know what is this error about? Thanks in advance Regards Jyotshna Creating mod_spandsp_la-mod_spandsp_codecs.lo quiet_libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../libs/xmlrpc-c -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DMACOSX -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -I/opt/local/include -I. -g -O2 -pipe -no-cpp-precomp -MT mod_spandsp_la-mod_spandsp_codecs.lo -MD -MP -MF .deps/mod_spandsp_la-mod_spandsp_codecs.Tpo -c mod_spandsp_codecs.c -fno-common -DPIC -o .libs/mod_spandsp_la-mod_spandsp_codecs.o quiet_libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../libs/xmlrpc-c -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DMACOSX -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -I/opt/local/include -I. -g -O2 -pipe -no-cpp-precomp -MT mod_spandsp_la-mod_spandsp_codecs.lo -MD -MP -MF .deps/mod_spandsp_la-mod_spandsp_codecs.Tpo -c mod_spandsp_codecs.c -o mod_spandsp_la-mod_spandsp_codecs.o >/dev/null 2>&1 Making all in src libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -DNDEBUG -msse2 -std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -MT gsm0610_rpe.lo -MD -MP -MF .deps/gsm0610_rpe.Tpo -c gsm0610_rpe.c -fno-common -DPIC -o gsm0610_rpe.o /var/folders/6j/6j6pnfgbHfW8zcc0l-uJhE+++TI/-Tmp-//ccahZHsB.s:429:suffix or operands invalid for `movq' make[7]: *** [gsm0610_rpe.lo] Error 1 make[6]: *** [all] Error 2 make[5]: *** [all-recursive] Error 1 make[4]: *** [/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src/libspandsp.la] Error 2 make[3]: *** [mod_spandsp-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Do you have libxml2 installed on your system? -MC On Wed, Aug 24, 2011 at 8:06 AM, Jyotshna Cherukuri < jcherukuri_necc@yahoo.com> wrote:
Hi ,
I am trying to compile the latest freeswitch commit and its giving an error compiling mod_spandsp. The error I am encountering is shown below. Can you please let me know what is this error about?
Thanks in advance Regards Jyotshna
Creating mod_spandsp_la-mod_spandsp_codecs.lo quiet_libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../libs/xmlrpc-c -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DMACOSX -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -I/opt/local/include -I. -g -O2 -pipe -no-cpp-precomp -MT mod_spandsp_la-mod_spandsp_codecs.lo -MD -MP -MF .deps/mod_spandsp_la-mod_spandsp_codecs.Tpo -c mod_spandsp_codecs.c -fno-common -DPIC -o .libs/mod_spandsp_la-mod_spandsp_codecs.o quiet_libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../libs/xmlrpc-c -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/src/include -I/Users/jyotshna/FSLUA/freeswitch/libs/libteletone/src -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DMACOSX -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -I/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -I/opt/local/include -I. -g -O2 -pipe -no-cpp-precomp -MT mod_spandsp_la-mod_spandsp_codecs.lo -MD -MP -MF .deps/mod_spandsp_la-mod_spandsp_codecs.Tpo -c mod_spandsp_codecs.c -o mod_spandsp_la-mod_spandsp_codecs.o >/dev/null 2>&1 Making all in src libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/Users/jyotshna/FSLUA/freeswitch/libs/tiff-3.8.2/libtiff -DNDEBUG -msse2 -std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -MT gsm0610_rpe.lo -MD -MP -MF .deps/gsm0610_rpe.Tpo -c gsm0610_rpe.c -fno-common -DPIC -o gsm0610_rpe.o /var/folders/6j/6j6pnfgbHfW8zcc0l-uJhE+++TI/-Tmp-//ccahZHsB.s:429:suffix or operands invalid for `movq' make[7]: *** [gsm0610_rpe.lo] Error 1 make[6]: *** [all] Error 2 make[5]: *** [all-recursive] Error 1 make[4]: *** [/Users/jyotshna/FSLUA/freeswitch/libs/spandsp/src/ libspandsp.la] Error 2 make[3]: *** [mod_spandsp-all] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
On Wed, Aug 24, 2011 at 2:54 PM, Michael Collins <msc@freeswitch.org> wrote:
-MP -MF .deps/gsm0610_rpe.Tpo -c gsm0610_rpe.c -fno-common -DPIC -o gsm0610_rpe.o /var/folders/6j/6j6pnfgbHfW8zcc0l-uJhE+++TI/-Tmp-//ccahZHsB.s:429:suffix or operands invalid for `movq'
This looks more like something changed in the assembly stuff in src/gsm0610_rpe.c Moises Silva Senior Software Engineer, Software Development Manager Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy@sangoma.com
On Wednesday, August 24, 2011, Moises Silva <moises.silva@gmail.com> wrote:
On Wed, Aug 24, 2011 at 2:54 PM, Michael Collins <msc@freeswitch.org> wrote:
-MP -MF .deps/gsm0610_rpe.Tpo -c gsm0610_rpe.c -fno-common -DPIC -o gsm0610_rpe.o /var/folders/6j/6j6pnfgbHfW8zcc0l-uJhE+++TI/-Tmp-//ccahZHsB.s:429:suffix or operands invalid for `movq'
This looks more like something changed in the assembly stuff in src/gsm0610_rpe.c
Good point. I ran into something similar when I upgraded to Snow Leopard from Leopard. The configure script thought my system was 64 bit when it's 32. Anyone have suggestions? -MC
Moises Silva Senior Software Engineer, Software Development Manager Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy@sangoma.com
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Any ideas here? I get the same error... Michael, what did you do to overcome the architecture mismatch? Berton
participants (4)
-
Berton Earnshaw
-
Jyotshna Cherukuri
-
Michael Collins
-
Moises Silva