Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
KDE 3.4 Konsruct error
Hi all,
I'm running Mandrake 10.1 with Xorg 6.8
I've just recieved what feels like the millionth error installing kde 3.4.3 using Konstruct, however this is the only one so far I havn't been able to decipher and solve. The output is as follows:
In file included from kppp.all_cpp.cpp:19:
pppstats.cpp: In member function `bool PPPStats::ifIsUp()':
pppstats.cpp:163: error: aggregate `ifreq ifr' has incomplete type and cannot be defined
pppstats.cpp:197: error: `IFF_UP' undeclared (first use this function)
pppstats.cpp:197: error: (Each undeclared identifier is reported only once for each function it appears in.)
pppstats.cpp:197: error: `IFF_RUNNING' undeclared (first use this function)
pppstats.cpp: In member function `bool PPPStats::initStats()':
pppstats.cpp:215: error: aggregate `ifreq ifr' has incomplete type and cannot be defined
pppstats.cpp: In member function `bool PPPStats::get_ppp_stats(ppp_stats*)':
pppstats.cpp:284: error: aggregate `ifpppstatsreq req' has incomplete type and cannot be defined
pppstats.cpp:295: error: `SIOCGPPPSTATS' undeclared (first use this function)
make[5]: *** [kppp.all_cpp.o] Error 1
make[5]: Leaving directory `/home/kyle/Download/konstruct/kde/kdenetwork/work/kdenetwork-3.4.3/kppp'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/kyle/Download/konstruct/kde/kdenetwork/work/kdenetwork-3.4.3/kppp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/kyle/Download/konstruct/kde/kdenetwork/work/kdenetwork-3.4.3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/kyle/Download/konstruct/kde/kdenetwork/work/kdenetwork-3.4.3'
make[1]: *** [build-work/kdenetwork-3.4.3/Makefile] Error 2
make[1]: Leaving directory `/home/kyle/Download/konstruct/kde/kdenetwork'
make: *** [dep-../../kde/kdenetwork] Error 2
Any help would be much appreciated.
RE: KDE 3.4 Konsruct error
Do you have kernel-headers or kernel-source installed?
I am not sure, but i think that IFF_UP and company are defined somewhere in net/ includes in the kernel source.
Try to grep it in /usr/src/include or /usr/include.