dropbear glibc 2.1.3 compile error

Miles Roper mroper at westcoastdhb.org.nz
Fri Jan 28 16:48:05 WST 2005


Hi,

I get the below errors when compiling with gcc 2.95.3 and glibc 2.1.3.

gcc -I. -I./libtomcrypt -B//lib -Wl,-rpath-link,//lib -Os -mcpu=i586
-march=i386 -DDROPBEAR_SERVER -DDROPBEAR_CLIENT   -c -o dbutil.o dbutil.c
dbutil.c: In function `getaddrstring':
dbutil.c:362: structure has no member named `ss_family'
dbutil.c:366: structure has no member named `ss_family'
dbutil.c: In function `getaddrhostname':
dbutil.c:404: structure has no member named `ss_family'
dbutil.c:408: structure has no member named `ss_family'
gcc: file path prefix `//lib' never used
make: *** [dbutil.o] Error 1

I done a seach using google and found a similar problem.  Can we get this
fixed in dropbear?

Thanks

Miles


| ftpd.c:1093: structure has no member named `ss_family'

This message is because the Linux sockaddr_storage struct member is called
__ss_family not ss_family, if using configure add "#define HAVE__SS_FAMILY"
to the generated src/config.h (before the Socket macros), then run make.
You could also try using build, edit config.h.noac, change "#undef INET6"
to "#define INET6" followed by ./build lnx should work.

==================================================
Attention:
The information contained in this message and/or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by person or entities other than the intended recipient
is prohibited.  If you receive this in error, please contact the sender and delete the material from your system and destroy any copies.
===================================================



More information about the Dropbear mailing list