Problems building RTEMS on macOS Mojave

Chris Johns chrisj at rtems.org
Thu Nov 8 23:24:40 UTC 2018


On 09/11/2018 02:51, George Neville-Neil wrote:
> Howdy,
>

Hi George, and welcome.

> I've been trying to follow these directions to build RTEMS on macOS Mojave:
> 
> https://docs.rtems.org/branches/master/user/start/index.html

Great.

> But, I get a build failure every time, logs attached though here's the end of
> the log in case it jogs memories etc.

I built 5/rtems-sparc the other day without a problem...

https://lists.rtems.org/pipermail/build/2018-November/001353.html

> Setting top to                           :
> /Users/gnn/Repos/git/rtems/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee
> 
> Setting out to                           :
> /Users/gnn/Repos/git/rtems/rsb/rtems/build/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee-1/rtems-tools-36fde5169aef5b0af37f951907705caee76626ee/build
> 
> Version                                  : 5.9955b1a43067-modified (5)
> Checking for program 'python'            : /usr/local/opt/python at 2/bin/python2.7
> Checking for python version >= 2.6.6     : 2.7.15
> Checking for 'clang' (C compiler)        : /usr/local/bin/clang
> Checking for 'clang++' (C++ compiler)    : /usr/local/bin/clang++

Hmmm, I have ...

$ type cc
cc is /usr/bin/cc
$ type clang
clang is /usr/bin/clang

... with a standard MacOS Mojave and Xcode. I do not have any macports or
homebrew packages installed. Do you?

> Checking for header alloca.h             : not found
> Checking for header fcntl.h              : not found
> Checking for header process.h            : not found
> Checking for header stdlib.h             : not found

Is something not installed?

> The configuration failed
> 
> Thoughts on how to go about addressing/debugging this?  I've updated my git repo
> to the latest as of 7 November 2018.

In the build directory after it fails is the rtems-tools build tree and under
there somewhere will be a config.log which will have a trace of what waf did and
why it failed to find the header files.

Chris


More information about the users mailing list