Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 1998 11:29:14 -0500 (EST)
From:      Alfred Perlstein <bright@hotjobs.com>
To:        Ken McKittrick <klmac@baldcom.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Problems compiling kernel for 3.0-19980804-SNAP system
Message-ID:  <Pine.BSF.4.05.9812231124050.2148-100000@bright.fx.genx.net>
In-Reply-To: <l0313030cb2a6bbecfffc@[10.0.1.82]>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9812231124050.2148-100000>