ath buildkernel problem with recent RELENG_6 [Was: Re: buildkernel (zlib module) broken?]

2007-01-28 Thread Harald Schmalzbauer
Am Sonntag, 28. Januar 2007 23:17 schrieb Kris Kennaway:
 On Sun, Jan 28, 2007 at 10:12:26PM +0100, Harald Schmalzbauer wrote:
  Hello,
 
  I don't understand this error:
  === zlib (all)
[...]
  1 error
  *** Error code 2
 
  Any hints?

 Rerun make without -j and discover the real error which was some
 distance back in the interleaved output from your parallel make
 command.

Ahh, ok, sorry, it's my first SMP system so I'm not used to this parallel 
build stuff...

ath seems to be the problem:
MAKE=/FlashBSD/obj/i686/FlashBSD/src/make.i386/make 
sh /FlashBSD/src/sys/conf/newvers.sh CUV-LV
cc -c -O -pipe -march=pentium3 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/FlashBSD/src/sys 
-I/FlashBSD/src/sys/contrib/altq -I/FlashBSD/src/sys/contrib/ipfilter 
-I/FlashBSD/src/sys/contrib/pf -I/FlashBSD/src/sys/dev/ath 
-I/FlashBSD/src/sys/contrib/ngatm -I/FlashBSD/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  
vers.c
linking kernel.debug
sample.o(.text+0x1a3a): In function `ath_rate_newstate':
/FlashBSD/src/sys/dev/ath/ath_rate/sample/sample.c:803: undefined reference to 
`ieee80211_iterate_nodes'
if_ath.o(.text+0x53c): In function `ath_attach':
/FlashBSD/src/sys/dev/ath/if_ath.c:417: undefined reference to 
`ieee80211_wme_acnames'
if_ath.o(.text+0xb92):/FlashBSD/src/sys/dev/ath/if_ath.c:599: undefined 
reference to `ieee80211_ifattach'
if_ath.o(.text+0xc3e):/FlashBSD/src/sys/dev/ath/if_ath.c:617: undefined 
reference to `ieee80211_media_status'
if_ath.o(.text+0xc4e):/FlashBSD/src/sys/dev/ath/if_ath.c:617: undefined 
reference to `ieee80211_media_init'
if_ath.o(.text+0xc72):/FlashBSD/src/sys/dev/ath/if_ath.c:627: undefined 
reference to `ieee80211_announce'
if_ath.o(.text+0xcf7): In function `ath_detach':
/FlashBSD/src/sys/dev/ath/if_ath.c:664: undefined reference to 
`ieee80211_ifdetach'
if_ath.o(.text+0x11af): In function `ath_bmiss_proc':
/FlashBSD/src/sys/dev/ath/if_ath.c:877: undefined reference to 
`ieee80211_beacon_miss'
if_ath.o(.text+0x1239): In function `ath_mapchan':
/FlashBSD/src/sys/dev/ath/if_ath.c:903: undefined reference to 
`ieee80211_chan2mode'
if_ath.o(.text+0x1fef): In function `ath_start':
/FlashBSD/src/sys/dev/ath/if_ath.c:1205: undefined reference to 
`ieee80211_find_txnode'
if_ath.o(.text+0x2025):/FlashBSD/src/sys/dev/ath/if_ath.c:1218: undefined 
reference to `ieee80211_pwrsave'
if_ath.o(.text+0x2042):/FlashBSD/src/sys/dev/ath/if_ath.c:1222: undefined 
reference to `ieee80211_classify'
if_ath.o(.text+0x2092):/FlashBSD/src/sys/dev/ath/if_ath.c:1234: undefined 
reference to `ieee80211_encap'
if_ath.o(.text+0x21d1):/FlashBSD/src/sys/dev/ath/if_ath.c:1280: undefined 
reference to `ieee80211_free_node'
if_ath.o(.text+0x220e): In function `ath_media_change':
/FlashBSD/src/sys/dev/ath/if_ath.c:1296: undefined reference to 
`ieee80211_media_change'
if_ath.o(.text+0x3016): In function `ath_beacon_alloc':
/FlashBSD/src/sys/dev/ath/if_ath.c:1987: undefined reference to 
`ieee80211_beacon_alloc'
if_ath.o(.text+0x336e): In function `ath_beacon_proc':
/FlashBSD/src/sys/dev/ath/if_ath.c:2155: undefined reference to 
`ieee80211_beacon_update'
if_ath.o(.text+0x374f): In function `ath_beacon_free':
/FlashBSD/src/sys/dev/ath/if_ath.c:2289: undefined reference to 
`ieee80211_free_node'
if_ath.o(.text+0x3ef2): In function `ath_descdma_cleanup':
/FlashBSD/src/sys/dev/ath/if_ath.c:2624: undefined reference to 
`ieee80211_free_node'
if_ath.o(.text+0x412b): In function `ath_node_alloc':
/FlashBSD/src/sys/dev/ath/if_ath.c:2680: undefined reference to `M_80211_NODE'
if_ath.o(.text+0x44bc): In function `ath_recv_mgmt':
/FlashBSD/src/sys/dev/ath/if_ath.c:2858: undefined reference to 
`ieee80211_ibss_merge'
if_ath.o(.text+0x48ea): In function `ath_rx_proc':
/FlashBSD/src/sys/dev/ath/if_ath.c:3036: undefined reference to 
`ieee80211_notify_michael_failure'
if_ath.o(.text+0x4a87):/FlashBSD/src/sys/dev/ath/if_ath.c:3100: undefined 
reference to `ieee80211_dump_pkt'
if_ath.o(.text+0x4ac7):/FlashBSD/src/sys/dev/ath/if_ath.c:3112: undefined 
reference to `ieee80211_find_rxnode_withkey'
if_ath.o(.text+0x4b82):/FlashBSD/src/sys/dev/ath/if_ath.c:3125: undefined 
reference to `ieee80211_input'
if_ath.o(.text+0x4b8d):/FlashBSD/src/sys/dev/ath/if_ath.c:3126: undefined 
reference to `ieee80211_free_node'
if_ath.o(.text+0x4fb4): In function `ath_txq_update':
/FlashBSD/src/sys/dev/ath/if_ath.c:3286: undefined reference to 
`ieee80211_wme_acnames'
if_ath.o(.text+0x57c0): In function `ath_tx_start':
/FlashBSD/src/sys/dev/ath/if_ath.c:3598: undefined reference to 
`ieee80211_crypto_encap'
if_ath.o(.text+0x5814):/FlashBSD/src/sys/dev/ath/if_ath.c:3626: 

