From owner-freebsd-current Wed Dec 23 08:26:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA05795 for freebsd-current-outgoing; Wed, 23 Dec 1998 08:25:55 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA05790 for ; Wed, 23 Dec 1998 08:25:53 -0800 (PST) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with ESMTP id LAA02257; Wed, 23 Dec 1998 11:29:14 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Wed, 23 Dec 1998 11:29:14 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: Ken McKittrick cc: freebsd-current@freebsd.org Subject: Re: Problems compiling kernel for 3.0-19980804-SNAP system In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@freebsd.org Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 23 Dec 1998, Ken McKittrick wrote: > Hello > > I'm trying to patch a production machine running 3.0-19980804-SNAP with and > SMP kernel. The system has not been upgraded since then. The last time I > recompiled the kernel was Sep 5th. > > I have the source tree from 3.0-19980804-SNAP installed in /usr/src. > > I'm getting the following error. > > Kernel build directory is ../../compile/SMP-JANUS > janus# cd ../../compile/SMP-JANUS > janus# make depend > cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wuninitializ > ed -Wformat -fformat-extensions -ansi -nostdinc -I- -I. -I../.. > -I../../../inc > lude -DKERNEL -include opt_global.h -UKERNEL ../../i386/i386/genassym.c > cc1: Invalid option `-fformat-extensions' > *** Error code 1 > > What do I look for to make this work? > I think you have /usr/local/bin in your path before /usr/bin and therefore are running egcs. check which cc you are using and fix your path. Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com -- There are operating systems, and then there's FreeBSD. -- http://www.freebsd.org/ 3.0-current > Ken > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message