Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2003 01:57:46 -0500 (EST)
From:      Andre Guibert de Bruet <andy@siliconlandmark.com>
To:        Rossam Souza Silva <rss@cin.ufpe.br>
Cc:        current@FreeBSD.ORG
Subject:   Re: Problems compiling KDE after mega-commit
Message-ID:  <20030304015627.A59207@alpha.siliconlandmark.com>
In-Reply-To: <Pine.LNX.4.44.0303040209070.10465-100000@jurema.cin.ufpe.br>
References:  <Pine.LNX.4.44.0303040209070.10465-100000@jurema.cin.ufpe.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

You need to upgrade your ports skeleton. There's a couple of fixes that
were committed within the last 24 hours which fix these issues.

Regards,

> Andre Guibert de Bruet | Enterprise Software Consultant >
> Silicon Landmark, LLC. | http://siliconlandmark.com/    >

On Tue, 4 Mar 2003, Rossam Souza Silva wrote:

>
> I upgraded my machine while compiling KDE, some sys header files
> are problematic now:
>
> In file included from ksimcpu.cpp:45:
> /usr/include/sys/dkstat.h:45:2: warning: #warning "<sys/dkstat.h> is
> deprecated and should not be #include'd"
> ksimcpu.cpp:244:2: warning: #warning is a GCC extension
> ksimcpu.cpp:244:2: warning: #warning "add support for SMP on FreeBSD"
> ksimcpu.cpp: In member function `void
> CpuView::updateCpu(CpuView::CpuData&,
>    int)':
> ksimcpu.cpp:248: `CPUSTATES' undeclared (first use this function)
> ksimcpu.cpp:248: (Each undeclared identifier is reported only once for
> each
>    function it appears in.)
> ksimcpu.cpp:249: `cpuTime' undeclared (first use this function)
> ksimcpu.cpp:250: warning: deprecated conversion from string constant to
> `char*'
> ksimcpu.cpp:266: `CP_USER' undeclared (first use this function)
> ksimcpu.cpp:267: `CP_NICE' undeclared (first use this function)
> ksimcpu.cpp:268: `CP_SYS' undeclared (first use this function)
> ksimcpu.cpp:269: `CP_IDLE' undeclared (first use this function)
> ksimcpu.cpp:209: warning: unused parameter `int cpuNumber'
> gmake[4]: *** [ksimcpu.lo] Error 1
> gmake[4]: Leaving directory
> `/usr/ports/misc/kdeutils3/work/kdeutils-3.1/ksim/monitors/cpu'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/misc/kdeutils3/work/kdeutils-3.1/ksim/monitors'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/misc/kdeutils3/work/kdeutils-3.1/ksim'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/misc/kdeutils3/work/kdeutils-3.1'
> gmake: *** [all] Error 2
> *** Error code 2
>
> Stop in /usr/ports/misc/kdeutils3.
> *** Error code 1
>
> Stop in /usr/ports/x11/kde3.
>
>
> CPUSTATES & cia. are defined in sys/resource.h, including this header in
> ksimcpu.cpp, I have this:
>
>
> In file included from ksimcpu.cpp:45:
> /usr/include/sys/dkstat.h:45:2: warning: #warning "<sys/dkstat.h> is
> deprecated and should not be #include'd"
> In file included from ksimcpu.cpp:46:
> /usr/include/sys/resource.h:61: field `ru_utime' has incomplete type
> /usr/include/sys/resource.h:62: field `ru_stime' has incomplete type
> /usr/include/sys/resource.h:122: 'int32_t' is used as a type, but is not
>    defined as a type.
> /usr/include/sys/resource.h:123: 'int32_t' is used as a type, but is not
>    defined as a type.
> /usr/include/sys/resource.h:127: 'rlim_t' is used as a type, but is not
> defined
>    as a type.
> /usr/include/sys/resource.h:128: 'rlim_t' is used as a type, but is not
> defined
>    as a type.
> /usr/include/sys/resource.h:133: syntax error before `[' token
> ksimcpu.cpp:245:2: warning: #warning is a GCC extension
> ksimcpu.cpp:245:2: warning: #warning "add support for SMP on FreeBSD"
> ksimcpu.cpp: In member function `void
> CpuView::updateCpu(CpuView::CpuData&,
>    int)':
> ksimcpu.cpp:251: warning: deprecated conversion from string constant to
> `char*'
> ksimcpu.cpp:210: warning: unused parameter `int cpuNumber'
> gmake[4]: *** [ksimcpu.lo] Error 1
> gmake[4]: Leaving directory
> `/usr/ports/misc/kdeutils3/work/kdeutils-3.1/ksim/monitors/cpu'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/misc/kdeutils3/work/kdeutils-3.1/ksim/monitors'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/misc/kdeutils3/work/kdeutils-3.1/ksim'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/misc/kdeutils3/work/kdeutils-3.1'
> gmake: *** [all] Error 2
> *** Error code 2
>
> Stop in /usr/ports/misc/kdeutils3.
> *** Error code 1
>
> Stop in /usr/ports/x11/kde3.
>
> ------------------------------------------------------------------------------
>     (_ )   "Contrary to popular belief, UNIX is user friendly. It just happens
>  \\\'',) ^  to be very selective about who it decides to make friends with."
>    \/  \(
>    .\._/_)  Rossam Souza Silva (rss@cin.ufpe.br)
> -----------------------------------------------------------------------------
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030304015627.A59207>