I tried to compile freeswitch-1.0.6 on OpenWRT for a Marvell Kirkwood (ARM) platform to no avail. The same source codes compiled just fine for a Broadcomm (MIPS/MIPS32) platform. What fails to compile is the source code of sofia.c at line 1574 with the following error messages: ++++++++++++++++++++++++++ make[8]: Entering directory `/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.2_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia' Creating mod_sofia_la-mod_sofia.lo mkdir .libs Compiling mod_sofia.c ... Creating mod_sofia_la-sofia.lo Compiling sofia.c ... sofia.c: In function 'logger': sofia.c:1574: error: used struct type value where scalar is required make[8]: *** [mod_sofia_la-sofia.lo] Error 1 make[8]: Leaving directory `/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.2_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia' make[7]: *** [all] Error 2 make[7]: Leaving directory `/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.2_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia' make[6]: *** [mod_sofia-all] Error 1 make[6]: Leaving directory `/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.2_eabi/freeswitch-1.0.6/src/mod' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.2_eabi/freeswitch-1.0.6/src' ++++++++++++++++++++++++++ The pertaining sofia.c source code at line 1574 is shown below: ++++++++++++++++++++++++++ 1569 static void logger(void *logarg, char const *fmt, va_list ap) 1570 { 1571 if (!fmt) 1572 return; 1573 1574 if (ap) { 1575 switch_log_vprintf(SWITCH_CHANNEL_LOG_CLEAN, mod_sofia_glob als.tracelevel, fmt, ap); 1576 } else { 1577 switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, mod_sofia_globa ls.tracelevel, "%s", fmt); 1578 } 1579 } ++++++++++++++++++++++++++ I am no programmer; however, isn't va_list ap indicates ap is a struct type value while the if(ap) expects ap to be a scalar value? If so, why sofia.c doesn't fail to compile for a MIPS/MIPS32 platform but fails to compile for an ARM platform? That said, how does one go about to fix this so that sofia.c source will compile cleanly on both platforms? Thanks. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Hi The answer you will get from here is to downgrade to an older compiler. This is thankfully easy enough to do with OpenWRT. A workaround, not a fix but it gets you going. Gerrit (who also posted this quite a while ago on the OpenWRT forum :-) mazilo wrote:
I tried to compile freeswitch-1.0.6 on OpenWRT for a Marvell Kirkwood (ARM) platform to no avail. The same source codes compiled just fine for a Broadcomm (MIPS/MIPS32) platform. What fails to compile is the source code of sofia.c at line 1574 with the following error messages:
++++++++++++++++++++++++++
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Thank you for your quick response and suggestion. Do you know which version of GCC should I downgrade to? I configured my OpenWRT SVN trunk with the versions of binutils-2.18, uClibc-0.9.30.1, and gcc-4.3.3 with CodeSourcery enhancements to compile freeswitch-1.0.6. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Hi I used 4.3.3 (without codesourcery enhancements), all the libs were whatever 'make menuconfig' preset. Some more details are in jira: http://jira.freeswitch.org/browse/MODSOFIA-68 Gerrit mazilo wrote:
Thank you for your quick response and suggestion. Do you know which version of GCC should I downgrade to? I configured my OpenWRT SVN trunk with the versions of binutils-2.18, uClibc-0.9.30.1, and gcc-4.3.3 with CodeSourcery enhancements to compile freeswitch-1.0.6.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
humbr wrote:
I used 4.3.3 (without codesourcery enhancements), all the libs were whatever 'make menuconfig' preset. Thanks for the suggestion and that makes a lot of difference. Now, I got FreeSwitch-1.0.6 built and installed on my Seagate DockStar. It is time to start playing with it.
BTW, if anyone is interested in get a Seagate DockStar, currently the only store Buy is selling a Seagate DockStar for $24.99 + Free S/H (to US). ----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
usually va_list is expressed externally as void * Is this the only place with an error? try altering the code so the if and else is replaced by just the contents of the if. ie the switch va_sprintf line On Sat, Jul 3, 2010 at 7:43 PM, mazilo <Nabble@slickdeals.endjunk.com>wrote:
I tried to compile freeswitch-1.0.6 on OpenWRT for a Marvell Kirkwood (ARM) platform to no avail. The same source codes compiled just fine for a Broadcomm (MIPS/MIPS32) platform. What fails to compile is the source code of sofia.c at line 1574 with the following error messages:
++++++++++++++++++++++++++ make[8]: Entering directory
`/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.2_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia' Creating mod_sofia_la-mod_sofia.lo mkdir .libs Compiling mod_sofia.c ... Creating mod_sofia_la-sofia.lo Compiling sofia.c ... sofia.c: In function 'logger': sofia.c:1574: error: used struct type value where scalar is required make[8]: *** [mod_sofia_la-sofia.lo] Error 1 make[8]: Leaving directory
`/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.2_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia' make[7]: *** [all] Error 2 make[7]: Leaving directory
`/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.2_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia' make[6]: *** [mod_sofia-all] Error 1 make[6]: Leaving directory
`/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.2_eabi/freeswitch-1.0.6/src/mod' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory
`/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.2_eabi/freeswitch-1.0.6/src' ++++++++++++++++++++++++++
The pertaining sofia.c source code at line 1574 is shown below:
++++++++++++++++++++++++++ 1569 static void logger(void *logarg, char const *fmt, va_list ap) 1570 { 1571 if (!fmt) 1572 return; 1573 1574 if (ap) { 1575 switch_log_vprintf(SWITCH_CHANNEL_LOG_CLEAN, mod_sofia_glob als.tracelevel, fmt, ap); 1576 } else { 1577 switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, mod_sofia_globa ls.tracelevel, "%s", fmt); 1578 } 1579 } ++++++++++++++++++++++++++
I am no programmer; however, isn't va_list ap indicates ap is a struct type value while the if(ap) expects ap to be a scalar value? If so, why sofia.c doesn't fail to compile for a MIPS/MIPS32 platform but fails to compile for an ARM platform? That said, how does one go about to fix this so that sofia.c source will compile cleanly on both platforms?
Thanks. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
Anthony Minessale wrote:
Is this the only place with an error? Yes.
Anthony Minessale wrote:
try altering the code so the if and else is replaced by just the contents of the if. ie the switch va_sprintf line I tried your suggestion above and compilation went through to produce mod_sofia.so file with no problem and a portion of the excerpts is as shown below:
make[8]: Entering directory `/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia'
Creating mod_sofia_la-sofia.lo Compiling sofia.c ... Creating mod_sofia_la-sofia_glue.lo Compiling sofia_glue.c ... Creating mod_sofia_la-sofia_presence.lo Compiling sofia_presence.c ... Creating mod_sofia_la-sofia_reg.lo Compiling sofia_reg.c ... Creating mod_sofia_la-sofia_sla.lo Compiling sofia_sla.c ... Creating mod_sofia_la-sip-dig.lo Compiling sip-dig.c ... Creating mod_sofia.la
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
can you try the latest git head to see if my workaround fixes it? On Tue, Jul 6, 2010 at 12:20 PM, mazilo <Nabble@slickdeals.endjunk.com>wrote:
Anthony Minessale wrote:
Is this the only place with an error? Yes.
Anthony Minessale wrote:
try altering the code so the if and else is replaced by just the contents of the if. ie the switch va_sprintf line I tried your suggestion above and compilation went through to produce mod_sofia.so file with no problem and a portion of the excerpts is as shown below:
make[8]: Entering directory
`/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia'
Creating mod_sofia_la-sofia.lo Compiling sofia.c ... Creating mod_sofia_la-sofia_glue.lo Compiling sofia_glue.c ... Creating mod_sofia_la-sofia_presence.lo Compiling sofia_presence.c ... Creating mod_sofia_la-sofia_reg.lo Compiling sofia_reg.c ... Creating mod_sofia_la-sofia_sla.lo Compiling sofia_sla.c ... Creating mod_sofia_la-sip-dig.lo Compiling sip-dig.c ... Creating mod_sofia.la
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
This will probably break all patches from OpenWRT for freeswitch-1.0.6. Could you make the patches against freeswitch-1.0.6? Anthony Minessale wrote:
can you try the latest git head to see if my workaround fixes it?
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Mazilo, wouldn't it be better to manually edit sofia.c with the 2 lines of code change and then generate a (temporary) patch for OpenWRT? Thi would solve the issue until the OpenWRT version re-aligns with the current git head of FS. Gerrit -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Just to make it easier:-) here is the link to http://fisheye.freeswitch.org/browse/freeswitch-git/src/mod/endpoints/mod_so... fisheye for the code change. Gerrit humbr wrote:
Mazilo, wouldn't it be better to manually edit sofia.c with the 2 lines of code change and then generate a (temporary) patch for OpenWRT? Thi would solve the issue until the OpenWRT version re-aligns with the current git head of FS.
Gerrit
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Thanks for the http://fisheye.freeswitch.org/browse/freeswitch-git/src/mod/endpoints/mod_so... fisheye link and that's what I was looking for. As you said, all I did was to change the following line: if (ap) { to: if (ap_ptr) { and the compilation crashed as shown below: make[7]: Entering directory `/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia'
make[8]: Entering directory `/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia' Creating mod_sofia_la-sofia.lo Compiling sofia.c ... sofia.c: In function 'logger': sofia.c:1574: error: 'ap_ptr' undeclared (first use in this function) sofia.c:1574: error: (Each undeclared identifier is reported only once sofia.c:1574: error: for each function it appears in.) make[8]: *** [mod_sofia_la-sofia.lo] Error 1 make[8]: Leaving directory `/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia' Perhaps, the patch won't work on a freeswitch-1.0.6. Oh well, at least we tried.
humbr wrote:
Just to make it easier:-) here is the link to http://fisheye.freeswitch.org/browse/freeswitch-git/src/mod/endpoints/mod_so... fisheye for the code change.
Gerrit
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
you forgot part of the patch =D The following 2 lines should be the first 2 lines in the function. /* gcc 4.4 gets mad at us for testing if (ap) so let's try to work around it....*/ void *ap_ptr = (void *) (intptr_t) ap; On Wed, Jul 7, 2010 at 8:02 AM, mazilo <Nabble@slickdeals.endjunk.com>wrote:
Thanks for the
http://fisheye.freeswitch.org/browse/freeswitch-git/src/mod/endpoints/mod_so... fisheye link and that's what I was looking for. As you said, all I did was to change the following line:
if (ap) { to:
if (ap_ptr) { and the compilation crashed as shown below:
make[7]: Entering directory
`/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia'
make[8]: Entering directory
`/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia'
Creating mod_sofia_la-sofia.lo Compiling sofia.c ... sofia.c: In function 'logger': sofia.c:1574: error: 'ap_ptr' undeclared (first use in this function) sofia.c:1574: error: (Each undeclared identifier is reported only once sofia.c:1574: error: for each function it appears in.) make[8]: *** [mod_sofia_la-sofia.lo] Error 1 make[8]: Leaving directory
`/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia' Perhaps, the patch won't work on a freeswitch-1.0.6. Oh well, at least we tried.
humbr wrote:
Just to make it easier:-) here is the link to
http://fisheye.freeswitch.org/browse/freeswitch-git/src/mod/endpoints/mod_so...
fisheye for the code change.
Gerrit
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
Thanks for your quick response. I went ahead to add the *ap_ptr declaration, and another error message surfaced as shown below: make[7]: Entering directory `/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia'
make[8]: Entering directory `/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia' Creating mod_sofia_la-sofia.lo Compiling sofia.c ... sofia.c: In function 'logger': sofia.c:1573: error: aggregate value used where an integer was expected make[8]: *** [mod_sofia_la-sofia.lo] Error 1 I believe the problem with if(ap) line I encountered above has something to do with the gcc-4.3.3 with CodeSourcery enhancements compiler. If I use the plain gcc-4.3.3 compiler, if(ap) line won't cause an error in compilation. So long as I stay using the plain gcc-4.3.3, the compilation will successfully produce mod_sofia.so file.
Anthony Minessale wrote:
you forgot part of the patch =D
The following 2 lines should be the first 2 lines in the function.
/* gcc 4.4 gets mad at us for testing if (ap) so let's try to work around it....*/ void *ap_ptr = (void *) (intptr_t) ap;
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
ok i guess its hopeless then, On Wed, Jul 7, 2010 at 10:51 AM, mazilo <Nabble@slickdeals.endjunk.com>wrote:
Thanks for your quick response. I went ahead to add the *ap_ptr declaration, and another error message surfaced as shown below:
make[7]: Entering directory
`/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia'
make[8]: Entering directory
`/opt/tmp/openwrt-svn-trunk-ARM/build_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/freeswitch-1.0.6/src/mod/endpoints/mod_sofia'
Creating mod_sofia_la-sofia.lo Compiling sofia.c ... sofia.c: In function 'logger': sofia.c:1573: error: aggregate value used where an integer was expected make[8]: *** [mod_sofia_la-sofia.lo] Error 1 I believe the problem with if(ap) line I encountered above has something to do with the gcc-4.3.3 with CodeSourcery enhancements compiler. If I use the plain gcc-4.3.3 compiler, if(ap) line won't cause an error in compilation. So long as I stay using the plain gcc-4.3.3, the compilation will successfully produce mod_sofia.so file.
Anthony Minessale wrote:
you forgot part of the patch =D
The following 2 lines should be the first 2 lines in the function.
/* gcc 4.4 gets mad at us for testing if (ap) so let's try to work
around
it....*/ void *ap_ptr = (void *) (intptr_t) ap;
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
Not really. At least, we gave it some tries. I believe it is not the problem on FS, but rather a problem to the gcc-4.3.3 compiler with CodeSourcery enhancements for OpenWRT. That said, if anyone wants to try, why not. Anthony Minessale wrote:
ok i guess its hopeless then,
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
I had the same issue with other uclibc builds, we had a patch for uclibc in astlinux that fixes this, but I believe it was fixed in newer uclibc as well. This was some header bug in uclibc iirc. Mike On Jul 7, 2010, at 6:52 PM, mazilo wrote:
Not really. At least, we gave it some tries. I believe it is not the problem on FS, but rather a problem to the gcc-4.3.3 compiler with CodeSourcery enhancements for OpenWRT. That said, if anyone wants to try, why not.
OpenWRT has created/included the patch for sofia.c file as pointed out above by http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Anthony Minessale . Michael Jerris wrote:
I had the same issue with other uclibc builds, we had a patch for uclibc in astlinux that fixes this, but I believe it was fixed in newer uclibc as well. This was some header bug in uclibc iirc.
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Please open a bug on jira on this issue for me with all those details attached. Thanks Mike On Aug 14, 2010, at 2:07 PM, mazilo wrote:
OpenWRT has created/included the patch for sofia.c file as pointed out above by http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Anthony Minessale .
Michael Jerris wrote:
I had the same issue with other uclibc builds, we had a patch for uclibc in astlinux that fixes this, but I believe it was fixed in newer uclibc as well. This was some header bug in uclibc iirc.
Hi Mike, I don't think it is necessary because the problem has been fixed by OpenWRT. Michael Jerris wrote:
Please open a bug on jira on this issue for me with all those details attached.
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Do it anyway... It allows the problem to be logged and tracked, and gives an id to use in commits. Freeswitch can then be patched so openwrt no longer need to. Then the patch can be pushed upstream to nokia referencing the Jira ticket which will contain a full description of the issue with patches attached, which will result in all copies of Sofia being fixed, not just openwrt. That then makes less work for openwrt and freeswitch as they no longer have to maintain a patch which might break against each new release of Sofia. In short, just because openwrt have fixed it doesn't mean it's not necessary to fix it elsewhere. Steve on iPhone On 16 Aug 2010, at 01:42, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Hi Mike,
I don't think it is necessary because the problem has been fixed by OpenWRT.
Michael Jerris wrote:
Please open a bug on jira on this issue for me with all those details attached.
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Failed-to-compile-sofia-c-for-... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Anthony Minessale
-
humbr
-
mazilo
-
Michael Jerris
-
Steven Ayre