unable to recompile kernel at AMD64 RC2

Sunnz sunnzy at gmail.com
Thu Jan 4 06:51:40 PST 2007


Did you, by any chance, have tinkered with /etc/make.conf?

2007/1/4, Frank Bonnet <f.bonnet at esiee.fr>:
> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


-- 
sunnz.net - sunnz.com - sunnz.org


More information about the freebsd-questions mailing list