You are not logged in.

1

Monday, November 28th 2005, 6:51am

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.

2

Tuesday, November 29th 2005, 6:35pm

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.