Bug #549

Compiling 1.8-RELEASE on 1.6.x

Added by elekktretterr over 7 years ago. Updated over 7 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

What Ive done is cvsup the source for 1.8, cd /usr/src then make clean.
then make buildworld and make installworld. Then make buildkernel
KERNCONF=SMP and I get this error:

linking kernel.debug
if_rum.o(.text+0x3ef): In function `rum_attach':
/usr/src/sys/dev/netif/rum/if_rum.c:328: undefined reference to
`ieee80211_ieee2mhz'
if_rum.o(.text+0x41e):/usr/src/sys/dev/netif/rum/if_rum.c:333: undefined
reference to `ieee80211_ieee2mhz'
if_rum.o(.text+0x44d):/usr/src/sys/dev/netif/rum/if_rum.c:338: undefined
reference to `ieee80211_ieee2mhz'
if_rum.o(.text+0x47f):/usr/src/sys/dev/netif/rum/if_rum.c:343: undefined
reference to `ieee80211_ieee2mhz'
if_rum.o(.text+0x509):/usr/src/sys/dev/netif/rum/if_rum.c:355: undefined
reference to `ieee80211_ieee2mhz'
if_rum.o(.text+0x5e0):/usr/src/sys/dev/netif/rum/if_rum.c:382: undefined
reference to `ieee80211_ifattach'
if_rum.o(.text+0x608):/usr/src/sys/dev/netif/rum/if_rum.c:390: undefined
reference to `ieee80211_media_status'
if_rum.o(.text+0x618):/usr/src/sys/dev/netif/rum/if_rum.c:390: undefined
reference to `ieee80211_media_init'
if_rum.o(.text+0x68b):/usr/src/sys/dev/netif/rum/if_rum.c:405: undefined
reference to `ieee80211_announce'
if_rum.o(.text+0x722): In function `rum_detach':
/usr/src/sys/dev/netif/rum/if_rum.c:432: undefined reference to
`ieee80211_ifdetach'
if_rum.o(.text+0x8cb): In function `rum_free_tx_list':
/usr/src/sys/dev/netif/rum/if_rum.c:513: undefined reference to
`ieee80211_free_node'
if_rum.o(.text+0xa6e): In function `rum_media_change':
/usr/src/sys/dev/netif/rum/if_rum.c:589: undefined reference to
`ieee80211_media_change'
if_rum.o(.text+0xac3): In function `rum_next_scan':
/usr/src/sys/dev/netif/rum/if_rum.c:613: undefined reference to
`ieee80211_next_scan'
if_rum.o(.text+0xb0e): In function `rum_task':
/usr/src/sys/dev/netif/rum/if_rum.c:630: undefined reference to
`ieee80211_ratectl_newstate'
if_rum.o(.text+0xe9b): In function `rum_txeof':
/usr/src/sys/dev/netif/rum/if_rum.c:758: undefined reference to
`ieee80211_free_node'
if_rum.o(.text+0x10bb): In function `rum_rxeof':
/usr/src/sys/dev/netif/rum/if_rum.c:858: undefined reference to
`ieee80211_find_rxnode'
if_rum.o(.text+0x10e7):/usr/src/sys/dev/netif/rum/if_rum.c:861:
undefined reference to `ieee80211_input'
if_rum.o(.text+0x10f2):/usr/src/sys/dev/netif/rum/if_rum.c:864:
undefined reference to `ieee80211_free_node'
if_rum.o(.text+0x145b): In function `rum_tx_data':
/usr/src/sys/dev/netif/rum/if_rum.c:1067: undefined reference to
`ieee80211_crypto_encap'
if_rum.o(.text+0x17ee): In function `rum_start':
/usr/src/sys/dev/netif/rum/if_rum.c:1207: undefined reference to
`ieee80211_find_txnode'
if_rum.o(.text+0x1829):/usr/src/sys/dev/netif/rum/if_rum.c:1215:
undefined reference to `ieee80211_encap'
if_rum.o(.text+0x1871):/usr/src/sys/dev/netif/rum/if_rum.c:1224:
undefined reference to `ieee80211_free_node'
if_rum.o(.text+0x18f6): In function `rum_watchdog':
/usr/src/sys/dev/netif/rum/if_rum.c:1254: undefined reference to
`ieee80211_watchdog'
if_rum.o(.text+0x1970): In function `rum_ioctl':
/usr/src/sys/dev/netif/rum/if_rum.c:1283: undefined reference to
`ieee80211_ioctl'
if_rum.o(.text+0x2161): In function `rum_set_chan':
/usr/src/sys/dev/netif/rum/if_rum.c:1596: undefined reference to
`ieee80211_chan2ieee'
if_rum.o(.text+0x2f6c): In function `rum_prepare_beacon':
/usr/src/sys/dev/netif/rum/if_rum.c:2087: undefined reference to
`ieee80211_beacon_alloc'
if_ural.o(.text+0x47d): In function `ural_attach':
/usr/src/sys/dev/netif/ural/if_ural.c:472: undefined reference to
`ieee80211_ieee2mhz'
if_ural.o(.text+0x4ac):/usr/src/sys/dev/netif/ural/if_ural.c:477:
undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x4de):/usr/src/sys/dev/netif/ural/if_ural.c:482:
undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x568):/usr/src/sys/dev/netif/ural/if_ural.c:494:
undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x588):/usr/src/sys/dev/netif/ural/if_ural.c:501:
undefined reference to `ieee80211_ifattach'
if_ural.o(.text+0x5c0):/usr/src/sys/dev/netif/ural/if_ural.c:509:
undefined reference to `ieee80211_media_status'
if_ural.o(.text+0x5d0):/usr/src/sys/dev/netif/ural/if_ural.c:509:
undefined reference to `ieee80211_media_init'
if_ural.o(.text+0x648):/usr/src/sys/dev/netif/ural/if_ural.c:523:
undefined reference to `ieee80211_announce'
if_ural.o(.text+0x75c): In function `ural_detach':
/usr/src/sys/dev/netif/ural/if_ural.c:565: undefined reference to
`ieee80211_ifdetach'
if_ural.o(.text+0x880): In function `ural_free_tx_list':
/usr/src/sys/dev/netif/ural/if_ural.c:626: undefined reference to
`ieee80211_free_node'
if_ural.o(.text+0xa2a): In function `ural_media_change':
/usr/src/sys/dev/netif/ural/if_ural.c:702: undefined reference to
`ieee80211_media_change'
if_ural.o(.text+0xa7e): In function `ural_next_scan':
/usr/src/sys/dev/netif/ural/if_ural.c:726: undefined reference to
`ieee80211_next_scan'
if_ural.o(.text+0xac8): In function `ural_task':
/usr/src/sys/dev/netif/ural/if_ural.c:743: undefined reference to
`ieee80211_ratectl_newstate'
if_ural.o(.text+0xc2f):/usr/src/sys/dev/netif/ural/if_ural.c:787:
undefined reference to `ieee80211_beacon_alloc'
if_ural.o(.text+0xf55): In function `ural_txeof':
/usr/src/sys/dev/netif/ural/if_ural.c:917: undefined reference to
`ieee80211_free_node'
if_ural.o(.text+0x114d): In function `ural_rxeof':
/usr/src/sys/dev/netif/ural/if_ural.c:1010: undefined reference to
`ieee80211_find_rxnode'
if_ural.o(.text+0x117c):/usr/src/sys/dev/netif/ural/if_ural.c:1013:
undefined reference to `ieee80211_input'
if_ural.o(.text+0x1187):/usr/src/sys/dev/netif/ural/if_ural.c:1016:
undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x1796): In function `ural_tx_data':
/usr/src/sys/dev/netif/ural/if_ural.c:1302: undefined reference to
`ieee80211_ratectl_findrate'
if_ural.o(.text+0x17c3):/usr/src/sys/dev/netif/ural/if_ural.c:1306:
undefined reference to `ieee80211_crypto_encap'
if_ural.o(.text+0x1aca): In function `ural_start':
/usr/src/sys/dev/netif/ural/if_ural.c:1421: undefined reference to
`ieee80211_find_txnode'
if_ural.o(.text+0x1b05):/usr/src/sys/dev/netif/ural/if_ural.c:1428:
undefined reference to `ieee80211_encap'
if_ural.o(.text+0x1b13):/usr/src/sys/dev/netif/ural/if_ural.c:1430:
undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x1b52):/usr/src/sys/dev/netif/ural/if_ural.c:1438:
undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x1bd0): In function `ural_watchdog':
/usr/src/sys/dev/netif/ural/if_ural.c:1469: undefined reference to
`ieee80211_watchdog'
if_ural.o(.text+0x1c7b): In function `ural_ioctl':
/usr/src/sys/dev/netif/ural/if_ural.c:1514: undefined reference to
`ieee80211_ioctl'
if_ural.o(.text+0x21cf): In function `ural_set_chan':
/usr/src/sys/dev/netif/ural/if_ural.c:1720: undefined reference to
`ieee80211_chan2ieee'
*** Error code 1

Stop in /usr/obj/usr/src/sys/SMP.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

SMP is just GENERIC without debugging stuff, smp enabled and wlan
completely removed.

Petr

History

#1 Updated by sepherosa over 7 years ago

That implies you should remove:
device rtw
device ral
device wi
device ural
device rum

Best Regards,
sephe

#2 Updated by elekktretterr over 7 years ago

Nevermind, it was the wlan stuff. This can be closed.

Petr

Also available in: Atom PDF