Working from Master at 7793e17440539b71 on OS X 10.8. Also see http://stackoverflow.com/questions/13870489/is-inline-asm-part-of-the-ansi-c-standard.
$ KERNEL_BITS=64 ./config shared no-asm -ansi ... $ make -k ... cc -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines\"" -O3 -D_REENTRANT -arch x86_64 -DL_ENDIAN -Wall -ansi -fPIC -Iinclude -I. -Icrypto/include -MMD -MF crypto/async/arch/async_null.d.tmp -MT crypto/async/arch/async_null.o -c -o crypto/async/arch/async_null.o crypto/async/arch/async_null.c In file included from crypto/async/arch/async_null.c:54: In file included from crypto/async/arch/../async_locl.h:69: crypto/async/arch/../arch/async_posix.h:77:8: error: unknown type name 'inline' static inline int async_fibre_swapcontext(async_fibre *o, async_fibre *n, int r) ^ crypto/async/arch/../arch/async_posix.h:77:15: error: expected identifier or '(' static inline int async_fibre_swapcontext(async_fibre *o, async_fibre *n, int r) ^ 2 errors generated. Makefile:1240: recipe for target 'crypto/async/arch/async_null.o' failed cc -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines\"" -O3 -D_REENTRANT -arch x86_64 -DL_ENDIAN -Wall -ansi -fPIC -Iinclude -I. -Icrypto/include -MMD -MF crypto/async/arch/async_win.d.tmp -MT crypto/async/arch/async_win.o -c -o crypto/async/arch/async_win.o crypto/async/arch/async_win.c In file included from crypto/async/arch/async_win.c:54: In file included from crypto/async/arch/../async_locl.h:69: crypto/async/arch/../arch/async_posix.h:77:8: error: unknown type name 'inline' static inline int async_fibre_swapcontext(async_fibre *o, async_fibre *n, int r) ^ crypto/async/arch/../arch/async_posix.h:77:15: error: expected identifier or '(' static inline int async_fibre_swapcontext(async_fibre *o, async_fibre *n, int r) ^ 2 errors generated. Makefile:1256: recipe for target 'crypto/async/arch/async_win.o' failed make: *** [crypto/async/arch/async_win.o] Error 1 cc -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines\"" -O3 -D_REENTRANT -arch x86_64 -DL_ENDIAN -Wall -ansi -fPIC -Iinclude -I. -Icrypto/include -MMD -MF crypto/async/async.d.tmp -MT crypto/async/async.o -c -o crypto/async/async.o crypto/async/async.c In file included from crypto/async/async.c:62: In file included from crypto/async/async_locl.h:69: crypto/async/arch/async_posix.h:77:8: error: unknown type name 'inline' static inline int async_fibre_swapcontext(async_fibre *o, async_fibre *n, int r) ^ crypto/async/arch/async_posix.h:77:15: error: expected identifier or '(' static inline int async_fibre_swapcontext(async_fibre *o, async_fibre *n, int r) ^ crypto/async/async.c:202:14: warning: implicit declaration of function 'async_fibre_swapcontext' [-Wimplicit-function-declaration] if (!async_fibre_swapcontext(&job->fibrectx, ^ 1 warning and 2 errors generated. Makefile:1264: recipe for target 'crypto/async/async.o' failed make: *** [crypto/async/async.o] Error 1 cc -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines\"" -O3 -D_REENTRANT -arch x86_64 -DL_ENDIAN -Wall -ansi -fPIC -Iinclude -I. -Icrypto/include -MMD -MF crypto/async/async_err.d.tmp -MT crypto/async/async_err.o -c -o crypto/async/async_err.o crypto/async/async_err.c cc -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines\"" -O3 -D_REENTRANT -arch x86_64 -DL_ENDIAN -Wall -ansi -fPIC -Iinclude -I. -Icrypto/include -MMD -MF crypto/async/async_wait.d.tmp -MT crypto/async/async_wait.o -c -o crypto/async/async_wait.o crypto/async/async_wait.c In file included from crypto/async/async_wait.c:54: In file included from crypto/async/async_locl.h:69: crypto/async/arch/async_posix.h:77:8: error: unknown type name 'inline' static inline int async_fibre_swapcontext(async_fibre *o, async_fibre *n, int r) ^ crypto/async/arch/async_posix.h:77:15: error: expected identifier or '(' static inline int async_fibre_swapcontext(async_fibre *o, async_fibre *n, int r) ^ 2 errors generated. Makefile:1280: recipe for target 'crypto/async/async_wait.o' failed make: *** [crypto/async/async_wait.o] Error 1 -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4479 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev