newbe compiling kde-lite problem

Tomas antencek at gmail.com
Fri Jan 7 04:05:21 PST 2005


Hi.

Is anyone else experiencing problems compiling kde-lite?

I have cvsupped and compiled DragonFly 1.1-Stable #0: Fri Jan  7 
08:19:26 CET 2005 and cvsupped (df)ports at the same time.

This is the error:

In file included from CPU.c:26:
/usr/include/sys/dkstat.h:47: #error "This file should not be included 
by userland programs."
CPU.c:47: `CPUSTATES' undeclared here (not in a function)
CPU.c:47: conflicting types for `cp_time'
/usr/include/sys/dkstat.h:61: previous declaration of `cp_time'
CPU.c:48: `CPUSTATES' undeclared here (not in a function)
CPU.c:49: `CPUSTATES' undeclared here (not in a function)
CPU.c:50: `CPUSTATES' undeclared here (not in a function)
CPU.c: In function `updateCpuInfo':
CPU.c:78: `CPUSTATES' undeclared (first use in this function)
CPU.c:78: (Each undeclared identifier is reported only once
CPU.c:78: for each function it appears in.)
CPU.c: In function `printCPUUser':
CPU.c:85: `CP_USER' undeclared (first use in this function)
CPU.c: In function `printCPUNice':
CPU.c:97: `CP_NICE' undeclared (first use in this function)
CPU.c: In function `printCPUSys':
CPU.c:109: `CP_SYS' undeclared (first use in this function)
CPU.c: In function `printCPUIdle':
CPU.c:121: `CP_IDLE' undeclared (first use in this function)
gmake[4]: *** [CPU.o] Error 1
gmake[4]: Leaving directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.3.2/ksysguard/ksysguardd/FreeBSD'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.3.2/ksysguard/ksysguardd'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/x11/kdebase3/work/kdebase-3.3.2/ksysguard'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.3.2'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11/kdebase3.
*** Error code 1
Stop in /usr/ports/x11/kde-lite.

Any suggestions??

Regards,
Tomas




More information about the Bugs mailing list