Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jan 2007 12:44:19 +0100
From:      Frank Bonnet <f.bonnet@esiee.fr>
To:        questions@freebsd.org
Subject:   unable to recompile kernel at AMD64 RC2 
Message-ID:  <459CE893.80208@esiee.fr>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?459CE893.80208>