Stichting-MINIX-Research-Foundation / minix

Official MINIX sources - Automatically replicated from gerrit.minix3.org
Other
2.99k stars 969 forks source link

compile error on Linux/GCC, build.sh #309

Open KSE3 opened 3 years ago

KSE3 commented 3 years ago

On the master branch I receive a build error running on Ubuntu 18.04 and GCC. Command: ./build.sh -m i386 -U build After 38.000 new objects or so I receive this message:

create utils/cmdline/base_command.d

CC=/media/kunz/D1/minix/obj/tooldir.Linux-4.15.0-122-generic-x86_64/bin/i586-elf32-minix-clang++ /media/kunz/D1/minix/obj/tooldir.Linux-4.15.0-122-generic-x86_64/bin/nbmkdep -f cmdline/base_command.d.tmp -- --sysroot=/media/kunz/D1/minix/obj/destdir.i386 -DHAVE_CONFIG_H -DKYUA_CONFDIR=\"/etc/kyua\" -DKYUA_DOCDIR=\"/usr/share/doc/reference/ref1/kyua/kyua-cli\" -DKYUA_EXAMPLESDIR=\"/usr/share/examples/kyua-cli\" -DKYUA_MISCDIR=\"/usr/share/kyua-cli/misc\" -DKYUA_STOREDIR=\"/usr/share/kyua-cli/store\" -DKYUA_TESTERSDIR=\"/usr/libexec\" -DKYUA_TESTSDIR=\"/usr/tests\" -I/media/kunz/D1/minix/external/bsd/kyua-cli -I/media/kunz/D1/minix/external/bsd/kyua-cli/lib -I/media/kunz/D1/minix/external/bsd/kyua-cli/dist /media/kunz/D1/minix/external/bsd/kyua-cli/dist/utils/cmdline/base_command.cpp && mv cmdline/base_command.d.tmp cmdline/base_command.d nbmkdep: unable to write to file cmdline/base_command.d.tmp: No such file or directory

*** Failed target: cmdline/base_command.d

After this there is more text on probably dependent errors. Looks like a false reference maybe in the script. Is there a current compile or build description somewhere? In case I'm doing something wrong.

stux2000 commented 3 years ago

Hi @KSE3 Please see if this pull request solves your issue: