[Click] Problem in installing click on Ubuntu

sam barker sam.barker0 at gmail.com
Thu Jan 31 08:58:40 EST 2008


Anyone has any idea?

Cheers,
Sam

On Jan 30, 2008 4:00 PM, sam barker <sam.barker0 at gmail.com> wrote:

> Hi,
> I was installing click on the Ubuntu 7.10.
>
> I am getting the following errors,
>
>   CXX ../elements/grid/airoinfo.cc
> ../elements/grid/airoinfo.hh:72: error: field '_ifr2' has incomplete type
> ../elements/grid/airoinfo.cc: In member function 'virtual int
> AiroInfo::initialize(ErrorHandler*)':
> ../elements/grid/airoinfo.cc:82: error: 'struct iwreq' has no member named
> 'ifr_name'
> ../elements/grid/airoinfo.cc:82: error: 'struct iwreq' has no member named
> 'ifr_name'
> ../elements/grid/airoinfo.cc:83: error: 'struct iwreq' has no member named
> 'ifr_name'
> ../elements/grid/airoinfo.cc:83: error: 'struct iwreq' has no member named
> 'ifr_name'
> ../elements/grid/airoinfo.cc:85: error: '_ifr2' was not declared in this
> scope
> ../elements/grid/airoinfo.cc:92: error: 'struct iwreq' has no member named
> 'ifr_name'
> ../elements/grid/airoinfo.cc: In member function 'bool
> AiroInfo::get_noise(int&, int&, int&)':
> ../elements/grid/airoinfo.cc:264: error: '_ifr2' was not declared in this
> scope
> make[1]: *** [airoinfo.o] Error 1
>
>
> I think its  a problem with a wireless.h  and struct iwreq is changed.
> How should I modify struct iwreq.
>
> I am listing the one given in wireless.h
>
> struct    iwreq
> {
>     union
>     {
>         char    ifrn_name[IFNAMSIZ];    /* if name, e.g. "eth0" */
>     } ifr_ifrn;
>
>     /* Data part (defined just above) */
>     union    iwreq_data    u;
> };
>
>
> How can I fix the above errors
>
> Cheers,
> Sam
>
>


More information about the click mailing list