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

Reply via email to