You have to add -lcrypto in the LDFLAGS line in the Makefile.If you ever get it to compile on Mac (intel 64bit), please share ;)
GCC is apparently awesome enough to tell which library is missing, it was like, hey this function is undefined but you'll find it in this lib, so add it in LDFLAGS and it'll work :P
You have to add -lcrypto in the LDFLAGS line in the Makefile.
GCC is apparently awesome enough to tell which library is missing, it was like, hey this function is undefined but you'll find it in this lib, so add it in LDFLAGS and it'll work :P
miku:src julien$ make all
gcc -W -Wall -c -o luna.o luna.c
luna.c:21:14: error: invalid suffix "b10000000" on integer constant
luna.c:25:13: error: invalid suffix "b11100000" on integer constant
luna.c:25:28: error: invalid suffix "b11000000" on integer constant
luna.c:26:15: error: invalid suffix "b00011111" on integer constant
luna.c:28:22: error: invalid suffix "b00111111" on integer constant
luna.c:31:13: error: invalid suffix "b111100000" on integer constant
luna.c:31:29: error: invalid suffix "b11100000" on integer constant
luna.c:32:15: error: invalid suffix "b00011111" on integer constant
luna.c:34:23: error: invalid suffix "b00111111" on integer constant
luna.c:36:22: error: invalid suffix "b00111111" on integer constant
luna.c:39:13: error: invalid suffix "b111110000" on integer constant
luna.c:39:29: error: invalid suffix "b11110000" on integer constant
luna.c:40:15: error: invalid suffix "b00011111" on integer constant
luna.c:42:23: error: invalid suffix "b00111111" on integer constant
luna.c:44:23: error: invalid suffix "b00111111" on integer constant
luna.c:46:22: error: invalid suffix "b00111111" on integer constant
luna.c:71:12: error: invalid suffix "b10000001" on integer constant
luna.c:75:12: error: invalid suffix "b00001000" on integer constant
make: *** [luna.o] Error 1
The trick is to compile it with GCC 4.7.1..^^
Download Luna v0.3 for Mac OS X (Binaries for x86 and x86_64, source and makefile):
http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX03 (http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX03)
Here are some older versions for Mac OS X:
http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX02b (http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX02b) (0.2b)
http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX02a (http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX02a) (0.2a)
http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX02 (http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX02) (0.2)
http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX (http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX) (0.1)
TIA
Cuervo