Robert Millan wrote: > 2010/11/13 Michael Dorrington <michael.dorring...@gmail.com>: >> netstatus-sysdeps.c: In function ‘wireless_getval’: >> netstatus-sysdeps.c:408: warning: implicit declaration of function ‘strlcpy’ > > Add -lbsd to CFLAGS
Added -lbsd to Makefile.in: -CFLAGS = @CFLAGS@ +CFLAGS = @CFLAGS@ -lbsd Which made it to the Makefile: -CFLAGS = -g -O2 -g -Wall -O2 +CFLAGS = -g -O2 -g -Wall -O2 -lbsd But build still has: netstatus-sysdeps.c:408: warning: implicit declaration of function ‘strlcpy’ >> netstatus-sysdeps.c: In function ‘get_wi_data’: >> netstatus-sysdeps.c:474: error: storage size of ‘wreq’ isn’t known > > Seems like wireless structs aren't properly defined. Perhaps > this is the same problem that caused #601803 ? > > grep for struct.*wreq in kfreebsd headers, see if the declaration is > present, and why it isn't accessible. > # apt-get install kfreebsd-headers-8-686 # grep -rl 'struct.*wreq' /usr/src/kfreebsd-headers-8* 2> /dev/null <Nothing> Regards, Mike.
signature.asc
Description: OpenPGP digital signature