Problem building world and ubldr for beaglebone
Tim Kientzle
tim at kientzle.com
Sat Jun 30 17:45:48 UTC 2012
On Jun 30, 2012, at 9:23 AM, David Kalliecharan wrote:
> Hi Everyone,
>
> 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.
>
> Versions:
> FreeBSD-CURRENT - stock build 2012/June/28
> freebsd-beaglebone.git - commit 72178b8c837f5ef4b733016ae3d152c1fec6e912
> u-boot - commit 2e3792957c948024ec99815539c71c612871eed4
> armv6 - r237535
>
> 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/stdlib.h:
> At top level:
> /usr/home/davidk/freebsd-beaglebone/src-armv6/lib/libc/../../include/stdlib.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
>
> Stop in /usr/home/davidk/freebsd-beaglebone/src-armv6/lib/libc.
> *** [lib/libc__L] Error code 1
>
> Stop in /usr/home/davidk/freebsd-beaglebone/src-armv6.
> *** [libraries] Error code 1
>
> Stop in /usr/home/davidk/freebsd-beaglebone/src-armv6.
> *** [_libraries] Error code 1
>
> Stop in /usr/home/davidk/freebsd-beaglebone/src-armv6.
> *** [buildworld] Error code 1
>
> 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.
>
> $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
More information about the freebsd-arm
mailing list