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> wrot=
e:
> 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:
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> cc -c -O -pipe =A0-std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs =
-Wstrict-
> prototypes =A0-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =
=A0-
> Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =A0-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=3D8000 --param inline-unit-growth=
=3D100 --
> param large-function-growth=3D1000 =A0-mno-align-long-strings -mpreferred=
-stack-
> boundary=3D2 =A0-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreest=
anding -
> fstack-protector -Werror =A0/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 n=
ot
> supported; using GNU89
> /usr/src/sys/netinet/tcp_input.c:385: warning: to disable this warning us=
e -
> 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.
>
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> 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>