Hi, following that guide I tried to compile a vmware image and I had some problem with header files and to fix the problems I wrote the little patch in the attachment. As before I don't know if this the way to go but the patch solved my problems and now I have a working vmware haiku image. Good afternoon, Marco
diff --git a/src/build/libbe/app/MessageAdapter.cpp b/src/build/libbe/app/MessageAdapter.cpp index 6da25e8..746b511 100644 --- a/src/build/libbe/app/MessageAdapter.cpp +++ b/src/build/libbe/app/MessageAdapter.cpp @@ -6,6 +6,8 @@ * Axel Dörfler, axeld@xxxxxxxxxxxxxxxx * Michael Lotz <mmlr@xxxxxxxx> */ +#include <stdlib.h> + #include <MessageAdapter.h> #include <MessagePrivate.h> #include <MessageUtils.h> diff --git a/src/build/libbe/storage/AppFileInfo.cpp b/src/build/libbe/storage/AppFileInfo.cpp index 6e938b8..1ee2284 100644 --- a/src/build/libbe/storage/AppFileInfo.cpp +++ b/src/build/libbe/storage/AppFileInfo.cpp @@ -9,6 +9,7 @@ #include <new> #include <set> +#include <stdlib.h> #include <string> #include <AppFileInfo.h> diff --git a/src/build/libbe/storage/Entry.cpp b/src/build/libbe/storage/Entry.cpp index 5c57b68..06e8cb4 100644 --- a/src/build/libbe/storage/Entry.cpp +++ b/src/build/libbe/storage/Entry.cpp @@ -10,6 +10,7 @@ #include <fcntl.h> #include <new> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> diff --git a/src/tools/fs_shell/fssh.cpp b/src/tools/fs_shell/fssh.cpp index b3eac1f..37d61e4 100644 --- a/src/tools/fs_shell/fssh.cpp +++ b/src/tools/fs_shell/fssh.cpp @@ -9,6 +9,7 @@ #include <stdarg.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> diff --git a/src/tools/gensyscalls/gensyscallinfos.cpp b/src/tools/gensyscalls/gensyscallinfos.cpp index 4a4f23b..a62c813 100644 --- a/src/tools/gensyscalls/gensyscallinfos.cpp +++ b/src/tools/gensyscalls/gensyscallinfos.cpp @@ -5,6 +5,7 @@ #include <cstdio> #include <cstdlib> +#include <cstring> #include <fstream> #include <list> #include <stack> diff --git a/src/tools/gensyscalls/gensyscalls.cpp b/src/tools/gensyscalls/gensyscalls.cpp index 9ec64bd..383c8f2 100644 --- a/src/tools/gensyscalls/gensyscalls.cpp +++ b/src/tools/gensyscalls/gensyscalls.cpp @@ -6,6 +6,7 @@ #include <cstdio> #include <cstdlib> +#include <cstring> #include <fstream> #include <string> #include <vector> diff --git a/src/tools/set_haiku_revision.cpp b/src/tools/set_haiku_revision.cpp index ecaa1cd..2cbd312 100644 --- a/src/tools/set_haiku_revision.cpp +++ b/src/tools/set_haiku_revision.cpp @@ -9,6 +9,7 @@ #include <stdarg.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <algorithm>