7.2 to 8.2 buildkernel fails (Suspect ignorance...)

Reid Linnemann lreid at cs.okstate.edu
Thu Nov 10 20:04:44 UTC 2011


On Thu, Nov 10, 2011 at 1:02 PM, Gene <fbsd at brightstar.bomgardner.net> wrote:
> Hi All:
> I attempting to build an 8.2 kernel on a 7.2 machine. I suspect that
> something need to be ipdated first, but don't no exactly what. It says
> "inline functions are not supported; using GNU89". I get the following:
>
> =============================================================
> cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-
> prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -
> Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys -I/
> usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
> opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --
> param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-
> boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -
> fstack-protector -Werror  /usr/src/sys/netinet/tcp_input.c
> cc1: warnings being treated as errors
> /usr/src/sys/netinet/tcp_input.c:385: warning: C99 inline functions are not
> supported; using GNU89
> /usr/src/sys/netinet/tcp_input.c:385: warning: to disable this warning use -
> fgnu89-inline or the gnu_inline function attribute
> *** Error code 1
>
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
>
> =================================================================
>
> Any Ideas?
>
> Thanx,
> Gene
>

To get the basics out of the way, did you make buildworld first?


More information about the freebsd-questions mailing list