Hi
I'm still trying to get this to compile on darwin with no luck. I seen this announcement, so I thought i'd try the latest version. There is still a problem with the compile script in the db3 directory, with the tab not being put into the Makefile. I just added a vi Makefile command before the make command, and I can edit the Makefile to correct everything, so it all configures well. But when I get to compiling the beecrypt stuff, I get problems:
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -DOPTIMIZE_POWERPC -O3 -g -I/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/../../../Headers -c -o entropy.lo `test -f 'entropy.c' || echo './'`entropy.c
rm -f .libs/entropy.lo
cc -DHAVE_CONFIG_H -I. -I. -I. -DOPTIMIZE_POWERPC -O3 -g -I/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/../../../Headers -c entropy.c -fno-common -DPIC -o .libs/entropy.lo
entropy.c:1104: undefined or invalid # directive
entropy.c: In function `entropy_randombits':
entropy.c:986: storage size of `my_aiocb' isn't known
entropy.c:994: sizeof applied to an incomplete type
entropy.c:998: `SIGEV_NONE' undeclared (first use in this function)
entropy.c:998: (Each undeclared identifier is reported only once
entropy.c:998: for each function it appears in.)
entropy.c:1044: `AIO_ALLDONE' undeclared (first use in this function)
entropy.c:1048: `AIO_NOTCANCELED' undeclared (first use in this function)
make[2]: *** [entropy.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I don't remember this happening in the compile of the last beta of this, but I kind of trashed that directory before i pulled the new one off the ftp server. It would also be nice if you would put a tar.gz of the source up.
I also tried to compile under freebsd 4.6. Pretty similar problems. It doesn't like the missing tab in the db3/Makefile It likes to stop even earlier when compiling the beecrypt stuff:
Making all in tests
/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -pthread -DOPTIMIZE_I386 -pthread -O3 -g -march=i386 -mcpu=i686 -fomit-frame-pointer -I -c -o aes.lo `test -f 'aes.c' || echo './'`aes.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -pthread -DOPTIMIZE_I386 -pthread -O3 -g -march=i386 -mcpu=i686 -fomit-frame-pointer -I -c aes.c -fPIC -DPIC -o .libs/aes.lo
In file included from system.h:73,
from aes.c:27:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h> which is deprecated, use <stdlib.h> instead"
/tmp/ccDL9ObO.o: In function `aesEncrypt':
/home/users/j/ji/jimmacr/rpm-4.1/beecrypt/aes.c(.text+0x4a5): undefined reference to `swapu32'
/home/users/j/ji/jimmacr/rpm-4.1/beecrypt/aes.c(.text+0x4bd): undefined reference to `swapu32'
/home/users/j/ji/jimmacr/rpm-4.1/beecrypt/aes.c(.text+0x4d5): undefined reference to `swapu32'
/home/users/j/ji/jimmacr/rpm-4.1/beecrypt/aes.c(.text+0x4ea): undefined reference to `swapu32'
/home/users/j/ji/jimmacr/rpm-4.1/beecrypt/aes.c(.text+0x18c1): undefined reference to `swapu32'
/tmp/ccDL9ObO.o(.text+0x18d0):/home/users/j/ji/jimmacr/rpm-4.1/beecrypt/aes.
c: more undefined references to `swapu32' follow
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x79): undefined reference to `main'
*** Error code 1
Stop in /home/users/j/ji/jimmacr/rpm-4.1/beecrypt. *** Error code 1