Re: ath buildkernel problem with recent RELENG_6 [Was: Re: buildkernel (zlib module) broken?]

2007-01-28 Thread Kris Kennaway
On Mon, Jan 29, 2007 at 01:02:32AM +0100, Harald Schmalzbauer wrote:
 Am Sonntag, 28. Januar 2007 23:17 schrieb Kris Kennaway:
  On Sun, Jan 28, 2007 at 10:12:26PM +0100, Harald Schmalzbauer wrote:
   Hello,
  
   I don't understand this error:
   === zlib (all)
 [...]
   1 error
   *** Error code 2
  
   Any hints?
 
  Rerun make without -j and discover the real error which was some
  distance back in the interleaved output from your parallel make
  command.
 
 Ahh, ok, sorry, it's my first SMP system so I'm not used to this parallel 
 build stuff...
 
 ath seems to be the problem:

No, your kernel config is the problem ;) You apparently chopped out
too much when cutting it down from GENERIC.

 /FlashBSD/src/sys/dev/ath/if_ath.c:417: undefined reference to 
 `ieee80211_wme_acnames'

Undefined reference almost always means operator provided an
incomplete kernel config file.

Kris


pgpwC97IBmhiv.pgp
Description: PGP signature


Re: ath buildkernel problem with recent RELENG_6 [Was: Re: buildkernel (zlib module) broken?]

2007-01-28 Thread Sam Leffler
Kris Kennaway wrote:
 On Mon, Jan 29, 2007 at 01:02:32AM +0100, Harald Schmalzbauer wrote:
 Am Sonntag, 28. Januar 2007 23:17 schrieb Kris Kennaway:
 On Sun, Jan 28, 2007 at 10:12:26PM +0100, Harald Schmalzbauer wrote:
 Hello,

 I don't understand this error:
 === zlib (all)
 [...]
 1 error
 *** Error code 2

 Any hints?
 Rerun make without -j and discover the real error which was some
 distance back in the interleaved output from your parallel make
 command.
 Ahh, ok, sorry, it's my first SMP system so I'm not used to this parallel 
 build stuff...

 ath seems to be the problem:
 
 No, your kernel config is the problem ;) You apparently chopped out
 too much when cutting it down from GENERIC.
 
 /FlashBSD/src/sys/dev/ath/if_ath.c:417: undefined reference to 
 `ieee80211_wme_acnames'
 
 Undefined reference almost always means operator provided an
 incomplete kernel config file.

man ath shows:

  To compile this driver into the kernel, place the following lines in your
  kernel configuration file:
 
device ath
device ath_hal
device ath_rate_sample
device wlan
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ath buildkernel problem with recent RELENG_6 [Was: Re: buildkernel (zlib module) broken?]

2007-01-28 Thread Harald Schmalzbauer
Am Sun, 28 Jan 2007 19:09:02 -0800
schrieb Sam Leffler [EMAIL PROTECTED]:

 Kris Kennaway wrote:
  On Mon, Jan 29, 2007 at 01:02:32AM +0100, Harald Schmalzbauer wrote:
[...]
  ath seems to be the problem:
  
  No, your kernel config is the problem ;) You apparently chopped out
  too much when cutting it down from GENERIC.
  
  /FlashBSD/src/sys/dev/ath/if_ath.c:417: undefined reference to 
  `ieee80211_wme_acnames'
  
  Undefined reference almost always means operator provided an
  incomplete kernel config file.
 
 man ath shows:
 

Sorry, my stupid ;)
I missed that ath was added to generic so my 'nodevice wlan' of course
can't work with new GENERIC.

Sorry for the noise,

-Harry
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]