Error while compiling knetwork 3.4.1

James Richard Tyrer tyrerj at
Fri Jun 3 05:58:52 BST 2005

Marek Wawrzyczny wrote:
> On Thu, 2 Jun 2005 17:34, James Richard Tyrer wrote:
>>Marek Wawrzyczny wrote:
>>>On Wed, 1 Jun 2005 13:19, James Richard Tyrer wrote:
>>>>Marek Wawrzyczny wrote:
>>>>>Hi all,
>>>>>I rellay hope this is the place to post these. I'm compiling knetwork
>>>>>3.4.1 on Gentoo and I get the following error. I doubt that this has
>>>>>slipped through QA... any ideas as to what I should be looking at next?
>>>>I think that the error was a few lines earlier.  Look for 'no such file'
>>>>or 'file not found" or something like that.
>>>There's no indication of any missing files. 'make' goes into the dir and
>>>fails on a missing function/var. I have downloaded the package from one
>>>of the kde sites and replaced the Gentoo one, still the same error.
>>>make[3]: Entering directory
>>>/usr/kde/3.4/bin/dcopidl ./interface_dcop.h > interface_dcop.kidl || ( rm
>>>-f interface_dcop.kidl ; false )
>>>/usr/qt/3/bin/moc ./interface_wireless_wirelessextensions.h -o
>>>/usr/qt/3/bin/moc ./interface_wireless.h -o interface_wireless.moc
>>>/usr/qt/3/bin/moc ./kwifimanager.h -o kwifimanager.moc
>>>/usr/qt/3/bin/moc ./strength.h -o strength.moc
>>>/usr/kde/3.4/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub
>>>creating kwifimanager.all_cpp.cpp ...
>>>i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.4/include
>>>-I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT
>>>-D_FILE_OFFSET_BITS=64  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi
>>>-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
>>>-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG
>>>-DNO_DEBUG -O2 -O2 -march=pentium-m -mtune=pentium-m -pipe -ftracer
>>>-Wformat-security -Wmissing-format-attribute -fno-exceptions
>>>-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
>>>kwifimanager.all_cpp.o `test -f
>>>'kwifimanager.all_cpp.cpp' || echo './'`kwifimanager.all_cpp.cpp
>>>In file included from kwifimanager.all_cpp.cpp:3:
>>>interface_wireless_wirelessextensions.cpp: In member function `virtual
>>>bool Interface_wireless_wirelessextensions::poll_device_info()':
>>>interface_wireless_wirelessextensions.cpp:421: error: `iw_pr_ether'
>>>undeclared (first use this function)
>>>interface_wireless_wirelessextensions.cpp:421: error: (Each undeclared
>>>identifier is reported only once for each function it appears in.)
>>>make[3]: *** [kwifimanager.all_cpp.o] Error 1
>>>make[3]: Leaving directory
>>>make[2]: *** [all-recursive] Error 1
>>>make[2]: Leaving directory
>>>make[1]: *** [all-recursive] Error 1
>>>make[1]: Leaving directory
>>>make: *** [all] Error 2
>>It is much easier when a file is actually missing so that was my first
>>What is probably happening is that when it tries to compile:
>>that something is missing from one of the includes.  That is, the
>>object: "iw_pr_ether" should be defined in one of the included header
>>files and it isn't.  My standard method is to Google for the name of the
>>missing object.
>>I think that this is in: iwlib.h.
>>Do you have some 'wireless' package installed?  Do you need it?
> Ok, this happens to be a Gentoo related issue. I had the wifi flag on 
> (wireless support), switching it off specifically for kdenetwork allowed it 
> to compile.

That limits it to a library needed for wireless support.

> I will post this to the Gentoo package mantainers.
> Wireless is of importance to me since I have KDE installed on a laptop and I 
> use 802.11 to connect to my ADSL modem.
It is probably some issue with a library.  Perhaps you need a newer version.

This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list