Created
August 29, 2012 16:50
-
-
Save hnakamur/3515531 to your computer and use it in GitHub Desktop.
lev build fails with the Makefile build system
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p build | |
cc -DUSE_OPENSSL -DL_ENDIAN -DOPENSSL_THREADS -DPURIFY -D_REENTRANT -DOPENSSL_NO_ASM -DOPENSSL_NO_INLINE_ASM -DOPENSSL_NO_RC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD4 -DOPENSSL_NO_HW -DOPENSSL_NO_GOST -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_CAPIENG -DOPENSSL_NO_CMS -DOPENSSL_NO_FIPS -DOPENSSL_NO_IDEA -DOPENSSL_NO_MDC2 -DOPENSSL_NO_MD2 -DOPENSSL_NO_SEED -DOPENSSL_NO_SOCK -Ideps/openssl/openssl-configs/x64 -Wall -w --std=c89 -D_GNU_SOURCE -g -Wall -Werror -c src/luv_buffer.c -o build/luv_buffer.o \ | |
-Ideps/http-parser -Ideps/uv/include -Ideps/luajit/src -Ideps/yajl/src/api \ | |
-Ideps/yajl/src -Ideps/zlib -Ideps/luacrypto/src \ | |
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ | |
-DUSE_SYSTEM_SSL=1 \ | |
-DHTTP_VERSION=\"v1.0-79-g8bec3ea\" \ | |
-DUV_VERSION=\"17\" \ | |
-DYAJL_VERSIONISH=\"2.0.4-1-g8b48967\" \ | |
-DLUVIT_VERSION=\"\" \ | |
-DLUAJIT_VERSION=\"v2.0.0-beta10-62-gdd9e7a4\" | |
src/luv_buffer.c:52:17: error: static declaration of '__builtin_bswap32' follows | |
non-static declaration | |
static uint32_t __builtin_bswap32(uint32_t x) | |
^ | |
/usr/include/libkern/i386/_OSByteOrder.h:60:12: note: previous implicit | |
declaration is here | |
return __builtin_bswap32(_data); | |
^ | |
src/luv_buffer.c:52:17: error: definition of builtin function | |
'__builtin_bswap32' | |
static uint32_t __builtin_bswap32(uint32_t x) | |
^ | |
2 errors generated. | |
make: *** [build/luv_buffer.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To avoid this error, please run: