Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2010 10:40:44 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        syrinx@freebsd.org
Cc:        "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: Call for testers: wireless module for bsnmpd(1)
Message-ID:  <AANLkTikQZq0AM5OWns4DKWf24P0Cf2xfw7CThh1yNcST@mail.gmail.com>
In-Reply-To: <AANLkTim79R7XzELurqh1Jcftl2ezxsV4KVLl09aHlSv9@mail.gmail.com>
References:  <AANLkTim79R7XzELurqh1Jcftl2ezxsV4KVLl09aHlSv9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Howdy!

Compiling this on MIPS gives this error:

Warning: Object directory not changed from original /usr/home/adrian/w/snmp_wlan
cc -fpic -DPIC -O -pipe -EB -msoft-float -G0 -mno-dsp -mabicalls
-DSNMPTREE_TYPES -g -I. -std=gnu99 -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
-Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
-Wold-style-definition -Wno-pointer-sign -c wlan_sys.c -o wlan_sys.So
cc1: warnings being treated as errors
wlan_sys.c: In function 'wlan_get_scan_results':
wlan_sys.c:2221: warning: cast increases required alignment of target type
wlan_sys.c: In function 'wlan_get_peerinfo':
wlan_sys.c:2713: warning: cast increases required alignment of target type
*** Error code 1



Adrian

On 10 July 2010 19:27, Shteryana Shopova <syrinx@freebsd.org> wrote:
> Hi all,
>
> As some of you may know, I've been awarded a grant by the FreeBSD
> Foundation to make several improvements to FreeBSD's SNMP daemon. The
> first part of the project - a module for monitoring wireless
> networking under FreeBSD - is now completed and I'd really appreciate
> if I could get some help in more extensive testing in a wider range of
> wireless networking usage scenarios. A tarbal of the latest sources of
> the module is available under
> http://people.freebsd.org/~syrinx/snmp/snmp_wlan-20100710-01.tar. To
> compile and install the module -
> #fetch http://people.freebsd.org/~syrinx/snmp/snmp_wlan-20100710-01.tar
> #tar -xvf snmp_wlan-20100710-01.tar
> #cd snmp_wlan
> #make
> #make install (as root)
>
> To enable loading of the module in bsnmpd(1), one should add the
> following line to bsnmpd(1) config file (usually /etc/snmpd.config) -
>
> begemotSnmpdModulePath."wlan" = "/usr/lib/snmp_wlan.so"
>
> More details on how the module works may be found in the snmp_wlan(3)
> man page and in the private BEGEMOT-WIRELESS-MIB the module implements
> (installed under /usr/share/snmp/mibs/BEGEMOT-WIRELESS-MIB.txt).
> Know issues currently are that BITS types are not always handled
> properly, and TX rates may not always be properly set - I am working
> on fixing those.
> All feedback is wellcome - bug reports, requests for features to be
> included in future versions of the module, code style and bug fix
> patches. I will be glad to help resolve any problems that may arise
> while installing/working with the module and answer any questions you
> may have. Thanks!
>
> cheers,
> Shteryana
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikQZq0AM5OWns4DKWf24P0Cf2xfw7CThh1yNcST>