Re: rump_curlwp.h no such file or directory error while building rump kernel tool chain

  • From: Antti Kantee <pooka@xxxxxx>
  • To: rumpkernel-users@xxxxxxxxxxxxx
  • Date: Mon, 30 May 2016 18:03:27 +0000

On 30/05/16 16:36, Du Yukun wrote:

The include path is wrong.  Are you sure you didn't run any other
commands than the ones you quoted above?

There should be a "machine" symlink in
obj-amd64-xen/buildrump.sh/sys/rump/kern/lib/libsys_linux and cpu.h
should be found from where that link points to, not from
sys/rump/include/machine.

Problem solved!

I found that I have add an extra command in the .bashrc file as below:
```
export 
C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/local/include/:/root/dyk/src-netbsd/sys/rump
```
After I comment it, everything seems all right!

Great, thanks for the followup for the archives.

The Rumprun build script should probably scrub things like that. However, we can't just blindly scrub everything, since while for the rump kernel components we know with absolute certainty the correct paths, for hypercalls we don't. So, doing the scrubbing correctly is a bit more convoluted than just scrubbing with a BFG. If someone wants to have a go at it, hats off.

Other related posts: