Error while compiling knetwork 3.4.1

James Richard Tyrer tyrerj at acm.org
Thu Jun 2 08:34:45 BST 2005


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 
> `/var/tmp/portage/kdenetwork-3.4.1/work/kdenetwork-3.4.1/wifi'
> /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 
> interface_wireless_wirelessextensions.moc
> /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 
> interface_dcop.kidl
> 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 -DQT_NO_STL -DQT_NO_COMPAT 
> -DQT_NO_TRANSLATION  -c -o 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 
> `/var/tmp/portage/kdenetwork-3.4.1/work/kdenetwork-3.4.1/wifi'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/var/tmp/portage/kdenetwork-3.4.1/work/kdenetwork-3.4.1/wifi'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/var/tmp/portage/kdenetwork-3.4.1/work/kdenetwork-3.4.1'
> make: *** [all] Error 2

It is much easier when a file is actually missing so that was my first 
suggestion.

What is probably happening is that when it tries to compile:

interface_wireless_wirelessextensions.cpp

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?

-- 
JRT

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list