Skip to content

Instantly share code, notes, and snippets.

@hnakamur hnakamur/build.log
Created Aug 29, 2012

Embed
What would you like to do?
lev build fails with the Makefile build system
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
@hnakamur

This comment has been minimized.

Copy link
Owner Author

hnakamur commented Aug 29, 2012

To avoid this error, please run:

CC=gcc make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.