Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

COMPAT_NDIS broken, worse than pr port-i386/36843



I get this with 4.0/i386:

#      link  LOELAPPIE4.0/netbsdtest
ld -Map netbsdtest.map --cref -T ../../../../arch/i386/conf/kern.ldscript 
-Ttext c0100000 -e start -X -o netbsdtest ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
ioconf.o:(.rodata+0x614): undefined reference to `ndis_ca'
if_ndis.o: In function `ndis_media_status':
if_ndis.c:(.text+0x6cb): undefined reference to `ieee80211_rate2media'
if_ndis.c:(.text+0x747): undefined reference to `ieee80211_rate2media'
if_ndis.o: In function `ndis_setstate_80211':
if_ndis.c:(.text+0xd42): undefined reference to `ieee80211_chan2ieee'
if_ndis.c:(.text+0xd5d): undefined reference to `ieee80211_mhz2ieee'
if_ndis.o: In function `ndis_ticktask':
if_ndis.c:(.text+0x1893): undefined reference to `ieee80211_mhz2ieee'
if_ndis.o: In function `ndis_detach':
if_ndis.c:(.text+0x1cb6): undefined reference to `ieee80211_ifdetach'
if_ndis.o: In function `ndis_attach':
if_ndis.c:(.text+0x2668): undefined reference to `ieee80211_ieee2mhz'
if_ndis.c:(.text+0x2746): undefined reference to `ieee80211_ifattach'
if_ndis.c:(.text+0x2754): undefined reference to `ieee80211_media_change'
if_ndis.c:(.text+0x2760): undefined reference to `ieee80211_media_init'
if_ndis.o: In function `ndis_ioctl':
if_ndis.c:(.text+0x30c8): undefined reference to `ieee80211_ioctl'
if_ndis.c:(.text+0x3257): undefined reference to `ieee80211_ioctl'
if_ndis.c:(.text+0x36ac): undefined reference to `ieee80211_mhz2ieee'
*** Error code 1


All link errors except the first one can be avoided by linking another
wireless device, so there is some flag thing missing.

The ndis_ca problem remains a mystery.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert      -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl        -- Cetero censeo "authored" delendum esse.

A: Because it messes up the order in which people normally read text.
>Q: Why is top-posting such a bad thing?
>>A: Top-posting.
>>>Q: What is the most annoying thing in mail and news?


Home | Main Index | Thread Index | Old Index