Skip to content

Instantly share code, notes, and snippets.

@hnakamur
Created August 31, 2012 15:13
Show Gist options
  • Save hnakamur/3554340 to your computer and use it in GitHub Desktop.
Save hnakamur/3554340 to your computer and use it in GitHub Desktop.
make failed on OS X Mountain Lion
sunshine5:lev hnakamur$ make
[ 1%] Performing build step for 'LUAJIT'
[ 7%] Built target buildvm
[ 8%] Generating lj_recdef.h
Error: pointer size mismatch in cross-build.
Try: make HOST_CC="gcc -m32" CROSS=... TARGET=...
make[5]: *** [lj_recdef.h] Error 1
make[4]: *** [CMakeFiles/luajit-lib.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [LUAJIT-prefix/src/LUAJIT-stamp/LUAJIT-build] Error 2
make[1]: *** [CMakeFiles/LUAJIT.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment