Error while compiling knetwork 3.4.1

Marek Wawrzyczny marekw1977 at yahoo.com.au
Fri Jun 3 07:42:27 BST 2005


On Fri, 3 Jun 2005 14:58, James Richard Tyrer wrote:
> 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
> >>>`/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?
> >
> > 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.

Actually I think I'm running something too new... I've been trying to stay on 
the bleeding edge to try and obtain WPA-PSK support for Prism54 and that's 
the result. When I have a spare couple of hours, I'll emerge old(er) versions 
of wireless-tools and try emerge kdenetwork-3.4.1 again with USE="wifi".
In any case, I hope the archive of this thread will show up in Google soon 
enough for others to find... In the meantime, kdenetwork seems to run fine.

Many thanks for the help.

Cheers,

-- 
--- 
Marek Wawrzyczny

-------------------------------------
"Terrorism is the war of the poor, 
and, war is terrorism of the rich."

- Peter Ustinov
-------------------------------------
-
Send instant messages to your online friends http://au.messenger.yahoo.com 

___________________________________________________
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