From owner-freebsd-questions@FreeBSD.ORG Thu Jan 4 14:51:40 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 119D216A415 for ; Thu, 4 Jan 2007 14:51:40 +0000 (UTC) (envelope-from sunnzy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id A0BE713C45E for ; Thu, 4 Jan 2007 14:51:39 +0000 (UTC) (envelope-from sunnzy@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so4846369uge for ; Thu, 04 Jan 2007 06:51:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cKHqxvtcm/0qWV9X85kVzLFjFbveeRbPDj7WBJ6/4hGMo1IdgQ5Uv1PSLay1FHFmPNzMqNdNSp5qiaD06sZA37NHAH7LLCYliYvABAV66Tvz5F/GMrmEbKjLsBWwVUbu7rQg9H1mIWCUET8aZnTHPZ5rQqLVTBfZtlC6Mu5C8U8= Received: by 10.66.250.17 with SMTP id x17mr12488821ugh.1167922298630; Thu, 04 Jan 2007 06:51:38 -0800 (PST) Received: by 10.67.118.4 with HTTP; Thu, 4 Jan 2007 06:51:38 -0800 (PST) Message-ID: Date: Fri, 5 Jan 2007 01:51:38 +1100 From: Sunnz To: "Frank Bonnet" In-Reply-To: <459CE893.80208@esiee.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <459CE893.80208@esiee.fr> Cc: questions@freebsd.org Subject: Re: unable to recompile kernel at AMD64 RC2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2007 14:51:40 -0000 Did you, by any chance, have tinkered with /etc/make.conf? 2007/1/4, Frank Bonnet : > Hello > > I've just installed AMD64 RC2 on a IBM X3650 bi-procs > > I wanted to recompile the kernel to add the SMP option > then it failed , see errors below. > > > mail2# make depend > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I../../.. > -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf > -I../../../dev/ath -I../../../contrib/ngatm -I../../../dev/twa -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param > inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=kernel -mno-red-zone > -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float > -fno-asynchronous-unwind-tables -ffreestanding ../../../amd64/amd64/genassym.c > In file included from ../../../sys/systm.h:42, > from ../../../amd64/amd64/genassym.c:42: > ./machine/cpufunc.h: In function `invlpg': > ./machine/cpufunc.h:448: warning: cast to pointer from integer of different size > In file included from ../../../sys/proc.h:53, > from ../../../sys/buf.h:253, > from ../../../amd64/amd64/genassym.c:45: > ../../../sys/signal.h: At top level: > ../../../sys/signal.h:304: error: redefinition of `struct osigcontext' > In file included from ../../../amd64/amd64/genassym.c:45: > ../../../sys/buf.h: In function `BUF_LOCK': > ../../../sys/buf.h:272: warning: cast from pointer to integer of different size > ../../../sys/buf.h: In function `BUF_TIMELOCK': > ../../../sys/buf.h:292: warning: cast from pointer to integer of different size > In file included from ../../../amd64/amd64/genassym.c:69: > ./machine/sigframe.h: At top level: > ./machine/sigframe.h:66: error: syntax error before "__osiginfohandler_t" > ./machine/sigframe.h:71: error: syntax error before "osiginfo_t" > ./machine/sigframe.h:86: error: field `sf_uc' has incomplete type > ../../../amd64/amd64/genassym.c:93: error: `addr_PTmap' undeclared here (not in a function) > ../../../amd64/amd64/genassym.c:94: error: `addr_PDmap' undeclared here (not in a function) > ../../../amd64/amd64/genassym.c:95: error: `addr_PDPmap' undeclared here (not in a function) > > etc etc > > > > TIA > -- > Frank Bonnet > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- sunnz.net - sunnz.com - sunnz.org