#19341: ubox fails to compile under (e)glibc
------------------------+----------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: high | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Resolution: | Keywords: ubox (e)glibc
------------------------+----------------------------------
Comment (by anonymous):
the same failure happens with glibc 2.21
[ 14%] Built target kmodloader
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir
/target-mips_34kc_glibc-2.21/ubox-2015-02-26.1'
Scanning dependencies of target logd
make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir
/target-mips_34kc_glibc-2.21/ubox-2015-02-26.1'
make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir
/target-mips_34kc_glibc-2.21/ubox-2015-02-26.1'
[ 28%] Building C object CMakeFiles/logd.dir/log/logd.c.o
/mnt/storage/openwrt-cc/trunk/build_dir/target-
mips_34kc_glibc-2.21/ubox-2015-02-26.1/log/logd.c: In function 'read_log':
/mnt/storage/openwrt-cc/trunk/build_dir/target-
mips_34kc_glibc-2.21/ubox-2015-02-26.1/log/logd.c:85:2: error: ignoring
return value of 'pipe', declared with attribute warn_unused_result
[-Werror=unused-result]
pipe(fds);
^
cc1: all warnings being treated as errors
make[6]: *** [CMakeFiles/logd.dir/log/logd.c.o] Error 1
--
Ticket URL: <https://dev.openwrt.org/ticket/19341#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets