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



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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • /usr/src/sys/dev/en/midway.c:1607: dereferencing pointer to incomplete type
    ... I wanted to get my sound card working so I included the "device pcm" directive in my kernel config and I got an error as below.. ... *** Error code 1 ... Pentium Pro MTRR support enabled ... <Parallel port bus> on ppc0 ...
    (freebsd-questions)
  • Re: buildworld panic on ia64
    ... no, sorry, I was too quick to reboot. ... I tried to reproduce the error, ... If you add "options KDB_TRACE" to your kernel config, ... *** Error code 2 ...
    (freebsd-current)
  • Re: device ath compile in kernel
    ... After adding "device ath" I got compilation errors, ... what exactly do I put in the kernel config when I want to compile ... To compile this driver into the kernel, place the following lines in your ...
    (freebsd-questions)
  • Re: ath buildkernel problem with recent RELENG_6 [Was: Re: buildkernel (zlib module) broken?]
    ... your kernel config is the problem;) You apparently chopped out ... too much when cutting it down from GENERIC. ... "Undefined reference" almost always means "operator provided an ... I missed that ath was added to generic so my 'nodevice wlan' of course ...
    (freebsd-stable)
  • Re: kernel build error (zlib.ko)
    ... export_syms | xargs -J% objcopy % zlib.kld ... *** Error code 2 ... I have both options in the kernel config. ...
    (freebsd-current)