Post Reply 
newRPL documentation - Part I available
03-27-2015, 03:49 PM
Post: #12
RE: newRPL documentation - Part I available
(03-27-2015 03:19 PM)Claudio L. Wrote:  
(03-27-2015 01:30 AM)Han Wrote:  I'm getting the same errors with a pull from 9:29PM EST today (MAR 26, 2015).

Code:
../newrpl-sources/newrpl/contrib/mpdecimal-2.4.0/libmpdec/mpdecimal.h:776:15: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma
extern void * __READ_ONLY__ (* mpd_callocfunc)(size_t nmemb, size_t size);

It seems OSX has the __attribute__ 'section' different from all other platforms. It's only needed for the actual firmware, but it's safely ignored by the linker on Windows, Linux and BSD. I've arranged for the section attributes to be removed completely on a PC target. I've also made quite a few changes to improve compatibility with 64-bits in trouble areas.
Pull the repo and try again, hopefully this time it builds on OSX.

Still a reference left (line 68 in sysvars.c) via SCRATCH_MEMORY, defined in hal.h

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL documentation - Part I available - Han - 03-27-2015 03:49 PM



User(s) browsing this thread: 1 Guest(s)