From owner-freebsd-questions@FreeBSD.ORG Tue Jan 4 19:52:37 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44FB416A4CE for ; Tue, 4 Jan 2005 19:52:37 +0000 (GMT) Received: from web51004.mail.yahoo.com (web51004.mail.yahoo.com [206.190.38.135]) by mx1.FreeBSD.org (Postfix) with SMTP id C823F43D3F for ; Tue, 4 Jan 2005 19:52:36 +0000 (GMT) (envelope-from tfcheng@yahoo.com) Received: (qmail 88272 invoked by uid 60001); 4 Jan 2005 19:52:36 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=ec7dSfZXwdYNJgdyvJASvtpfG2dDglcBhmJ4JSns1iriSAZbr0WynKXfqZ3/9vQFjxq8y0CEAjb5JZLonuqhUJuxW3bwhG6QP2luHWH7vZiKZ3u5lj8winpp1aSLubvnDkaAtxYAlRkYo434U64bH1OelsDog5izHYKLARBJk7I= ; Message-ID: <20050104195236.88270.qmail@web51004.mail.yahoo.com> Received: from [129.49.86.137] by web51004.mail.yahoo.com via HTTP; Wed, 05 Jan 2005 03:52:36 CST Date: Wed, 5 Jan 2005 03:52:36 +0800 (CST) From: "T.F. Cheng" To: FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 8bit Subject: shermans_aquarium-3.0.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2005 19:52:37 -0000 hi, does anybody try to compile sherman's aquarium on freebsd 5.3? i have some troubles, In file included from status_freebsd.c:14: /usr/include/sys/vmmeter.h:43: error: syntax error before "u_int" /usr/include/sys/vmmeter.h:194: error: syntax error before "int16_t" In file included from status_freebsd.c:16: /usr/include/sys/sysctl.h:635: error: syntax error before "u_int" In file included from status_freebsd.c:17: /usr/include/vm/vm_param.h:109: error: syntax error before "u_int" status_freebsd.c: In function `status_init_cpu_load_freebsd': status_freebsd.c:44: warning: implicit declaration of function `getpagesize' status_freebsd.c:53: error: `O_RDONLY' undeclared (first use in this function) status_freebsd.c:53: error: (Each undeclared identifier is reported only once status_freebsd.c:53: error: for each function it appears in.) status_freebsd.c:56: warning: implicit declaration of function `puts' status_freebsd.c:68: warning: implicit declaration of function `seteuid' status_freebsd.c:68: warning: implicit declaration of function `getuid' status_freebsd.c:69: warning: implicit declaration of function `setegid' status_freebsd.c:69: warning: implicit declaration of function `getgid' status_freebsd.c:71: warning: implicit declaration of function `geteuid' status_freebsd.c:71: warning: implicit declaration of function `getegid' status_freebsd.c: In function `status_cpu': status_freebsd.c:94: warning: unused variable `loadPercentage' status_freebsd.c: At top level: status_freebsd.c:140: error: syntax error before '}' token status_freebsd.c:36: warning: 'oload' defined but not used status_freebsd.c:36: warning: 'ototal' defined but not used *** Error code 1 Stop in /usr/home/tfcheng/src/shermans_aquarium-3.0.0/shermans. gmake: *** [all] Error 1 any idea? thanks a bunch!! ===== Best Regards, Tsu-Fan Cheng _________________________________________________________ Do You Yahoo!? 登記免費的 @yahoo.com 中文電子郵件 @ http://chinese.mail.yahoo.com Get your free @yahoo.com address at http://chinese.mail.yahoo.com