Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2011 13:36:54 -0600
From:      Reid Linnemann <lreid@cs.okstate.edu>
To:        Gene <fbsd@brightstar.bomgardner.net>
Cc:        Freebsd Questions <FreeBSD-questions@freebsd.org>
Subject:   Re: 7.2 to 8.2 buildkernel fails (Suspect ignorance...)
Message-ID:  <CA%2B0MdpMjoexnZMa5t-9Tg-fyr0wLvqq14WkYQtS0%2BhARzrobyA@mail.gmail.com>
In-Reply-To: <20111110185804.M26514@brightstar.bomgardner.net>
References:  <20111110185804.M26514@brightstar.bomgardner.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, Nov 10, 2011 at 1:02 PM, Gene <fbsd@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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B0MdpMjoexnZMa5t-9Tg-fyr0wLvqq14WkYQtS0%2BhARzrobyA>