Bochs as of the addition of the slirp code fails to build on OpenBSD.
slirp/cksum.cc:83: error: 'uintptr_t' was not declared in this scope
slirp/compat.cc:141: error: 'WIFEXITED' was not declared in this scope
slirp/compat.cc:144: error: 'WEXITSTATUS' was not declared in this scope
Here is a quick patch I came up for reference to fix each respective
issue. stdint.h for uintptr_t and sys/wait.h for WIFEXITED and WEXITSTATUS.
--- iodev/network/slirp/slirp.h.orig Tue Nov 4 00:14:00 2014
+++ iodev/network/slirp/slirp.h Tue Nov 4 00:19:24 2014
@@ -33,6 +33,8 @@ typedef char *caddr_t;
#endif
#include <sys types.h="">
+#include <stdint.h>
+#include <sys wait.h="">
#ifdef HAVE_SYS_BITYPES_H
# include <sys bitypes.h="">
#endif</sys></sys></stdint.h></sys>
Fixed in SVN now.
Post Removed by self. Similar unpatched bug exists on Linux Mint 19 in Bochs SVN 2.6.9. See here
Last edit: J Beggs 2019-06-09