Problems building RTEMS on macOS Mojave

George Neville-Neil gnn at neville-neil.com
Sat Nov 17 02:00:41 UTC 2018



On 9 Nov 2018, at 6:16, Chris Johns wrote:

> 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?

I did and removing the old ones fixed the build.  I can now build RTEMS 
tools and the kernel.

Thanks,.
George


More information about the users mailing list