On 27/05/16 02:54, Du Yukun wrote:
Hi everyone!

I am very new to rump kernel.

When  try to build a rumprun follow the tutorial as below:

```
$ git clone http://repo.rumpkernel.org/rumprun
$ cd rumprun
$ git submodule update --init
$ CC=cc ./build-rr.sh hw
```
I get the error as below:

```
/include/machine/cpu.h:41:25: fatal error: rump_curlwp.h: No such file or 
directory
```

And after I download the relevant header from
http://ftp.jaist.ac.jp/pub/NetBSD/NetBSD-current/src/sys/rump/librump/rumpkern/

However, another problem occurs, which seems that I have download an 
out-of-date headers.
And the header file I downloaded does not have the correct definition for some 
strutures.

That is weird. If you do not have src-netbsd/sys/rump/librump/rumpkern/rump_curlwp.h after the git submodule update, something went wrong with that phase. Maybe it was a temporary error with github? Please try the same process again. In any case, you should not need to download anything manually.

I just tested, and it works for me:

pooka@watou:~/temp/test$ git clone http://repo.rumpkernel.org/rumprun
Cloning into 'rumprun'...
remote: Counting objects: 13688, done.
remote: Total 13688 (delta 0), reused 0 (delta 0), pack-reused 13688
Receiving objects: 100% (13688/13688), 3.28 MiB | 735.00 KiB/s, done.
Resolving deltas: 100% (8956/8956), done.
Checking connectivity... done.
pooka@watou:~/temp/test$ cd rumprun
pooka@watou:~/temp/test/rumprun$ git submodule update --init
Submodule 'buildrump.sh' (https://github.com/rumpkernel/buildrump.sh) registered for path 'buildrump.sh' Submodule 'src-netbsd' (https://github.com/rumpkernel/src-netbsd) registered for path 'src-netbsd'
Cloning into 'buildrump.sh'...
remote: Counting objects: 4519, done.
remote: Total 4519 (delta 0), reused 0 (delta 0), pack-reused 4519
Receiving objects: 100% (4519/4519), 1.03 MiB | 392.00 KiB/s, done.
Resolving deltas: 100% (2476/2476), done.
Checking connectivity... done.
Submodule path 'buildrump.sh': checked out '5ac90c1f175befa8e2def83fcae2d515dc3e5d6c'
Cloning into 'src-netbsd'...
remote: Counting objects: 47509, done.
remote: Total 47509 (delta 0), reused 0 (delta 0), pack-reused 47509
Receiving objects: 100% (47509/47509), 77.65 MiB | 840.00 KiB/s, done.
Resolving deltas: 100% (25111/25111), done.
Checking connectivity... done.
Submodule path 'src-netbsd': checked out 'f08dfa4d19f4408a35c34581f126a7c2e009063c'
pooka@watou:~/temp/test/rumprun$ find src-netbsd -name rump_curlwp.h
src-netbsd/sys/rump/librump/rumpkern/rump_curlwp.h
pooka@watou:~/temp/test/rumprun$

Reply via email to