[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: building lxyssl (svn version) on mac osx
- From: Valerio Schiavoni <valerio.schiavoni@...>
- Date: Thu, 29 Jul 2010 17:50:34 +0200
Hello,
building the current trunk of lxyssl
http://code.google.com/p/luaxyssl/ on mac osx, i get the following
error.
Suggestions on how to get it working?
I modified in the Makefile these vars:
LUA=/Users/veleno/workspace/lua-5.1.4
LUAINC=$(LUA)/src
LUALIB=$(LUA)/src
LUABIN=$(LUA)/src
%make
gcc -I/Users/veleno/workspace/lua-5.1.4/src -O2 -fPIC
-Ixyssl-0.9/include -DXYSSL=9 -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2 -c -o lxyssl.o
lxyssl.c
lxyssl.c: In function ‘f_dbg’:
lxyssl.c:443: warning: format ‘%lx’ expects type ‘long unsigned int’,
but argument 2 has type ‘void *’
cd xyssl-0.9/library && make all XYSSL_CFLAGS="-fPIC
-DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC -DNO_GENPRIME -DNO_MD2
-DNO_MD4 -DXYSSL_HAVE_SSE2 " && cd ../..
CC aes.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC arc4.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC base64.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC bignum.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC certs.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC debug.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC des.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC dhm.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC havege.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC md2.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC md4.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC md5.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC net.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC padlock.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC rsa.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC sha1.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC sha2.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC sha4.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC ssl_cli.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC ssl_srv.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC ssl_tls.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC timing.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
CC x509parse.c -fPIC -DXYSSL_HAVE_LONGLONG -DXYSSL_HAVE_RDTSC
-DNO_GENPRIME -DNO_MD2 -DNO_MD4 -DXYSSL_HAVE_SSE2
AR libxyssl.a
ar: creating archive libxyssl.a
/usr/bin/ranlib: file: libxyssl.a(debug.o) has no symbols
/usr/bin/ranlib: file: libxyssl.a(md2.o) has no symbols
/usr/bin/ranlib: file: libxyssl.a(md4.o) has no symbols
/usr/bin/ranlib: file: libxyssl.a(padlock.o) has no symbols
RL libxyssl.a
ranlib: file: libxyssl.a(debug.o) has no symbols
ranlib: file: libxyssl.a(md2.o) has no symbols
ranlib: file: libxyssl.a(md4.o) has no symbols
ranlib: file: libxyssl.a(padlock.o) has no symbols
gcc -o lxyssl.so -shared lxyssl.o -lxyssl -llua5.1 -Lxyssl-0.9/library
ld: library not found for -llua5.1
collect2: ld returned 1 exit status
make: *** [lxyssl.so] Error 1
Thanks,
valerio