Small build without ECDSA gives errors

Matt Johnston matt at ucc.asn.au
Thu Jul 10 19:01:38 WST 2014


Hi Bruno,

This is fixed for the next release, you can get the change from 
https://secure.ucc.asn.au/hg/dropbear/rev/25692c60479e

Cheers,
Matt

On 10 July 2014 12:02:18 am AWST, Bruno Vernay <brunovern.a at gmail.com> wrote:
>Hi,
>
>I try to build a small Dropbear server (dropbear-2014.63)
>
>>From option.h, I commented out DROPBEAR_ECDSA and DROPBEAR_DSS and
>other things ...
>
>make clean
>./configure --disable-syslog --disable-shadow --disable-lastlog
>--disable-zlib  --prefix=/mnt/rwfs/dropbear
>--host=arm-fsl-linux-gnueabi  --build=i686-pc-linux-gnu     ARCH=arm
>CROSS_COMPILE=arm-none-linux-gnueabi-   CC=arm-fsl-linux-gnueabi-gcc
>LDFLAGS=-Wl,--gc-sections  CFLAGS="-ffunction-sections
>-fdata-sections"
>make PROGRAMS="dropbear"
>
>...
>and I get this error:
>
>arm-fsl-linux-gnueabi-gcc -ffunction-sections -fdata-sections
>-I./libtomcrypt/src/headers/ -I. -I.
>-I/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/arm-fsl
>                  -linux-gnueabi/multi-libs/usr/include
>-ffunction-sections -fdata-sections -DDROPBEAR_SERVER
>-I/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/arm-fsl-linux-
>                  gnueabi/multi-libs/usr/include  -c -o signkey.o
>signkey.c
>signkey.c: In function 'signkey_key_ptr':
>signkey.c:110: error: 'DROPBEAR_SIGNKEY_ECDSA_NISTP256' undeclared
>(first use in this function)
>signkey.c:110: error: (Each undeclared identifier is reported only once
>signkey.c:110: error: for each function it appears in.)
>signkey.c:111: error: 'sign_key' has no member named 'ecckey256'
>signkey.c:114: error: 'DROPBEAR_SIGNKEY_ECDSA_NISTP384' undeclared
>(first use in this function)
>signkey.c:115: error: 'sign_key' has no member named 'ecckey384'
>signkey.c:118: error: 'DROPBEAR_SIGNKEY_ECDSA_NISTP521' undeclared
>(first use in this function)
>signkey.c:119: error: 'sign_key' has no member named 'ecckey521'
>make: *** [signkey.o] Error 1
>
>
>Any idea ??
>
>-- 
>Bruno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20140710/60a89aa6/attachment.htm 


More information about the Dropbear mailing list