From owner-freebsd-current Mon Mar 3 22:52:41 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 1868E37B401 for ; Mon, 3 Mar 2003 22:52:38 -0800 (PST) Received: from nazare.cin.ufpe.br (nazare.cin.ufpe.br [150.161.2.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF13043FAF for ; Mon, 3 Mar 2003 22:52:36 -0800 (PST) (envelope-from rss@cin.ufpe.br) Received: (from root@localhost) by nazare.cin.ufpe.br (8.11.6/8.11.6) id h246q9o09011 for current@freebsd.org; Tue, 4 Mar 2003 03:52:09 -0300 (BRT) (envelope-from rss@nazare.cin.ufpe.br) Received: from jurema.cin.ufpe.br (jurema [172.17.33.106]) by nazare.cin.ufpe.br (8.11.6/8.11.6) with ESMTP id h246q3S70393 for ; Tue, 4 Mar 2003 03:52:08 -0300 (BRT) (envelope-from rss@nazare.cin.ufpe.br) Received: from rss (helo=localhost) by jurema.cin.ufpe.br with local-esmtp (Exim 3.35 #1 (Debian)) id 18q4qD-0004KV-00 for ; Tue, 04 Mar 2003 02:19:49 -0300 Date: Tue, 4 Mar 2003 02:19:39 -0300 (BRT) From: Rossam Souza Silva To: current@freebsd.org Subject: Problems compiling KDE after mega-commit Message-ID: 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 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