On 24/05/15 11:58, Ahmed Ismail (Redacted sender [email protected] for DMARC) wrote:
Thanks! I had to throw in blkid, ksh, sed, ld_elf.so and a couple of other
pkgs. That didn't work though, apparently tshark was not designed with
unikernels in mind :).

Throw in? Do you mean throw in onto the host where you're building tshark? That's fine.

However, you can't "throw in" those programs into the unikernel image because we don't have fork + exec working. I think we need to emulate fork+exec somewhere down the line (and it shouldn't be very many lines of code), but we need to solve other problems first for that to be possible.

Is this an issue of make/gmake on NetBSD?
Would I be able to solve it by setting MAKE=gmake or would I have to look
for every instance of make in the *.sh files/Makefiles and changing them to
gmake?

You apparently already solved this bit. I think everyone else is building on Linux, so there may be hiccups. Please submit improvements to the scripts and documentation. For this case, look at the rumpctrl buildnb.sh script for inspiration.

/root/Downloads/rumprun/platform/xen/rumpxendev/busdev.c:66:28: fatal
error: xen/io/xs_wire.h: No such file or directory
compilation terminated.
nbmkdep: compile failed.

You need to install Xen headers on your build host (and make sure that the build process finds them).

Reply via email to