Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I install linux sys/prctl.h to lion?

I am trying to install some program (stone, http://www.gcd.org/sengoku/stone/Welcome.en.html ) in Max OS linon (10.7.3) with Xcode (4.3.3). However, when I make, the following error message appears.

stone.c:231:10: fatal error: 'sys/prctl.h' file not found

I searched using "find" command, but this library does not to exist. It seems that I need to install some linux library to develop in Mac OS, but I have no idea.

It would be very grateful if you can help me.

like image 643
orangepeacock Avatar asked Nov 29 '25 20:11

orangepeacock


1 Answers

You can't. The functionality described by prctl.h in Linux does not exist on Mac OS X.

Using XCode is just complicating things. stone is intended to be built from the command line, using make.


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!