* Error Installing 'iw'
@ 2009-10-13 18:53 Pramono Tunggul
2009-10-14 21:14 ` Pavel Roskin
0 siblings, 1 reply; 2+ messages in thread
From: Pramono Tunggul @ 2009-10-13 18:53 UTC (permalink / raw)
To: linux-wireless
Guyz, when I try to start airmon-ng, it said that I have to install iw,
so I download and install iw but I have never succeed to install iw,
PACKAGE_CONFIG_PATH=/usr/lib
export PACKAGE_CONFIG_PATH
make
CC iw.o
In file included from /usr/local/include/netlink/netlink.h:23,
from /usr/include/netlink/genl/genl.h:15,
from iw.c:17:
/usr/local/include/netlink/netlink-kernel.h:222: error: expected
specifier-qualifier-list before ‘__u32’
/usr/local/include/netlink/netlink-kernel.h:232: error: expected
specifier-qualifier-list before ‘__u16’
In file included from /usr/local/include/netlink/netlink.h:24,
from /usr/include/netlink/genl/genl.h:15,
from iw.c:17:
/usr/local/include/netlink/rtnetlink-kernel.h:281: error: expected
specifier-qualifier-list before ‘__u32’
/usr/local/include/netlink/rtnetlink-kernel.h:342: error: expected
specifier-qualifier-list before ‘__u8’
/usr/local/include/netlink/rtnetlink-kernel.h:403: error: expected
specifier-qualifier-list before ‘__u32’
/usr/local/include/netlink/rtnetlink-kernel.h:431: error: expected
specifier-qualifier-list before ‘__u16’
/usr/local/include/netlink/rtnetlink-kernel.h:477: error: expected
specifier-qualifier-list before ‘__u32’
/usr/local/include/netlink/rtnetlink-kernel.h:498: error: expected
specifier-qualifier-list before ‘__u64’
/usr/local/include/netlink/rtnetlink-kernel.h:533: error: expected
specifier-qualifier-list before ‘__u8’
/usr/local/include/netlink/rtnetlink-kernel.h:540: error: expected
specifier-qualifier-list before ‘__u16’
/usr/local/include/netlink/rtnetlink-kernel.h:622: error: expected
specifier-qualifier-list before ‘__u32’
/usr/local/include/netlink/rtnetlink-kernel.h:629: error: expected
specifier-qualifier-list before ‘__u32’
/usr/local/include/netlink/rtnetlink-kernel.h:663: error: expected
specifier-qualifier-list before ‘__u64’
/usr/local/include/netlink/rtnetlink-kernel.h:751: error: expected
specifier-qualifier-list before ‘__u32’
/usr/local/include/netlink/rtnetlink-kernel.h:767: error: expected
specifier-qualifier-list before ‘__u32’
iw.c: In function ‘error_handler’:
iw.c:237: error: ‘NL_STOP’ undeclared (first use in this function)
iw.c:237: error: (Each undeclared identifier is reported only once
iw.c:237: error: for each function it appears in.)
iw.c: In function ‘ack_handler’:
iw.c:251: error: ‘NL_STOP’ undeclared (first use in this function)
iw.c: In function ‘__handle_cmd’:
iw.c:367: error: implicit declaration of function ‘nlmsg_alloc’
iw.c:367: warning: assignment makes pointer from integer without a cast
iw.c:373: error: implicit declaration of function ‘nl_cb_alloc’
iw.c:373: warning: assignment makes pointer from integer without a cast
iw.c:411: error: implicit declaration of function ‘nl_cb_put’
make: *** [iw.o] Error 1
Would you mind telling me how to install iw??
Thank you
Regards,
Pramono Tunggul
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Error Installing 'iw'
2009-10-13 18:53 Error Installing 'iw' Pramono Tunggul
@ 2009-10-14 21:14 ` Pavel Roskin
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Roskin @ 2009-10-14 21:14 UTC (permalink / raw)
To: Pramono Tunggul; +Cc: linux-wireless
On Wed, 2009-10-14 at 01:53 +0700, Pramono Tunggul wrote:
> Guyz, when I try to start airmon-ng, it said that I have to install iw,
> so I download and install iw but I have never succeed to install iw,
>
> PACKAGE_CONFIG_PATH=/usr/lib
> export PACKAGE_CONFIG_PATH
Maybe you meant to set PKG_CONFIG_PATH, as described in README?
> make
>
> CC iw.o
> In file included from /usr/local/include/netlink/netlink.h:23,
> from /usr/include/netlink/genl/genl.h:15,
> from iw.c:17:
> /usr/local/include/netlink/netlink-kernel.h:222: error: expected
> specifier-qualifier-list before ‘__u32’
First of all, libnl is still found in /usr/local/lib, not in /usr/lib,
in case it was your intention.
There is no line 222 in netlink-kernel.h from libnl 1.1. Perhaps you
are using an old version of libnl? I suggest that you try version 1.1.
--
Regards,
Pavel Roskin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-14 21:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-13 18:53 Error Installing 'iw' Pramono Tunggul
2009-10-14 21:14 ` Pavel Roskin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).