Error compilation

Hello All,

I've a MacBook Pro with OS X Lion
I've a last Arduino and a Mega2560R3

Can you help me ?
Very thanks.
Sebastien

when compile my scketch i've this error :

yld: Symbol not found: _unlinkat
Referenced from: /Users/sebastien/Downloads/Arduino 2.app/Contents/Java/arduino-builder
Expected in: flat namespace

/Users/sebastien/Downloads/Arduino 2.app/Contents/Java/arduino-builder a retourné 133

Erreur de compilation pour la carte Arduino Mega or Mega 2560

This should be posted in the programming section . Also please post the code

Thank you

m_k_akash:
This should be posted in the programming section .

I doubt that; sounds more like an IDE issue than a code problem.

Hello my code is ok with another PC windows with IDE Arduino 1.8.12 but on my mac i've this error when i compile my code
i don't understand the 113 error code ?

i've downloaded version arduino 1.0.6 and this OK compilation OK

From the downloads page:

Mac OS X 10.10 or newer

OS X Lion is 10.7, so you'll either need to update your OS or else use an older version of the Arduino IDE. I'm not sure which is the newest version of the Arduino IDE you can use. You'll need to experimentally determine this. You can get all the older versions of the Arduino IDE here: