Date: Wed, 5 Jan 2005 03:52:36 +0800 (CST) From: "T.F. Cheng" <tfcheng@yahoo.com> To: FreeBSD <freebsd-questions@freebsd.org> Subject: shermans_aquarium-3.0.0 Message-ID: <20050104195236.88270.qmail@web51004.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050104195236.88270.qmail>