FreeBSD 9.0 BETA1 build kernel

From: Ruslan Yakovlev <quazi_at_bk.ru>
Date: Fri, 28 Oct 2011 18:45:17 +0300
Can't make buildkernel

MAKE=make sh /usr/src/sys/conf/newvers.sh tinderbox

cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign 
-fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option 
-nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -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-sse -mno-mmx -msoft-float 
-ffreestanding -fstack-protector -Werror vers.c

linking kernel

nvenetlib.o:(.bss+0x0): multiple definition of `array'

tws_services.o:(.data+0x0): first defined here

ld: Warning: size of symbol `array' changed from 3536 in tws_services.o 
to 400 in nvenetlib.o

*** Error code 1

Stop in /usr/obj/usr/src/sys/tinderkernel.

*** Error code 1

Stop in /usr/src.

*** Error code 1

Stop in /usr/src.



# diff GENERIC tinderkernel

19c19

< # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.553.2.6 2011/10/26 23:05:59 
kensmith Exp $

---

 > # $FreeBSD: stable/9/sys/i386/conf/GENERIC 226405 2011-10-15 
21:23:04Z kensmith $

21,22c21,22

< cpu I486_CPU

< cpu I586_CPU

---

 > #cpu I486_CPU

 > #cpu I586_CPU

24c24

< ident GENERIC

---

 > ident tinderbox

26c26

< makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols

---

 > #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols

67,68d66

< options KDB # Kernel debugger related code

< options KDB_TRACE # Print a stack trace for a panic

222c220

< #device nve # nVidia nForce MCP on-board Ethernet Networking

---

 > device nve # nVidia nForce MCP on-board Ethernet Networking

296c294

< options USB_DEBUG # enable debug msgs

---

 > #options USB_DEBUG # enable debug msgs

305c303

< device ulpt # Printer

---

 > #device ulpt # Printer

308c306

< device urio # Diamond Rio 500 MP3 player

---

 > #device urio # Diamond Rio 500 MP3 player

314c312

< device uipaq # Some WinCE based devices

---

 > #device uipaq # Some WinCE based devices

317c315

< device uvisor # Visor and Palm devices

---

 > #device uvisor # Visor and Palm devices

338,343c336,340

< # sbp(4) works for some systems but causes boot failure on others

< #device sbp # SCSI over FireWire (Requires scbus and da)

< device fwe # Ethernet over FireWire (non-standard!)

< device fwip # IP over FireWire (RFC 2734,3146)

< device dcons # Dumb console driver

< device dcons_crom # Configuration ROM for dcons

---

 > device sbp # SCSI over FireWire (Requires scbus and da)

 > #device fwe # Ethernet over FireWire (non-standard!)

 > #device fwip # IP over FireWire (RFC 2734,3146)

 > #device dcons # Dumb console driver

 > #device dcons_crom # Configuration ROM for dcons

346,351c343,348

< device sound # Generic sound driver (required)

< device snd_es137x # Ensoniq AudioPCI ES137x

< device snd_hda # Intel High Definition Audio

< device snd_ich # Intel, NVidia and other ICH AC'97 Audio

< device snd_uaudio # USB Audio

< device snd_via8233 # VIA VT8233x Audio

---

 > #device sound # Generic sound driver (required)

 > #device snd_es137x # Ensoniq AudioPCI ES137x

 > #device snd_hda # Intel High Definition Audio

 > #device snd_ich # Intel, NVidia and other ICH AC'97 Audio

 > #device snd_uaudio # USB Audio

 > #device snd_via8233 # VIA VT8233x Audio
Received on Fri Oct 28 2011 - 13:52:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC