Solved [Solved] Unable to compile FreeBSD 10.0-RC2

Hi,

I just installed a fresh 10.0-RC2 and did a cvsup standard-superfile and cd /usr/src && make buildworld && make buildkernel && make installkernel.
I got the following error:
Code:
...
...
...
rmat -c /usr/src/sbin/ipf/ipf/../../../contrib/ipfilter/tools/ipf.c
In file included from /usr/src/sbin/ipf/ipf/../../../contrib/ipfilter/tools/ipf.c:17:
In file included from /usr/src/sbin/ipf/ipf/../../../contrib/ipfilter/ipf.h:79:
/usr/src/sbin/ipf/ipf/../../../sys/contrib/ipfilter/netinet/ip_pool.h:34:29: error: array has incomplete
      element type 'struct radix_node'
        struct  radix_node      ipn_nodes[2];
                                         ^
/usr/src/sbin/ipf/ipf/../../../sys/contrib/ipfilter/netinet/ip_pool.h:34:9: note: forward declaration of
      'struct radix_node'
        struct  radix_node      ipn_nodes[2];
                ^
1 error generated.
*** Error code 1

Stop.
make[6]: stopped in /usr/src/sbin/ipf/ipf
*** Error code 1

Stop.
make[5]: stopped in /usr/obj/usr/src/rescue/rescue
*** Error code 1

Stop.
make[4]: stopped in /usr/src/rescue/rescue
*** Error code 1

Stop.
make[3]: stopped in /usr/src/rescue
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
root@ibm4:/usr/src #


root@ibm4:~ # uname -a
FreeBSD ibm4.dc.pccom.ca 10.0-RC2 FreeBSD 10.0-RC2 #0 r259404: Sun Dec 15 11:45:13 UTC 2013     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386
 
Re: Unable to compile FreeBSD 10.0-RC2

CVS has been deprecated. Use SVN instead. Did you install source when you installed FreeBSD-10.0-RC2? From which SVN branch did you update /usr/src? You should pull from base/releng/10.0.

I'd suggest wiping /usr/src (and /usr/obj)completely and doing a full svn checkout (co) from the base/releng/10.0 branch. Then try your source build again.
 
Re: Unable to compile FreeBSD 10.0-RC2

Yup, I was having the same issue when using cvs. It went away when I dumped /usr/src and used svn instead.
 
Re: Unable to compile FreeBSD 10.0-RC2

Code:
...
root@ibm2:/usr/src # svn co https://svn0.us-west.freebsd.org/base/releng/10.0 /usr/src
root@ibm2:/usr/src # make buildworld && make buildkernel && make installkernel 
...
install -o root -g wheel -m 555   zfs.ko /boot/kernel
install -o root -g wheel -m 555   zfs.ko.symbols /boot/kernel
===> zlib (install)
install -o root -g wheel -m 555   zlib.ko /boot/kernel
install -o root -g wheel -m 555   zlib.ko.symbols /boot/kernel
kldxref /boot/kernel
root@ibm2:/usr/src #
...
...
...
root@ibm2:/usr/home/peng # uname -a
FreeBSD ibm2.dc.pccom.ca 10.0-RC2 FreeBSD 10.0-RC2 #0 r259640M: Fri Dec 20 03:46:43 EST 2013     peng@ibm2.dc.pccom.ca:/usr/obj/usr/src/sys/GENERIC  i386

Thank you!
 
Back
Top