re: building new kernel fails during build of 'ath' driver

2004-08-30 Thread Fredrik Andersson
Hi jms ! 

I had the same problem. I get a tip in another mailgroup, that I tried. After that my 
card worked better and no errors when compile kernel. 

Try too add 
device ath_hal 
device wlan

in kernel and then compile again. 

Fred. 

version: 5.2.1

I added this driver in my kernel config to natively support my
Atheros-based wireless NIC (Netgear WCG311 I think).  The build fails
immediately after starting to link the necessary objects together.  I
didn't notice any unusual errors during the compile phase.


if_ath_pci.o: In function `ath_pci_probe':
if_ath_pci.o(.text+0xd4): undefined reference to `ath_hal_probe'
*** Error code 1

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


It looks like the system found a header file that defined the function,
since it compiled if_ath.c in the first place.  Any ideas why it wouldn't
be linking properly?

jms




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


re: building new kernel fails during build of 'ath' driver

2004-08-29 Thread Fredrik Andersson
I have the same problem too compile the kernel with ath support .. 
if_ath_pci.o (.text+0xd4):undefined reference to 'ath_hal_probe' 
*** error code 1

My config, FreeBSD 5.2.1-Release on a laptop IBM-A20m.
Hope someone have a good ide why or any solution of the problem .. 
Fred.



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