Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2012 10:45:40 -0700
From:      Tim Kientzle <tim@kientzle.com>
To:        David Kalliecharan <davidkallie@gmail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Problem building world and ubldr for beaglebone
Message-ID:  <F248312B-9C95-4E95-A07C-C01A0CD6C733@kientzle.com>
In-Reply-To: <CABHk%2BDka4Je=rGfP92Y9BjhRnWc_RH%2BTFMzjK%2BQnVq1YBPawsw@mail.gmail.com>
References:  <CABHk%2BDka4Je=rGfP92Y9BjhRnWc_RH%2BTFMzjK%2BQnVq1YBPawsw@mail.gmail.com>

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

On Jun 30, 2012, at 9:23 AM, David Kalliecharan wrote:

> Hi Everyone,
>=20
> I have been trying to build the BeagleBone with the git repository
> freebsd-beaglebone.git but I have come into some issues with
> buildkernel, buildworld and ubldr seem to fail and I am not sure how
> to solve this.
>=20
> Versions:
> FreeBSD-CURRENT - stock build 2012/June/28
> freebsd-beaglebone.git - commit =
72178b8c837f5ef4b733016ae3d152c1fec6e912
> u-boot - commit 2e3792957c948024ec99815539c71c612871eed4
> armv6 - r237535
>=20
> Output:
> $ tail _.buildkernel.log

Since buildkernel relies on tools compiled during buildworld, let's
focus on buildworld first.

> $ tail _.buildworld.log
> c1: warnings being treated as errors
> /usr/home/davidk/freebsd-beaglebone/src-armv6/lib/libc/net/nsparser.y:
> In function '_nsaddsrctomap':
> =
/usr/home/davidk/freebsd-beaglebone/src-armv6/lib/libc/net/nsparser.y:169:=

> warning: implicit declaration of function 'free'
> In file included from nsparser.c:398:
> =
/usr/home/davidk/freebsd-beaglebone/src-armv6/lib/libc/../../include/stdli=
b.h:
> At top level:
> =
/usr/home/davidk/freebsd-beaglebone/src-armv6/lib/libc/../../include/stdli=
b.h:93:
> warning: conflicting types for 'free'
> =
/usr/home/davidk/freebsd-beaglebone/src-armv6/lib/libc/net/nsparser.y:169:=

> warning: previous implicit declaration of 'free' was here
> *** [nsparser.o] Error code 1
>=20
> Stop in /usr/home/davidk/freebsd-beaglebone/src-armv6/lib/libc.
> *** [lib/libc__L] Error code 1
>=20
> Stop in /usr/home/davidk/freebsd-beaglebone/src-armv6.
> *** [libraries] Error code 1
>=20
> Stop in /usr/home/davidk/freebsd-beaglebone/src-armv6.
> *** [_libraries] Error code 1
>=20
> Stop in /usr/home/davidk/freebsd-beaglebone/src-armv6.
> *** [buildworld] Error code 1
>=20
> Stop in /usr/home/davidk/freebsd-beaglebone/src-armv6.

This looks like more fallout from the recent yacc change in
FreeBSD-CURRENT.    Take a look at r235767 in -CURRENT;
looks like that might need to be merged to armv6.

>=20
> $tail _.ubldr.build.log

You didn't provide quite enough context here; it looks like the
error was shortly before the log piece you quoted.

Tim




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F248312B-9C95-4E95-A07C-C01A0CD6C733>