Date: Mon, 29 Dec 1997 15:34:38 -0800 (PST) From: Simon Shapiro <shimon@simon-shapiro.org> To: Simon Shapiro <shimon@simon-shapiro.org> Cc: freebsd-smp@freebsd.org Subject: RE: Compilation Failure - Suggested fix (?) Message-ID: <XFMail.971229153438.shimon@simon-shapiro.org> In-Reply-To: <XFMail.971229134801.shimon@simon-shapiro.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29-Dec-97 Simon Shapiro wrote: > Currently, I am getting: > > cc -c -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline -Wuninitialized -nostdinc -I- -I. -I../.. > -I../../../include -DPSM_ACCEL=4 -DSMP_AUTOSTART -DFAILSAFE -DNFS > -DFFS > -DINET -DKERNEL -include opt_global.h ../../i386/i386/perfmon.c > ../../i386/i386/perfmon.c: In function `perfmon_ioctl': > ../../i386/i386/perfmon.c:343: `tsc_freq' undeclared (first use this > function) > ../../i386/i386/perfmon.c:343: (Each undeclared identifier is > reported > only once > ../../i386/i386/perfmon.c:343: for each function it appears in.) > *** Error code 1 > > I have no clue what this variable is... I fixed it (on my copy) by changing perfmon.c From: #ifndef SMP #include <machine/cputypes.h> #include <machine/clock.h> #endif To: #ifndef SMP #include <machine/cputypes.h> #endif #include <machine/clock.h> An official, correct patch will be appreciated... ---------- Sincerely Yours, Simon Shapiro Shimon@Simon-Shapiro.ORG Voice: 503.799.2313
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.971229153438.shimon>