Compilation on Solaris 10

David Huffman ppc64 at storix.com
Fri May 4 03:56:46 WST 2007


I am unable to compile dropbear-0.48.1 on Solaris 10 sparc. Configure 
runs fine with these options:

# ./configure --disable-zlib --disable-shadow --disable-lastlog 
--disable-utmp -disable-utmpx --disable-wtmp --disable-wtmpx 
--disable-pututline --disable-pututxline

(We use this same configure arguments for AIX, Linux x86, Linux PPC, 
Linux ia64, and HPUX ia64)

Then I make using gmake;

# /usr/sfw/bin/gmake PROGRAMS="dropbear dbclient dropbearkey"

After a lot of output removing .o files, here is the tail end of the output:

gmake[1]: Entering directory 
`/stmaster62/source/solaris/dropbear-0.48.1/libtomcrypt'
cc -I. -I./libtomcrypt/src/headers/ -g -I/usr/local/include 
-DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -I./src/headers/ -I./../ 
-DENCRYPT_ONLY -c src/ciphers/aes/aes.c -o src/ciphers/aes/aes_enc.o
"./src/headers/tomcrypt_cipher.h", line 625: warning: syntax error:  
empty declaration
"./src/headers/tomcrypt_hash.h", line 282: warning: syntax error:  empty 
declaration
"./src/headers/tomcrypt_prng.h", line 61: zero-sized struct/union
"./src/headers/tomcrypt_prng.h", line 181: warning: syntax error:  empty 
declaration
cc: acomp failed for src/ciphers/aes/aes.c
gmake[1]: *** [src/ciphers/aes/aes_enc.o] Error 2
gmake[1]: Leaving directory 
`/stmaster62/source/solaris/dropbear-0.48.1/libtomcrypt'
gmake: *** [libtomcrypt/libtomcrypt.a] Error 2


Anyone run into this problem or can guide me through what I may be doing 
incorrectly?


Thanks in advance,

David Huffman
Storix, Inc.


More information about the Dropbear mailing list