Bug 115652 - wifi use flag + kdenetwork-3.4.3 + wireless-tools-28_pre10 = compilation problem
Bug#: 115652 Product:  Gentoo Linux Version: 2005.1 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: INVALID Assigned To: kde@gentoo.org Reported By: gkubok@gmail.com
Component: KDE
URL:  http://rasalom.tl.pl/~thorgal/config.log
Summary: wifi use flag + kdenetwork-3.4.3 + wireless-tools-28_pre10 = compilation problem
Keywords:  
Status Whiteboard: 
Opened: 2005-12-15 06:12 0000
Description:   Opened: 2005-12-15 06:12 0000
Hello, in general I'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't find anything on this in the bugzilla archives. The ./configure script
of kdenetwork ends as follows (I use 'wifi' flag):

---cut-here---
checking if wireless tools >= 25 are installed... no
checking if wireless tools >= 27 are installed... yes
checking if wireless tools >= 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', two of which run clean, and one reports:

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

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

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

My /etc/make.conf:

---cut-here---
CFLAGS="-Os -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="-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"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl/"
---cut-here---

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

Any other files needed?

--
best regards,
Greg K.

------- Comment #1 From Grzegorz Kubok 2005-12-17 08:47:34 0000 -------
That's what happens when /usr/include/linux points to
/usr/include/linux.default instead of /usr/src/linux/include/linux...