Bug report - Solaris 11.3 conflicting types for 'random_get_bytes'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mcookie fails to build on Solaris 11.3 since it already has
random_get_bytes() function with a different signature. Please rename
it to something different.

===> Building for mcookie-2.32.1
/opt/pkg/bin/bmake  all-recursive
Making all in po
  CC       lib/libcommon_la-randutils.lo
In file included from lib/randutils.c:29:
/usr/include/sys/random.h:71:12: error: conflicting types for 'random_get_bytes'
   71 | extern int random_get_bytes(uint8_t *dbuf, size_t dlen);
      |            ^~~~~~~~~~~~~~~~
In file included from lib/randutils.c:19:
./include/randutils.h:14:13: note: previous declaration of 'random_get_bytes' was here
   14 | extern void random_get_bytes(void *buf, size_t nbytes);
      |             ^~~~~~~~~~~~~~~~
*** [lib/libcommon_la-randutils.lo] Error code 1

bmake[2]: stopped in /opt/pkgbuild/objects/x11/mcookie/work/util-linux-2.32.1





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux