[Freeswitch-dev] error building latest FS with branch v1.4

Travis Cross tc at travislists.com
Thu Sep 4 06:46:03 MSD 2014


Please:

  git clean -fdx && git fetch origin && git reset --hard origin/master \
    && ./bootstrap.sh -j && ./configure -C && make -j

It would be very surprising if the issue still remained.  It builds
fine with this wrapper around gcc in the path:

#!/bin/bash
for x in "$@"; do
  if test "$x" = "-Wno-unused-result"; then
    echo "Error: $x unsupported">&2
    exit 1
  fi
done
exec /usr/bin/gcc "$@"

On 2014-09-04 00:07, Nuno Reis wrote:
> Hi guys.
> 
> Just want to tell you that the issue still remains, even after 1c058e0f4560cf614f11c03067ceffca77c827b0.
> Do you want me to file a jira at this point?
> 
> --
> 
> *Nuno Miguel Reis*| *Unified Communication**Systems*
> M. +351 913907481 | nreis at wavecom.pt <mailto:nreis at wavecom.pt>
> 
> WAVECOM-Soluções Rádio, S.A.
> Cacia Park | Rua do Progresso, Lote 15
> 3800-639 AVEIRO | Portugal
> T. +351 309 700 225 | F. +351 234 919 191
> *GPS <http://maps.google.com/maps/ms?msa=0&msid=202333747613191340808.0004b4b227a6144f0df88> | www.wavecom.pt <http://www.wavecom.pt/>**<http://www.wavecom.pt/>*
> 
> Description: Description: WavecomSignature <http://www.wavecom.pt/pt/wavecom/premios.php>
> 
> Publicity <http://www.wavecom.pt/pt/mail_eventos.php>
> 
> 
> 
> 
> On Wed, Sep 3, 2014 at 4:32 PM, Ken Rice <krice at freeswitch.org <mailto:krice at freeswitch.org>> wrote:
> 
>     No jira is needed, it would just be a dupe of another one already there, and, its already fixed...
> 
>     The patch has even been merged to 1.4
> 
>     On 9/3/14 10:06 AM, "Nuno Reis" <nreis at wavecom.pt <http://nreis@wavecom.pt>> wrote:
> 
>         Hi Travis.
> 
>         Do you still want me to file a jira on this?
> 
>         Cheers,
> 
>         --
> 
>         *Nuno Miguel Reis* | *Unified Communication Systems
>         *
>         M. +351 913907481 <tel:%2B351%20913907481> | nreis at wavecom.pt <http://nreis@wavecom.pt> <mailto:nreis at wavecom.pt>
>         WAVECOM-Soluções Rádio, S.A.
>         Cacia Park | Rua do Progresso, Lote 15
>         3800-639 AVEIRO | Portugal
>         T. +351 309 700 225 <tel:%2B351%20309%20700%20225> | F. +351 234 919 191 <tel:%2B351%20234%20919%20191>
>         *GPS**<http://maps.google.com/maps/ms?msa=0&msid=202333747613191340808.0004b4b227a6144f0df88>  | www.wavecom.pt <http://www.wavecom.pt> <http://www.wavecom.pt/> **<http://www.wavecom.pt/>
>         *
>         <http://www.wavecom.pt/pt/wavecom/premios.php>
> 
>         <http://www.wavecom.pt/pt/mail_eventos.php>
> 
> 
> 
> 
>         On Wed, Sep 3, 2014 at 2:46 PM, Travis Cross <tc at travislists.com <http://tc@travislists.com>> wrote:
> 
>             Our v1.4 branch just needs to merge with latest master where this is
>             already handled; in particular it needs to pick commit
>             1c058e0f4560cf614f11c03067ceffca77c827b0.
> 
>             On 2014-09-03 13:27, Michael Jerris wrote:
>             > Please file a jira for this issue.
>             >
>             > Thanks
>             > Mike
>             >
>             > On Sep 3, 2014, at 8:30 AM, Nuno Reis <nreis at wavecom.pt <http://nreis@wavecom.pt> <mailto:nreis at wavecom.pt> <mailto:nreis at wavecom.pt%3E>> wrote:
>             >
>             >> Hi Travis.
>             >> I've tried to build the latest v1.4 today and found out that your commit: "Remove dead assignments in `switch.c`" (aa9bbf82) is breaking the build, at least on CentOS 6 x86_64.
>             >>
>             >> src/switch.c: In function 'check_fd':
>             >> src/switch.c:254: error: ignoring return value of 'write', declared with attribute warn_unused_result
>             >> src/switch.c: In function 'main':
>             >> src/switch.c:1192: error: ignoring return value of 'read', declared with attribute warn_unused_result
>             >> At top level:
>             >> cc1: error: unrecognized command line option "-Wno-unused-result"
>             >> make[2]: *** [src/freeswitch-switch.o] Error 1
>             >> make[2]: Leaving directory `/home/devel/rpmbuild/BUILD/freeswitch-wavecom'
>             >> make[1]: *** [all-recursive] Error 1
>             >> make[1]: Leaving directory `/home/devel/rpmbuild/BUILD/freeswitch-wavecom'
>             >> make: *** [all] Error 2
>             >> error: Bad exit status from /var/tmp/rpm-tmp.ThFmYG (%build)
>             >>
>             >> I've just undo the commit again and the build has been successful.
>             >>
>             >>
>             >> Cheers,
>             >>
>             >> --
>             >>
>             >> *Nuno Miguel Reis*| *Unified Communication**Systems*
>             >> M. +351 913907481 <tel:%2B351%20913907481> <tel:%2B351%20913907481>  | nreis at wavecom.pt <http://nreis@wavecom.pt> <mailto:nreis at wavecom.pt>
> 
>             >>
>             >> WAVECOM-Soluções Rádio, S.A.
>             >> Cacia Park | Rua do Progresso, Lote 15
>             >> 3800-639 AVEIRO | Portugal
>             >> T. +351 309 700 225 <tel:%2B351%20309%20700%20225> <tel:%2B351%20309%20700%20225>  | F. +351 234 919 191 <tel:%2B351%20234%20919%20191> <tel:%2B351%20234%20919%20191>
>             >> *GPS <http://maps.google.com/maps/ms?msa=0&msid=202333747613191340808.0004b4b227a6144f0df88> | www.wavecom.pt <http://www.wavecom.pt> <http://www.wavecom.pt>  <http://www.wavecom.pt/>**<http://www.wavecom.pt/>* <http://www.wavecom.pt/%3E**%3Chttp://www.wavecom.pt/%3E*>
> 
>             >>
>             >> <image001.png> <http://www.wavecom.pt/pt/wavecom/premios.php>
>             >>
>             >> Publicity <http://www.wavecom.pt/pt/mail_eventos.php>
>             >>
>             >>
>             >>
>             >> _________________________________________________________________________
>             >> Professional FreeSWITCH Consulting Services:
>             >> consulting at freeswitch.org <http://consulting@freeswitch.org> <mailto:consulting at freeswitch.org>
>             >> http://www.freeswitchsolutions.com
>             >>
>             >> 
>             >> 
>             >>
>             >> Official FreeSWITCH Sites
>             >> http://www.freeswitch.org
>             >> http://wiki.freeswitch.org
>             >> http://www.cluecon.com
>             >>
>             >> FreeSWITCH-dev mailing list
>             >> FreeSWITCH-dev at lists.freeswitch.org <http://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




Join us at ClueCon 2014 Aug 4-7, 2014
More information about the FreeSWITCH-dev mailing list