<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 10, 2016 at 11:22 PM, John Leo <span dir="ltr"><<a href="mailto:leo@halfaya.org" target="_blank">leo@halfaya.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>I'm trying to compile ghc from the latest source and am hitting an error "Symbol not found: _clock_gettime". I'm on Mac El Capitan and recently installed Xcode 8 which I'm sure is what caused the problem. Using Google I found some relevant pages including this one</div><div><a href="https://mail.haskell.org/pipermail/ghc-devs/2016-July/012511.html" target="_blank">https://mail.haskell.org/<wbr>pipermail/ghc-devs/2016-July/<wbr>012511.html</a><div style="display:inline-block;width:16px;height:16px"> </div><br></div><div>but I've been unable to figure out what I can do to fix the problem. Any help would be appreciated.</div></blockquote></div><br>You need to download the 10.11 Command Line Tools from <a href="http://download.apple.com">download.apple.com</a> and reinstall them over the Xcode 8 command line tools, which are for 10.12 and will have problems like this. (Apple intends to correct this in Xcode 8.1.) You need a free Mac Developer account for this, or maybe you can find the 10.11 tools elsewhere. You will then need to clean and rebuild ghc.<br><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>