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

Nuno Reis nreis at wavecom.pt
Wed Sep 3 16:30:37 MSD 2014


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 | 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/>*

[image: Description: Description: WavecomSignature]
<http://www.wavecom.pt/pt/wavecom/premios.php>

[image: Publicity] <http://www.wavecom.pt/pt/mail_eventos.php>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20140903/ee7293b9/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 16423 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20140903/ee7293b9/attachment-0001.png 


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