Bug#601902: gnome-netstatus-applet: On kfreebsd, does not understand the kernel network information.
Michael Dorrington
michael.dorrington at gmail.com
Sun Nov 14 15:56:33 UTC 2010
Robert Millan wrote:
> 2010/11/13 Michael Dorrington <michael.dorrington at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20101114/dfafdfe7/attachment.pgp>
More information about the pkg-gnome-maintainers
mailing list