Cvsup_current fails @ buildkernel
-
Trying to build the latest snapshot on my FreeBSD build machine, and I get the following errors:
#### Building kernel for i386 architecture #### >>> Kernel build for pfSense.6 started on Thu Apr 13 00:48:22 EDT 2006 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything Something went wrong, check errors! Log saved on /home/pfsense/freesbie2/.tmp_buildkernel *** Signal 15 Stop in /home/pfsense/freesbie2.
In .tmp_buildkernel:
cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/src/sys/dev/em/if_em.c /usr/src/sys/dev/em/if_em.c:1162: error: syntax error before "else" /usr/src/sys/dev/em/if_em.c:1070: warning: 'em_intr' defined but not used /usr/src/sys/dev/em/if_em.c:690: warning: 'em_start' defined but not used /usr/src/sys/dev/em/if_em.c:711: warning: 'em_ioctl' defined but not used /usr/src/sys/dev/em/if_em.c:862: warning: 'em_watchdog' defined but not used /usr/src/sys/dev/em/if_em.c:150: warning: 'em_stop' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:1148: warning: 'em_media_status' defined but not used /usr/src/sys/dev/em/if_em.c:152: warning: 'em_media_change' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:153: warning: 'em_identify_hardware' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:154: warning: 'em_allocate_pci_resources' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:155: warning: 'em_free_pci_resources' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:156: warning: 'em_local_timer' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:157: warning: 'em_hardware_init' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:158: warning: 'em_setup_interface' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:159: warning: 'em_setup_transmit_structures' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:160: warning: 'em_initialize_transmit_unit' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:161: warning: 'em_setup_receive_structures' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:162: warning: 'em_initialize_receive_unit' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:163: warning: 'em_enable_intr' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:164: warning: 'em_disable_intr' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:165: warning: 'em_free_transmit_structures' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:166: warning: 'em_free_receive_structures' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:167: warning: 'em_update_stats_counters' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:169: warning: 'em_allocate_receive_structures' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:170: warning: 'em_allocate_transmit_structures' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:174: warning: 'em_receive_checksum' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:178: warning: 'em_transmit_checksum_setup' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:179: warning: 'em_set_promisc' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:181: warning: 'em_set_multi' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:182: warning: 'em_print_hw_stats' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:185: warning: 'em_get_buf' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:186: warning: 'em_enable_vlans' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:187: warning: 'em_disable_vlans' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:188: warning: 'em_encap' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:189: warning: 'em_smartspeed' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:190: warning: 'em_82547_fifo_workaround' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:191: warning: 'em_82547_update_fifo_head' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:192: warning: 'em_82547_tx_fifo_reset' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:193: warning: 'em_82547_move_tail' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:194: warning: 'em_82547_move_tail_locked' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:196: warning: 'em_dma_malloc' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:197: warning: 'em_dma_free' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:198: warning: 'em_print_debug_info' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:199: warning: 'em_is_valid_ether_addr' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:200: warning: 'em_sysctl_stats' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:201: warning: 'em_sysctl_debug_info' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:204: warning: 'em_fill_descriptors' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:205: warning: 'em_sysctl_int_delay' declared `static' but never defined /usr/src/sys/dev/em/if_em.c:208: warning: 'em_add_int_delay_sysctl' declared `static' but never defined *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error
I'm not quite sure what I need to fix to make it work…
Thanks