From owner-freebsd-current Mon Mar 3 22:57:57 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D578837B401 for ; Mon, 3 Mar 2003 22:57:53 -0800 (PST) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 047AC43FB1 for ; Mon, 3 Mar 2003 22:57:53 -0800 (PST) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (localhost [127.0.0.1]) by alpha.siliconlandmark.com (8.12.8/8.12.7) with ESMTP id h246vk5Z008711; Tue, 4 Mar 2003 01:57:46 -0500 (EST) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost) by alpha.siliconlandmark.com (8.12.8/8.12.7/Submit) with ESMTP id h246vkni008708; Tue, 4 Mar 2003 01:57:46 -0500 (EST) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Tue, 4 Mar 2003 01:57:46 -0500 (EST) From: Andre Guibert de Bruet To: Rossam Souza Silva Cc: current@FreeBSD.ORG Subject: Re: Problems compiling KDE after mega-commit In-Reply-To: Message-ID: <20030304015627.A59207@alpha.siliconlandmark.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 " 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 " 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