Menu

#1361 Bochs slirp code fails to build on OpenBSD

fixed_in_SVN
closed
None
1
2019-06-09
2014-11-04
Brad Smith
No

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>

Discussion

  • Volker Ruppert

    Volker Ruppert - 2014-12-25
    • status: open --> closed
    • assigned_to: Volker Ruppert
    • Group: can't_reproduce --> fixed_in_SVN
     
  • Volker Ruppert

    Volker Ruppert - 2014-12-25

    Fixed in SVN now.

     
    • J Beggs

      J Beggs - 2019-06-09

      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

Log in to post a comment.

MongoDB Logo MongoDB