Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2010 00:39:40 -0400
From:      "Mikhail T." <mi+thunw@aldan.algebra.com>
To:        sam@FreeBSD.org
Cc:        stable@FreeBSD.org
Subject:   Can't compile ath(4) into kernel
Message-ID:  <4C749E8C.1020506@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
 My laptop's kernel config file reads:

    device          wlan            # 802.11 support
    device          ath
    device          ath_ar5212
    device          ath_rate_onoe

Config raises no objections and the compilation succeeds, but linking
the kernel breaks:

    ...
    linking kernel.debug
    ah.o(.text+0x218): In function `ath_hal_rfprobe':
    /home/mi/src/sys/dev/ath/ath_hal/ah.c:142: undefined reference to
    `__start_set_ah_rfs'
    ah.o(.text+0x21d):/home/mi/src/sys/dev/ath/ath_hal/ah.c:142:
    undefined reference to `__stop_set_ah_rfs'
    ah.o(.text+0x236):/home/mi/src/sys/dev/ath/ath_hal/ah.c:142:
    undefined reference to `__stop_set_ah_rfs'
    *** Error code 1

What could this be? All modules (including ath_hal) build correctly...
Thank you!

    -mi




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C749E8C.1020506>