Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct Debian 10 cross compile issue. #301

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cliffordm
Copy link

Cross compile failure with Debian 10.
The attached static cast corrects the issue and allows Minix 3 to compile successfully.

mike@t410: lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster

Best regards,
Mike

Cross compile issue in Debian 10.  Added explicit static_cast(bool)  to correct.
@jakiki6
Copy link

jakiki6 commented Oct 21, 2020

Thanks now it works :)

@xboxslim
Copy link

xboxslim commented Mar 7, 2021

sh build.sh -m i386 -U distribution

After a long time compiling, this error appeared:
# create utils/cmdline/base_command.d CC=/home/xboxslim/Downloads/minix/obj/tooldir.Linux-5.8.0-44-generic-x86_64/bin/i586-elf32-minix-clang++ /home/xboxslim/Downloads/minix/obj/tooldir.Linux-5.8.0-44-generic-x86_64/bin/nbmkdep -f cmdline/base_command.d.tmp -- --sysroot=/home/xboxslim/Downloads/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/home/xboxslim/Downloads/minix/external/bsd/kyua-cli -I/home/xboxslim/Downloads/minix/external/bsd/kyua-cli/lib -I/home/xboxslim/Downloads/minix/external/bsd/kyua-cli/dist /home/xboxslim/Downloads/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

marceloalencar added a commit to marceloalencar/minix that referenced this pull request Mar 30, 2021
mzahnd added a commit to mzahnd/minix3 that referenced this pull request Nov 23, 2022
* Applies suggested fix by cliffordm in the official minix GitHub
  repository.

See: Stichting-MINIX-Research-Foundation#301
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants