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?


-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005

    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC

cpu0: AMD Athlon(tm) Processor ("AuthenticAMD" 686-class) 1.22 GHz

cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR

real mem  = 804802560 (785940K)

avail mem = 727072768 (710032K)

using 4278 buffers containing 40341504 bytes (39396K) of memory

mainbus0 (root)

bios0 at mainbus0: AT/286+(f8) BIOS, date 06/06/01, BIOS32 rev. 0 @ 0xf0f50

apm0 at bios0: Power Management spec V1.2

apm0: AC on, battery charge unknown

pcibios0 at bios0: rev 2.1 @ 0xf0000/0x17d2

pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1720/176 (9 entries)

pcibios0: PCI Interrupt Router at 000:04:0 ("VIA VT82C686 ISA" rev 0x00)

pcibios0: PCI bus #1 is the last bus

bios0: ROM list: 0xc0000/0xa000 0xcc000/0x2000 0xd0000/0x800 0xd4000/0x2000

cpu0 at mainbus0

pci0 at mainbus0 bus 0: configuration mode 1 (no bios)

pchb0 at pci0 dev 0 function 0 "VIA VT8363 Host" rev 0x03

ppb0 at pci0 dev 1 function 0 "VIA VT8363 AGP" rev 0x00

pci1 at ppb0 bus 1

pcib0 at pci0 dev 4 function 0 "VIA VT82C686 ISA" rev 0x40

pciide0 at pci0 dev 4 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100, channel 0 
configured to compatibility, channel 1 configured to compatibility

wd0 at pciide0 channel 0 drive 0: <Maxtor 6L250R0>

wd0: 16-sector PIO, LBA48, 239372MB, 490234752 sectors

atapiscsi0 at pciide0 channel 0 drive 1

scsibus0 at atapiscsi0: 2 targets

cd0 at scsibus0 targ 0 lun 0: <SONY, CD-RW CRX100E, 1.0m> SCSI0 5/cdrom 
removable

wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5

cd0(pciide0:0:1): using PIO mode 4, DMA mode 2

wd1 at pciide0 channel 1 drive 0: <IC35L020AVER07-0>

wd1: 16-sector PIO, LBA, 19623MB, 40188960 sectors

wd2 at pciide0 channel 1 drive 1: <ST320423A>

wd2: 32-sector PIO, LBA, 19536MB, 40011300 sectors

wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5

wd2(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4

uhci0 at pci0 dev 4 function 2 "VIA VT83C572 USB" rev 0x16: irq 9

usb0 at uhci0: USB revision 1.0

uhub0 at usb0

uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1

uhub0: 2 ports with 2 removable, self powered

uhci1 at pci0 dev 4 function 3 "VIA VT83C572 USB" rev 0x16: irq 9

usb1 at uhci1: USB revision 1.0

uhub1 at usb1

uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1

uhub1: 2 ports with 2 removable, self powered

viaenv0 at pci0 dev 4 function 4 "VIA VT82C686 SMBus" rev 0x40: HWM disabled

xl0 at pci0 dev 10 function 0 "3Com 3c905C 100Base-TX" rev 0x78: irq 5, address 
00:04:76:1b:75:12

exphy0 at xl0 phy 24: 3Com internal media interface

"Future Domain TMC-18C30 (36C70)" rev 0x00 at pci0 dev 11 function 0 not 
configured

vga1 at pci0 dev 12 function 0 "3DFX Interactive Voodoo3" rev 0x01

wsdisplay0 at vga1: console (80x25, vt100 emulation)

wsdisplay0: screen 1-5 added (80x25, vt100 emulation)

pciide1 at pci0 dev 17 function 0 "Promise PDC20265" rev 0x02: DMA, channel 0 
configured to native-PCI, channel 1 configured to native-PCI

pciide1: using irq 10 for native-PCI interrupt

wd3 at pciide1 channel 0 drive 0: <IC35L020AVER07-0>

wd3: 16-sector PIO, LBA, 19623MB, 40188960 sectors

wd4 at pciide1 channel 0 drive 1: <ST320423A>

wd4: 32-sector PIO, LBA, 19536MB, 40011300 sectors

wd3(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5

wd4(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 4

pciide1: channel 1 disabled (no drives)

isa0 at pcib0

isadma0 at isa0

pckbc0 at isa0 port 0x60/5

pckbd0 at pckbc0 (kbd slot)

pckbc0: using irq 1 for kbd slot

wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0

pms0 at pckbc0 (aux slot)

pckbc0: using irq 12 for aux slot

wsmouse0 at pms0 mux 0

pcppi0 at isa0 port 0x61

midi0 at pcppi0: <PC speaker>

sysbeep0 at pcppi0

lpt0 at isa0 port 0x378/4 irq 7

npx0 at isa0 port 0xf0/16: using exception 16

pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo

pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo

fdc0 at isa0 port 0x3f0/6 irq 6 drq 2

fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec

biomask ef45 netmask ef65 ttymask ffe7

pctr: user-level cycle counter enabled

mtrr: Pentium Pro MTRR support

uhidev0 at uhub0 port 1 configuration 1 interface 0

uhidev0: APC Back-UPS ES 725 FW:802.n2.D USB FW:n2, rev 1.10/1.06, addr 2, 
iclass 3/0

uhidev0: 123 report ids

uhid0 at uhidev0 reportid 1: input=0, output=0, feature=1

uhid1 at uhidev0 reportid 2: input=0, output=0, feature=1

uhid2 at uhidev0 reportid 3: input=0, output=0, feature=1

uhid3 at uhidev0 reportid 4: input=0, output=0, feature=1

uhid4 at uhidev0 reportid 5: input=0, output=0, feature=1

uhid5 at uhidev0 reportid 6: input=1, output=0, feature=1

uhid6 at uhidev0 reportid 7: input=0, output=0, feature=2

uhid7 at uhidev0 reportid 8: input=0, output=0, feature=2

uhid8 at uhidev0 reportid 9: input=0, output=0, feature=2

uhid9 at uhidev0 reportid 10: input=0, output=0, feature=1

uhid10 at uhidev0 reportid 11: input=0, output=0, feature=1

uhid11 at uhidev0 reportid 12: input=3, output=0, feature=3

uhid12 at uhidev0 reportid 13: input=0, output=0, feature=1

uhid13 at uhidev0 reportid 14: input=0, output=0, feature=1

uhid14 at uhidev0 reportid 15: input=0, output=0, feature=1

uhid15 at uhidev0 reportid 16: input=0, output=0, feature=1

uhid16 at uhidev0 reportid 17: input=0, output=0, feature=1

uhid17 at uhidev0 reportid 18: input=0, output=0, feature=1

uhid18 at uhidev0 reportid 22: input=4, output=0, feature=4

uhid19 at uhidev0 reportid 23: input=0, output=0, feature=2

uhid20 at uhidev0 reportid 24: input=0, output=0, feature=1

uhid21 at uhidev0 reportid 28: input=0, output=0, feature=3

uhid22 at uhidev0 reportid 32: input=0, output=0, feature=2

uhid23 at uhidev0 reportid 34: input=0, output=0, feature=1

uhid24 at uhidev0 reportid 35: input=0, output=0, feature=2

uhid25 at uhidev0 reportid 36: input=0, output=0, feature=2

uhid26 at uhidev0 reportid 37: input=0, output=0, feature=2

uhid27 at uhidev0 reportid 38: input=0, output=0, feature=2

uhid28 at uhidev0 reportid 39: input=0, output=0, feature=1

uhid29 at uhidev0 reportid 40: input=0, output=0, feature=4

uhid30 at uhidev0 reportid 48: input=0, output=0, feature=1

uhid31 at uhidev0 reportid 49: input=0, output=0, feature=1

uhid32 at uhidev0 reportid 50: input=0, output=0, feature=1

uhid33 at uhidev0 reportid 51: input=0, output=0, feature=1

uhid34 at uhidev0 reportid 52: input=0, output=0, feature=1

uhid35 at uhidev0 reportid 53: input=0, output=0, feature=1

uhid36 at uhidev0 reportid 54: input=0, output=0, feature=1

uhid37 at uhidev0 reportid 64: input=0, output=0, feature=1

uhid38 at uhidev0 reportid 65: input=0, output=0, feature=2

uhid39 at uhidev0 reportid 80: input=0, output=0, feature=1

uhid40 at uhidev0 reportid 81: input=0, output=0, feature=1

uhid41 at uhidev0 reportid 96: input=0, output=0, feature=2

uhid42 at uhidev0 reportid 97: input=0, output=0, feature=1

uhid43 at uhidev0 reportid 98: input=0, output=0, feature=4

uhid44 at uhidev0 reportid 120: input=0, output=0, feature=1

uhid45 at uhidev0 reportid 121: input=0, output=0, feature=1

uhid46 at uhidev0 reportid 122: input=0, output=0, feature=4

uhid47 at uhidev0 reportid 123: input=0, output=0, feature=2

dkcsum: wd0 matched BIOS disk 80

wd1: no disk label

dkcsum: wd1 matched BIOS disk 81

wd2: no disk label

dkcsum: wd2 matched BIOS disk 82

wd3: no disk label

dkcsum: wd3 matched BIOS disk 83

wd4: no disk label

dkcsum: wd4 matched BIOS disk 84

root on wd0a

rootdev=0x0 rrootdev=0x300 rawdev=0x302

WARNING: / was not properly unmounted


[demime 1.01d removed an attachment of type application/x-shellscript which had 
a name of build-kernel.sh]

Reply via email to