From owner-freebsd-questions Wed May 17 9:51:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gort.connection.com (gort.connection.com [204.138.111.59]) by hub.freebsd.org (Postfix) with SMTP id BED1537B729 for ; Wed, 17 May 2000 09:51:40 -0700 (PDT) (envelope-from steve@gort.connection.com) Received: (qmail 1415 invoked by uid 500); 17 May 2000 13:05:39 -0000 Message-ID: <20000517080539.A1358@gort.connection.com> Date: Wed, 17 May 2000 08:05:39 -0500 From: steve@gort.connection.com To: freebsd-questions@freebsd.org Subject: 3.4 kernel compile warnings??? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Howdy! I just compiled a bunch of kernels for different boxen on a 3.4 system and got consistent compiler warnings. I suspect that they are not a problem but I just want to check before I replace the GENERIC kernels that these warnings are typical of correctly configured kernels. The mailling list archives referred to some compile warnings as being present but nothing specific. config issued no warnings and I did a make depend. thanx - steve In file included from ../../kern/init_sysent.c:11: ../../sys/sysent.h:72: warning: `struct vnode' declared inside parameter list ../../sys/sysent.h:72: warning: its scope is only this definition or declaration, ../../sys/sysent.h:72: warning: which is probably not what you want. ../../kern/kern_ntptime.c:542: warning: initialization from incompatible pointer type ../../pci/if_fxp.c: In function `fxp_intr': ../../pci/if_fxp.c:1069: warning: label `getit' defined but not used ../../pci/if_fxp.c:1064: warning: label `dropit' defined but not used ../../i386/i386/identcpu.c: In function `printcpuinfo': ../../i386/i386/identcpu.c:129: warning: `nreg' might be used uninitialized in this function ../../i386/isa/clock.c: In function `calibrate_clocks': ../../i386/isa/clock.c:595: warning: `old_tsc' might be used uninitialized in this function ../../i386/isa/npx.c:126: warning: `timezero' declared `static' but never defined To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message