Closed nazebzurati closed 1 year ago
I believe that this is due to repo's ./sys/sys/stat.h
is not used when cross compiling and build platform's sys/stat.h
was used instead.
...
xinstall.o: /usr/include/x86_64-linux-gnu/sys/stat.h
...
As attached is the ./../tools/binstall/xinstall.d
file produced when cross compiling: xinstall.d
first of all, there's nbsed build failure. Are there any error message. You may want to redirect stderr to log as well.
The log.txt
I attached get from command ./releasetools/x86_cdimage.sh 2>&1 | tee log.txt
. Please suggest the suitable command as I believe 2>&1
have already include both stdout and stderr.
I've installed fresh Ubuntu 22.04.01 in WSL, cloned minix repository and appliet patch suite from #322 . Build seems like to work.
The mentioned issue was fixed.
The steps are as follows:
curl https://github.com/petershh/minix/commit/75e1abafd68c2eb6ded0d311facd918a7e0b8517.patch -o patch.txt
git apply --ignore-space-change --ignore-whitespace patch.txt
x86_cdimage.sh
script and redirect the output to log:
./releasetools/x86_cdimage.sh 2>&1 | tee log.txt
If any of these steps is not expected, please let me know. Else, I'll close this issue soon. Thanks for your verification and assistant!
Step to reproduce:
patch.txt
./releasetools/x86_cdimage.sh
Machine:
Notes:
./glass
is the my Minix working folder name.Attachments: