From owner-freebsd-smp Mon Dec 29 13:47:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA14056 for smp-outgoing; Mon, 29 Dec 1997 13:47:53 -0800 (PST) (envelope-from owner-freebsd-smp) Received: from nomis.simon-shapiro.org (nomis.i-Connect.Net [206.190.143.100]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA14031 for ; Mon, 29 Dec 1997 13:47:23 -0800 (PST) (envelope-from shimon@nomis.Simon-Shapiro.ORG) Received: (qmail 20523 invoked by uid 1000); 29 Dec 1997 21:48:01 -0000 Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Mon, 29 Dec 1997 13:48:01 -0800 (PST) Reply-To: shimon@simon-shapiro.org Organization: The Simon Shapiro Foundation From: Simon Shapiro To: freebsd-smp@freebsd.org Subject: Compilation Failure Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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... ---------- Sincerely Yours, Simon Shapiro Shimon@Simon-Shapiro.ORG Voice: 503.799.2313 From owner-freebsd-smp Mon Dec 29 15:33:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA23220 for smp-outgoing; Mon, 29 Dec 1997 15:33:14 -0800 (PST) (envelope-from owner-freebsd-smp) Received: from nomis.simon-shapiro.org (nomis.i-Connect.Net [206.190.143.100]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id PAA23208 for ; Mon, 29 Dec 1997 15:33:01 -0800 (PST) (envelope-from shimon@nomis.Simon-Shapiro.ORG) Received: (qmail 10380 invoked by uid 1000); 29 Dec 1997 23:34:38 -0000 Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 29 Dec 1997 15:34:38 -0800 (PST) Reply-To: shimon@simon-shapiro.org Organization: The Simon Shapiro Foundation From: Simon Shapiro To: Simon Shapiro Subject: RE: Compilation Failure - Suggested fix (?) Cc: freebsd-smp@freebsd.org Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 #include #endif To: #ifndef SMP #include #endif #include An official, correct patch will be appreciated... ---------- Sincerely Yours, Simon Shapiro Shimon@Simon-Shapiro.ORG Voice: 503.799.2313 From owner-freebsd-smp Mon Dec 29 15:42:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA24463 for smp-outgoing; Mon, 29 Dec 1997 15:42:54 -0800 (PST) (envelope-from owner-freebsd-smp) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.26]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA24451 for ; Mon, 29 Dec 1997 15:42:48 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.cybercity.dk [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id AAA21209; Tue, 30 Dec 1997 00:39:01 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: shimon@simon-shapiro.org cc: freebsd-smp@freebsd.org Subject: Re: Compilation Failure - Suggested fix (?) In-reply-to: Your message of "Mon, 29 Dec 1997 15:34:38 PST." Date: Tue, 30 Dec 1997 00:39:01 +0100 Message-ID: <21207.883438741@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Committed as official patch :-) Thanks! > >From: > >#ifndef SMP >#include >#include >#endif > >To: > >#ifndef SMP >#include >#endif >#include > >An official, correct patch will be appreciated... > >---------- > > >Sincerely Yours, > >Simon Shapiro >Shimon@Simon-Shapiro.ORG Voice: 503.799.2313 > -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop."