From: Diego Nieto Cid <[email protected]>
Hello,
I'm having the following issue while compiling Hurd from source:
../../rumpdisk/block-rump.c: In function ‘rumpdisk_device_set_status’:
../../rumpdisk/block-rump.c:556:10: error: ‘DEV_FLUSH_CACHE’ undeclared
(first use in this function)
556 | case DEV_FLUSH_CACHE:
| ^~~~~~~~~~~~~~~
../../rumpdisk/block-rump.c:556:10: note: each undeclared identifier is
reported only once for each function it appears in
make[1]: *** [../../rumpdisk/Makefile:46: block-rump.disk.o] Error 1
make[1]: Leaving directory
'/home/demo/dev/hurd/upstream/hurd/build-tree/rumpdisk'
make: *** [../Makefile:264: rumpdisk] Error 2
The usage of DEV_FLUSH_CACHE was introduced in commit
6cf607fe4b1457160dded4652f8c086b75056784 [1]
and as the commit mesage says I'm probably missing the corresponding gnumach
patch.
However, as it was ifdefed in libstore/device.c (in the same patch) I decide to
send this
small patch that also ifdef it in rumpdisk.
Regards,
Diego
[1]
https://cgit.git.savannah.gnu.org/cgit/hurd/hurd.git/commit/?id=6cf607fe4b1457160dded4652f8c086b75056784
--
2.51.0