Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6973] Add a new toolbar for channel setting on nl80211 wir

Date: Thu, 12 Jul 2012 01:58:47 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6973

--- Comment #50 from Anders Broman <anders.broman@xxxxxxxxxxxx> 2012-07-12 01:58:46 PDT ---
For what it's worth collegues get

gcc -DHAVE_CONFIG_H -I.  -I. -I./wiretap     -DINET6 -DG_DISABLE_DEPRECATED
-DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED
-DGTK_DISABLE_SINGLE_INCLUDES -D_U_="__attribute__((unused))" 
-D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include/pcap 
'-DPLUGIN_DIR="/home/xxxxx/1wireshark/lib/wireshark/plugins/1.9.0"' -Werror
-DPYTHON_DIR= -g -O2   -Wall -W -Wextra -Wdeclaration-after-statement
-Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align
-Wformat-security -Wold-style-definition -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -MT
wireshark-ws80211_utils.o -MD -MP -MF .deps/wireshark-ws80211_utils.Tpo -c -o
wireshark-ws80211_utils.o `test -f 'ws80211_utils.c' || echo
'./'`ws80211_utils.c
ws80211_utils.c: In function 'get_phys_handler':
ws80211_utils.c:250: error: 'NL80211_CMD_SET_CHANNEL' undeclared (first use in
this function)
ws80211_utils.c:250: error: (Each undeclared identifier is reported only once
ws80211_utils.c:250: error: for each function it appears in.)
ws80211_utils.c: In function 'ws80211_set_freq':
ws80211_utils.c:543: error: 'NL80211_CMD_SET_CHANNEL' undeclared (first use in
this function)
mv -f .deps/wireshark-recent.Tpo .deps/wireshark-recent.Po
mv -f .deps/wireshark-u3.Tpo .deps/wireshark-u3.Po
make[2]: *** [wireshark-ws80211_utils.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/xxxxx/SVN-Wshark/wireshark/trunk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xxxxx/SVN-Wshark/wireshark/trunk'
make: *** [all] Error 2


cat /etc/SuSE-release
SUSE Linux Enterprise Desktop 11 (x86_64)
VERSION = 11
PATCHLEVEL = 1

uname -a
Linux sekic2440 2.6.32.29-0.3-default #1 SMP 2011-02-25 13:36:59 +0100 x86_64
x86_64 x86_64 GNU/Linux

libnl-devel-1.1-49.18

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.