After we applied the latest OSX patches to our server, my build is now dying 
like so:

limitingfactor:ghc-head benl$ "/usr/bin/gcc" -o 
utils/unlit/dist/build/tmp/unlit  -march=i686 -m32 -isysroot 
/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -fno-stack-protector   
           utils/unlit/dist/build/unlit.o 
Undefined symbols:
  "_fopen$UNIX2003", referenced from:
      _main in unlit.o
      _main in unlit.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

Removing the -isysroot /Developer/SDKs/MacOSX10.5.sdk flag makes it work, which 
is set in mk/config.mk:534.

I assume there was a good reason for setting the -isysroot originally, but I 
don't know what it was. I've got a /Developer/SDKs/MacOSX10.6.sdk now as well.

Thoughts?

Ben.




_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to