<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>115652</bug_id>
          
          <creation_ts>2005-12-15 06:12 0000</creation_ts>
          <short_desc>wifi use flag + kdenetwork-3.4.3 + wireless-tools-28_pre10 = compilation problem</short_desc>
          <delta_ts>2005-12-17 08:47:34 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>KDE</component>
          <version>2005.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          <bug_file_loc>http://rasalom.tl.pl/~thorgal/config.log</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gkubok@gmail.com</reporter>
          <assigned_to>kde@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>gkubok@gmail.com</who>
            <bug_when>2005-12-15 06:12:52 0000</bug_when>
            <thetext>Hello, in general I&apos;m trying to upgrade KDE 3.4.1 to 3.4.3 after Gentoo Team
considered it stable. The emerge process, however, fails for kdenetwork-3.4.3.
Couldn&apos;t find anything on this in the bugzilla archives. The ./configure script
of kdenetwork ends as follows (I use &apos;wifi&apos; flag):

---cut-here---
checking if wireless tools &gt;= 25 are installed... no
checking if wireless tools &gt;= 27 are installed... yes
checking if wireless tools &gt;= 27pre19 are installed... no
configure: error: --with-wifi was given, but test for wireless-tools failed
---cut-here---

My wireless-tools version is 28_pre10. The ./configure script uses three test
programs for `libiw&apos;, two of which run clean, and one reports:

---cut-here---
test2.c: In function `main&apos;:
test2.c:6: error: too few arguments to function `iw_get_stats&apos;
---cut-here---

This failing test program used by ./configure goes like this:

---cut-here---
#include &lt;iwlib.h&gt;
int main ()
{
struct wireless_info info;
char * stupid;
iw_get_stats(iw_sockets_open(), stupid, &amp;(info.stats));
return 0;
}
---cut-here---

My /etc/make.conf:

---cut-here---
CFLAGS=&quot;-Os -mcpu=i686 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CXXFLAGS=&quot;${CFLAGS}&quot;
USE=&quot;-ipv6 -esd svg dvd dvdread real win32codecs xosd amarok extramodules
extraicons gtk2 gtk -tcpd -gnome xprint mozsvg mmx mmx2 sse sse2 samba tiff
mysql jpeg2k logitech-mouse tetex xscreensaver pda wifi rdesktop utf8 winbind
old-crypt xml xml2 java unicode kde X&quot;
GENTOO_MIRRORS=&quot;http://gentoo.prz.rzeszow.pl/&quot;
---cut-here---

config.log generated by kdenetwork&apos;s configure script:
http://rasalom.tl.pl/~thorgal/config.log

Any other files needed?

--
best regards,
Greg K.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gkubok@gmail.com</who>
            <bug_when>2005-12-17 08:47:34 0000</bug_when>
            <thetext>That&apos;s what happens when /usr/include/linux points to /usr/include/linux.default instead of /usr/src/linux/include/linux...</thetext>
          </long_desc>
      
    </bug>

</bugzilla>