From owner-freebsd-questions@FreeBSD.ORG Thu Jan 4 12:06:17 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 1438116A514 for ; Thu, 4 Jan 2007 12:06:17 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8AA5213C4CD for ; Thu, 4 Jan 2007 12:06:15 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mail.esiee.fr (localhost.esiee.fr [127.0.0.1]) by mail.esiee.fr (Postfix) with SMTP id 99EFF36595C; Thu, 4 Jan 2007 12:44:20 +0100 (CET) Received: from secure.esiee.fr (secure.esiee.fr [147.215.1.19]) by mail.esiee.fr (Postfix) with ESMTP id 6E132365918; Thu, 4 Jan 2007 12:44:20 +0100 (CET) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bonnetf) by secure.esiee.fr (Postfix) with ESMTP id 47B8C398CF; Thu, 4 Jan 2007 12:36:30 +0100 (CET) Message-ID: <459CE893.80208@esiee.fr> Date: Thu, 04 Jan 2007 12:44:19 +0100 From: Frank Bonnet User-Agent: Thunderbird 1.5.0.8 (X11/20061213) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: 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 12:06:17 -0000 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