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

 thanks for fixing this again but here's a new set of errors in odhcp6:

 make[6]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir
 /target-mips_34kc_glibc-2.21/odhcp6c-2015-03-30'
 [ 20%] Building C object CMakeFiles/odhcp6c.dir/src/odhcp6c.c.o
 /mnt/storage/openwrt-cc/trunk/build_dir/target-
 mips_34kc_glibc-2.21/odhcp6c-2015-03-30/src/odhcp6c.c: In function
 'usage':
 /mnt/storage/openwrt-cc/trunk/build_dir/target-
 mips_34kc_glibc-2.21/odhcp6c-2015-03-30/src/odhcp6c.c:448:2: error:
 ignoring return value of 'write', declared with attribute
 warn_unused_result [-Werror=unused-result]
   write(STDERR_FILENO, buf, sizeof(buf));
   ^
 /mnt/storage/openwrt-cc/trunk/build_dir/target-
 mips_34kc_glibc-2.21/odhcp6c-2015-03-30/src/odhcp6c.c: In function
 'odhcp6c_random':
 /mnt/storage/openwrt-cc/trunk/build_dir/target-
 mips_34kc_glibc-2.21/odhcp6c-2015-03-30/src/odhcp6c.c:659:2: error:
 ignoring return value of 'read', declared with attribute
 warn_unused_result [-Werror=unused-result]
   read(urandom_fd, buf, len);
   ^
 cc1: all warnings being treated as errors

--
Ticket URL: <https://dev.openwrt.org/ticket/19341#comment:5>
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