Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2007 01:51:38 +1100
From:      Sunnz <sunnzy@gmail.com>
To:        "Frank Bonnet" <f.bonnet@esiee.fr>
Cc:        questions@freebsd.org
Subject:   Re: unable to recompile kernel at AMD64 RC2
Message-ID:  <b35fa3120701040651g78f06958te0b339f60c9e014a@mail.gmail.com>
In-Reply-To: <459CE893.80208@esiee.fr>
References:  <459CE893.80208@esiee.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
Did you, by any chance, have tinkered with /etc/make.conf?

2007/1/4, Frank Bonnet <f.bonnet@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@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



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