#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):

 and another one

 make[4]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir
 /target-mips_34kc_glibc-2.21/odhcpd-2015-03-31'
 make[5]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir
 /target-mips_34kc_glibc-2.21/odhcpd-2015-03-31'
 make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir
 /target-mips_34kc_glibc-2.21/odhcpd-2015-03-31'
 make[6]: Leaving directory `/mnt/storage/openwrt-cc/trunk/build_dir
 /target-mips_34kc_glibc-2.21/odhcpd-2015-03-31'
 make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir
 /target-mips_34kc_glibc-2.21/odhcpd-2015-03-31'
 [ 12%] Building C object CMakeFiles/odhcpd.dir/src/odhcpd.c.o
 /mnt/storage/openwrt-cc/trunk/build_dir/target-
 mips_34kc_glibc-2.21/odhcpd-2015-03-31/src/odhcpd.c: In function
 'odhcpd_urandom':
 /mnt/storage/openwrt-cc/trunk/build_dir/target-
 mips_34kc_glibc-2.21/odhcpd-2015-03-31/src/odhcpd.c:420:2: error: ignoring
 return value of 'read', declared with attribute warn_unused_result
 [-Werror=unused-result]
   read(urandom_fd, data, len);
   ^
 cc1: all warnings being treated as errors

--
Ticket URL: <https://dev.openwrt.org/ticket/19341#comment:6>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to