Build break on armv5l+uClibc+linux 2.6.25.
Rob Landley
rob at landley.net
Fri Aug 8 09:05:08 WST 2008
It did this:
> gcc -I. -I. -I./libtomcrypt/src/headers/ -Os -W -Wall -DDROPBEAR_SERVER
> -DDROPBEAR_CLIENT -c -o dbutil.o dbutil.c In file included from
> includes.h:127,
> from dbutil.c:51:
> fake-rfc2553.h:52:1: warning: "_SS_PADSIZE" redefined
> In file included from /tools/bin/../include/sys/socket.h:35,
> from includes.h:36,
> from dbutil.c:51:
> /tools/bin/../include/bits/socket.h:160:1: warning: this is the location of
> the previous definition In file included from includes.h:128,
> from dbutil.c:52:
> fake-rfc2553.h:53: error: redefinition of 'struct sockaddr_storage'
> fake-rfc2553.h:67: error: redefinition of 'struct in6_addr'
> fake-rfc2553.h:68: error: expected ':', ',', ';', '}' or '__attribute__'
> before '.' token fake-rfc2553.h:73: error: redefinition of 'struct
> sockaddr_in6'
> fake-rfc2553.h:124: error: redefinition of 'struct addrinfo'
> dbutil.c: In function 'set_sock_priority':
> dbutil.c:162: error: 'TCP_NODELAY' undeclared (first use in this function)
> dbutil.c:162: error: (Each undeclared identifier is reported only once
> dbutil.c:162: error: for each function it appears in.)
And so on. This is a native armv5l build (under qemu), the root filesystem
has gcc 4.1.2, uClibc 0.9.29, and 2.6.25.10 kernel headers. (I can even walk
you through reproducing it if you have qemu 0.9.1 and are willing to download
a 20 meg system image tarball.)
Is this problem sounding familiar to anyone? (I might get a chance to debug
it this evening...)
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
More information about the Dropbear
mailing list