Have you installed the misc file set?
Paolo
Rene Rivera ha scritto:
After switching back to OpenBSD, from Linux, and installing a fresh new
install I can't compile the kernel to get the latests patches. (And I
need to to enable raidframe support) If fails with this:
cc -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wno-uninitialized -Wno-format -Wno-main -fno-builtin-printf
-fno-builtin-log -O2 -pipe -nostdinc -I.
-I/usr/src/sys/arch/i386/compile/GENERIC/../../../../arch
-I/usr/src/sys/arch/i386/compile/GENERIC/../../../.. -DDDB -DDIAGNOSTIC
-DKTRACE -DACCOUNTING -DKMEMSTATS -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM
-DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMPAT_35 -DCOMPAT_43 -DLKM -DFFS
-DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA -DEXT2FS -DMFS -DXFS -DTCP_SACK
-DTCP_ECN -DTCP_SIGNATURE -DNFSCLIENT -DNFSSERVER -DCD9660 -DMSDOSFS
-DFDESC -DFIFO -DPORTAL -DPROCFS -DINET -DALTQ -DINET6 -DIPSEC
-DPPP_BSDCOMP -DPPP_DEFLATE -DBOOT_CONFIG -DI386_CPU -DI486_CPU
-DI586_CPU -DI686_CPU -DUSER_PCICONF -DUSER_LDT -DAPERTURE -DCOMPAT_SVR4
-DCOMPAT_IBCS2 -DCOMPAT_LINUX -DCOMPAT_FREEBSD -DCOMPAT_BSDOS
-DCOMPAT_AOUT -DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE
-DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD
-DWSDISPLAY_DEFAULTSCREENS="6" -DWSDISPLAY_COMPAT_PCVT -DPCIAGP
-D_KERNEL -Di386 -c
/usr/src/sys/arch/i386/compile/GENERIC/../../../../dev/pci/if_em_hw.c
/usr/src/sys/dev/pci/if_em_hw.c:5243:1: unterminated argument list
invoking macro "E1000_WRITE_REG_IO"
/usr/src/sys/dev/pci/if_em_hw.c: In function `em_reset_hw':
/usr/src/sys/dev/pci/if_em_hw.c:429: error: syntax error at end of input
/usr/src/sys/dev/pci/if_em_hw.c:373: warning: unused variable `led_ctrl'
/usr/src/sys/dev/pci/if_em_hw.c:372: warning: unused variable `manc'
/usr/src/sys/dev/pci/if_em_hw.c:371: warning: unused variable `icr'
/usr/src/sys/dev/pci/if_em_hw.c:370: warning: unused variable `ctrl_ext'
/usr/src/sys/dev/pci/if_em_hw.c:140: warning: `em_set_phy_type' defined
but not used
/usr/src/sys/dev/pci/if_em_hw.c:174: warning: `em_phy_init_script'
defined but not used
/usr/src/sys/dev/pci/if_em_hw.c:87: warning: `em_setup_copper_link'
declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:88: warning:
`em_setup_fiber_serdes_link' declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:89: warning:
`em_adjust_serdes_amplitude' declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:90: warning: `em_phy_force_speed_duplex'
declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:91: warning: `em_config_mac_to_phy'
declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:92: warning: `em_raise_mdi_clk' declared
`static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:93: warning: `em_lower_mdi_clk' declared
`static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:95: warning: `em_shift_out_mdi_bits'
declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:96: warning: `em_shift_in_mdi_bits'
declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:97: warning: `em_phy_reset_dsp' declared
`static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:99: warning: `em_write_eeprom_spi'
declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:102: warning:
`em_write_eeprom_microwire' declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:103: warning: `em_spi_eeprom_ready'
declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:104: warning: `em_raise_ee_clk' declared
`static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:105: warning: `em_lower_ee_clk' declared
`static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:107: warning: `em_shift_out_ee_bits'
declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:109: warning: `em_write_phy_reg_ex'
declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:111: warning: `em_read_phy_reg_ex'
declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:112: warning: `em_shift_in_ee_bits'
declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:113: warning: `em_acquire_eeprom'
declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:114: warning: `em_release_eeprom'
declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:115: warning: `em_standby_eeprom'
declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:116: warning: `em_id_led_init' declared
`static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:117: warning: `em_set_vco_speed'
declared `static' but never defined
/usr/src/sys/dev/pci/if_em_hw.c:118: warning: `em_set_phy_mode' declared
`static' but never defined
*** Error code 1
Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 2477 of Makefile).
See dmesg, and the script used to do the build atached. The GENERIC
configuration is *not* modified in any way. Now I can't think that this
would not be tested. So it leads me to beleive it's something on my end.
Any clues on how I can get the compile to work?
--
=================================
Paolo Perrucci
Program Manager
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Ludonet S.p.A.
www.ludonet.org
EUTELIA
Via G.V. Bona, 67
00156 (GRA Tiburtina) ROMA ITALIA
telefono +39 06.41797.205
fax +39 06.41797.898
=================================