Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115652 - wifi use flag + kdenetwork-3.4.3 + wireless-tools-28_pre10 = compilation problem
Summary: wifi use flag + kdenetwork-3.4.3 + wireless-tools-28_pre10 = compilation problem
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://rasalom.tl.pl/~thorgal/config.log
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-15 06:12 UTC by Grzegorz Kubok
Modified: 2005-12-17 08:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Kubok 2005-12-15 06:12:52 UTC
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 Grzegorz Kubok 2005-12-17 08:47:34 UTC
That's what happens when /usr/include/linux points to /usr/include/linux.default instead of /usr/src/linux/include/linux...