Troubles cross compiling dropbear-0.47 for arm-linux (gcc 3.3.2)

Matt Johnston matt at ucc.asn.au
Wed Feb 1 17:10:01 WST 2006


On Wed, Feb 01, 2006 at 09:46:08AM +0100, Wim Vinckier wrote:
> This is the error I get:
> <code>
> arm-linux-gcc -I. -I./libtomcrypt/src/headers/ -Os -W -Wall
> -DDROPBEAR_SERVER -DDROPBEAR_CLIENT   -c -o svr-runopts.o
> svr-runopts.c
> svr-runopts.c: In function `svr_getopts':
> svr-runopts.c:108: error: structure has no member named `nolocaltcp'
> svr-runopts.c:109: error: structure has no member named `noremotetcp'
> svr-runopts.c:159: error: structure has no member named `nolocaltcp'
> svr-runopts.c:164: error: structure has no member named `noremotetcp'
> svr-runopts.c:167: error: structure has no member named `listen_fwd_all'
> make: *** [svr-runopts.o] Error 1
> </code>
> This is the script I use to configure dropbear
> <code>
> export CPPFLAGS='-I../linux-2.6.11.11/include'
> PATH="$PATH:/usr/local/arm/3.3.2/bin"
> HOST="arm-linux"
> 
> ./configure --disable-zlib --host=${HOST} \
> </code>
> It works perfect with dropbear-0.46 but 0.47 fails.  Anyone a suggestion?

My mistake, the attached svr-runopts.c should fix things.

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svr-runopts.c
Type: text/x-csrc
Size: 7744 bytes
Desc: not available
Url : http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20060201/41846835/svr-runopts-0001.c


More information about the Dropbear mailing list