[BusyBox] why is socklen_t defined twice ?

Robert Kaiser rob at sysgo.de
Tue Mar 27 10:58:56 UTC 2001


Hi,

trying to build busybox (from current CVS) with libc5, I got this error:

linux-gnulibc1-gcc -Wall -Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE 
-DBB_VER='"0.51pre"' -DBB_BT='"2001.03.27-11:00+0000"' -DUSE_SYSTEM_PWD_GRP 
-Ilibbb -c libbb/recursive_action.c -o libbb/recursive_action.o In file
included from libbb/../messages.c:39,                  from
libbb/recursive_action.c:37: libbb/../busybox.h:43: redefinition of `socklen_t'
libbb/libbb.h:41: `socklen_t' previously declared here make: ***
[libbb/recursive_action.o] Error 1

Removing the "typedef unsigned int socklen_t;" in libbb.h "fixed" the problem
for me, though I doubt it is a clean solution...

Rob



----------------------------------------------------------------
Robert Kaiser                         email: rkaiser at sysgo.de
SYSGO RTS GmbH
Am Pfaffenstein 14                    phone: (49) 6136 9948-762
D-55270 Klein-Winternheim / Germany   fax:   (49) 6136 9948-10





More information about the busybox mailing list