Re: latest -CURRENT kernel fails to build

From: Vincent Poy <vince_at_oahu.WURLDLINK.NET>
Date: Wed, 17 Sep 2003 17:19:25 -1000 (HST)
On Wed, 17 Sep 2003, M. Warner Losh wrote:

> pcic and newcard are an unsupported combination.  take pcic out of
> your kernel.
>
> Warner

	Thanks Warner...  Somehow I had the #device pcic like the generic
kernel but guess I had to force write the kernel config file.  Probably
would be a good idea to remove the pcic line in the GENERIC kernel even
though it's commented out.  Now, the kernel fails to build here which is
related to the ath(4) driver.

cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath
-I/usr/src/sys/contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h
-fno-common -finline-limit=15000 -fno-strict-aliasing
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
-Werror  vers.c
linking kernel.debug
if_ath.o: In function `ath_attach':
/usr/src/sys/dev/ath/if_ath.c:192: undefined reference to `ath_hal_attach'
if_ath.o: In function `ath_tx_start':
/usr/src/sys/dev/ath/if_ath.c:1873: undefined reference to
`ath_hal_computetxtime'
/usr/src/sys/dev/ath/if_ath.c:1899: undefined reference to
`ath_hal_computetxtime'
/usr/src/sys/dev/ath/if_ath.c:1903: undefined reference to
`ath_hal_computetxtime'
/usr/src/sys/dev/ath/if_ath.c:1906: undefined reference to
`ath_hal_computetxtime'
if_ath.o: In function `ath_getchannels':
/usr/src/sys/dev/ath/if_ath.c:2463: undefined reference to
`ath_hal_init_channels'
/usr/src/sys/dev/ath/if_ath.c:2476: undefined reference to
`ath_hal_mhz2ieee'
if_ath.o: In function `ath_attach':
/usr/src/sys/dev/ath/if_ath.c:186: undefined reference to
`sysctl__hw_ath_children'
/usr/src/sys/dev/ath/if_ath.c:192: undefined reference to
`sysctl__hw_ath_children'
/usr/src/sys/dev/ath/if_ath.c:199: undefined reference to
`sysctl__hw_ath_children'
/usr/src/sys/dev/ath/if_ath.c:215: undefined reference to
`sysctl__hw_ath_children'
/usr/src/sys/dev/ath/if_ath.c:224: undefined reference to
`sysctl__hw_ath_children'
if_ath.o:/usr/src/sys/dev/ath/if_ath.c:231: more undefined references to
`sysctl__hw_ath_children' follow
if_ath_pci.o: In function `ath_pci_probe':
/usr/src/sys/dev/pci/pcivar.h:203: undefined reference to `ath_hal_probe'
*** Error code 1

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

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

Stop in /usr/src.
root_at_bigbang [4:18pm][/usr/src] >>


Cheers,
Vince - vince_at_WURLDLINK.NET - Vice President             ________   __ ____
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation                                  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong                  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____]
Almighty1_at_IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin
Received on Wed Sep 17 2003 - 18:21:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:22 UTC