Compilation error: GCC

Matt Johnston matt at ucc.asn.au
Fri Aug 27 12:00:56 WST 2004


On Thu, Aug 26, 2004 at 09:04:07PM -0400, Ethan wrote:
> 
> Compiling under gcc:
> 
> standard ./configure; make
> 
> gcc -Ilibtomcrypt -Os -W -Wall -DDROPBEAR_SERVER -DDROPBEAR_CLIENT   -c -o
> cli-auth.o cli-auth.c
> cli-auth.c: In function `cli_auth_try':
> cli-auth.c:186: parse error before `int'
> cli-auth.c:193: `finished' undeclared (first use in this function)
> cli-auth.c:193: (Each undeclared identifier is reported only once
> cli-auth.c:193: for each function it appears in.)
> make: *** [cli-auth.o] Error 1
> debian:/home/ethan/small/dropbear-0.44test2#
> 
> Dropbear 0.44test2
> 
> debian:/home/ethan/small/dropbear-0.44test2# gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
> gcc version 2.95.4 20011002 (Debian prerelease)
> debian:/home/ethan/small/dropbear-0.44test2#
> 
> Do I need to upgrade debian?

I'm fairly sure that GCC should work. Have you edited any of the header/.c
files? I'd guess it might be getting confused by the TRACE macro above it,
though not really sure how.

Cheers,
Matt


More information about the Dropbear mailing list