sun_fc: Sun_fcAdapterCreateWWN.cc is missing unistd.h
lib - userland libraries
Build error from gcc 6:
../common/Sun_fcAdapterCreateWWN.cc: In function 'void get_random_bytes(HBA_UINT8*, std::size_t)': ../common/Sun_fcAdapterCreateWWN.cc:46:30: error: 'read' was not declared in this scope bytes = read(fd, ptr, resid); ^ ../common/Sun_fcAdapterCreateWWN.cc:50:11: error: 'close' was not declared in this scope close (fd); ^ *** Error code 1 dmake: Fatal error: Command failed for target `pics/Sun_fcAdapterCreateWWN.o'
Updated by Electric Monk over 2 years ago
- % Done changed from 90 to 100
- Status changed from In Progress to Closed
commit 8edd08a7913c626678965a9c38207aeb6b544013 Author: Toomas Soome <firstname.lastname@example.org> Date: 2017-06-02T17:48:33.000Z 8289 sun_fc: Sun_fcAdapterCreateWWN.cc is missing unistd.h Reviewed by: Sebastian Wiedenroth <email@example.com> Reviewed by: Jason King <firstname.lastname@example.org> Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Alexander Pyhalov <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>