public inbox for
 help / color / mirror / Atom feed
From: James Hudson <>
Subject: Building on a Mac
Date: Fri, 13 Nov 2020 09:45:40 -0500	[thread overview]
Message-ID: <> (raw)

I am trying to build crosstool-NG on my mac ( Catalina -- 10.15.7 ).

After executing *ct-ng build*, I eventually get the errors below. How can I
workaround or resolve this issue? I am assuming I do not have something
configured correctly.

[EXTRA]    Building cross gdb
error: implicit declaration of function 'ioctl' is invalid in C99
error: implicit declaration of function 'ioctl' is invalid in C99
error: implicit declaration of function 'ioctl' is invalid in C99
[ERROR]    make[3]: *** [Makefile:97: rltty.o] Error 1
[ERROR]    make[3]: *** Waiting for unfinished jobs....
[ERROR]    make[2]: *** [Makefile:7804: all-readline] Error 2
[ERROR]    make[2]: *** Waiting for unfinished jobs....
[ERROR]    make[1]: *** [Makefile:879: all] Error 2
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing cross-gdb'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@376]
[ERROR]  >>        called from:
[ERROR]  >>        called from:
[ERROR]  >>        called from: do_debug[scripts/build/]
[ERROR]  >>        called from: main[scripts/]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>
[ERROR]  >>
[ERROR]  >>  If you feel this is a bug in crosstool-NG, report it at:
[ERROR]  >>
[ERROR]  >>
[ERROR]  >>  Make sure your report includes all the information pertinent
to this issue.
[ERROR]  >>  Read the bug reporting guidelines here:
[ERROR]  >>

             reply	other threads:[~2020-11-13 14:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-13 14:45 James Hudson [this message]
2020-11-13 19:08 ` Ray Donnelly
2020-11-13 19:32   ` James Hudson
2020-11-13 19:54     ` Ray Donnelly
2020-11-13 20:30       ` James Hudson
2020-11-15 20:52         ` Chris Packham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).