Buildworld on current Head revision fails

dinsdale

Member

Reaction score: 6
Messages: 47

Hello,

I am trying to run the following commands:

Code:
svn checkout https://svn0.us-west.FreeBSD.org/base/head /usr/src
cd /usr/src
make TARGET=arm TARGET_ARCH=arm -j10 buildworld
I get the following error:

Code:
--- getifaddrs.So ---
In file included from /usr/src/lib/libc/net/getifaddrs.c:42:
/usr/obj/arm.arm/usr/src/tmp/usr/include/net/route.h:89:21: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
VNET_DECLARE(u_int, rt_add_addr_allfibs); /* Announce interfaces to all fibs */
                    ^~~~~~~~~~~~~~~~~~~
/usr/obj/arm.arm/usr/src/tmp/usr/include/net/route.h:89:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
VNET_DECLARE(u_int, rt_add_addr_allfibs); /* Announce interfaces to all fibs */
^~~~~~~~~~~~
2 errors generated.
*** [getifaddrs.So] Error code 1
I am running this in a FreeBSD 9.3 RELEASE jail. I have had something similar work in a different jail. Any advice would be great.

Dinsdale
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,771
Messages: 30,912

You cannot run a higher version in a jail. The other way around is possible, i.e. running a 9.3-RELEASE jail on a 10.0-RELEASE host.
 

kpa

Beastie's Twin

Reaction score: 1,809
Messages: 6,318

Building of head should be possible on 9.3 but this is crossbuilding if I see correct and for ARM and things are kind of experimental still on that architecture. People on the freebsd-current mailing list should know more.
 
Top