All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Williams <dcbw@redhat.com>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: Anthony Griffiths <neuronetv@gmail.com>, linux-wireless@vger.kernel.org
Subject: Re: compile error iw on centos 5
Date: Mon, 24 Sep 2012 11:09:27 -0500	[thread overview]
Message-ID: <1348502967.8464.3.camel@dcbw.foobar.com> (raw)
In-Reply-To: <20120924154646.GC32351@tuxdriver.com>

On Mon, 2012-09-24 at 11:46 -0400, John W. Linville wrote:
> The wireless stack in RHEL 5 (and therefore CentOS 5) is rather old.
> I'm not sure that trying to run an updated iw on it will be a fruitful
> exercise...?

Do we even have usable nl80211 on RHEL 5?  Pretty sure it was a Tech
Preview there if it was ever shipped, and given that RHEL5 is like
2.6.17 I'm pretty sure any nl80211 there would be unusable anyway.

Dan

> On Mon, Sep 24, 2012 at 09:59:52AM +0100, Anthony Griffiths wrote:
> > I'm trying to compile iw in centos5.8 server (command line only). I
> > have libnl and libnl-devel installed:
> > ]# rpm -q libnl
> > libnl-1.0-0.10.pre5.5
> > I've tried 4 different versions of iw*.tar.bz2 but all give compile
> > errors that i can't resolve. The last one I tried was iw-0.9.1 but
> > make gives:
> > ]# make
> >  CC   interface.o
> > In file included from /usr/include/net/if.h:26,
> >                  from interface.c:2:
> > /usr/include/sys/types.h:62: error: conflicting types for ‘dev_t’
> > /lib/modules/2.6.18-308.13.1.el5/source//include/linux/types.h:22:
> > error: previous declaration of ‘d                 ev_t’ was here
> > /usr/include/sys/types.h:67: error: conflicting types for ‘gid_t’
> > /lib/modules/2.6.18-308.13.1.el5/source//include/linux/types.h:54:
> > error: previous declaration of ‘g                 id_t’ was here
> > /usr/include/sys/types.h:72: error: conflicting types for ‘mode_t’
> > /lib/modules/2.6.18-308.13.1.el5/source//include/linux/types.h:24:
> > error: previous declaration of ‘m                 ode_t’ was here
> > /usr/include/sys/types.h:77: error: conflicting types for ‘nlink_t’
> > /lib/modules/2.6.18-308.13.1.el5/source//include/linux/types.h:25:
> > error: previous declaration of ‘n                 link_t’ was here
> > /usr/include/sys/types.h:82: error: conflicting types for ‘uid_t’
> > /lib/modules/2.6.18-308.13.1.el5/source//include/linux/types.h:53:
> > error: previous declaration of ‘u                 id_t’ was here
> > In file included from /usr/include/sys/types.h:133,
> >                  from /usr/include/net/if.h:26,
> >                  from interface.c:2:
> > /usr/include/time.h:105: error: conflicting types for ‘timer_t’
> > /lib/modules/2.6.18-308.13.1.el5/source//include/linux/types.h:31:
> > error: previous declaration of ‘t                 imer_t’ was here
> > In file included from /usr/include/sys/types.h:220,
> >                  from /usr/include/net/if.h:26,
> >                  from interface.c:2:
> > /usr/include/sys/select.h:78: error: conflicting types for ‘fd_set’
> > /lib/modules/2.6.18-308.13.1.el5/source//include/linux/types.h:21:
> > error: previous declaration of ‘f                 d_set’ was here
> > In file included from /usr/include/net/if.h:26,
> >                  from interface.c:2:
> > /usr/include/sys/types.h:235: error: conflicting types for ‘blkcnt_t’
> > /lib/modules/2.6.18-308.13.1.el5/source//include/linux/types.h:142:
> > error: previous declaration of ‘                 blkcnt_t’ was here
> > make: *** [interface.o] Error 1
> > 
> > There is no iw yum package for centos5 that I can find.
> > I've been searching google but cannot find a solution to the above
> > error, thanks for any help.
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > 
> 



      parent reply	other threads:[~2012-09-24 16:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-24  8:59 compile error iw on centos 5 Anthony Griffiths
2012-09-24 15:46 ` John W. Linville
2012-09-24 16:06   ` info
2012-09-24 16:45     ` Dan Williams
2012-09-24 17:20       ` Ben Greear
2012-09-24 16:09   ` Dan Williams [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1348502967.8464.3.camel@dcbw.foobar.com \
    --to=dcbw@redhat.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=neuronetv@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.