latest -CURRENT kernel fails to build

Vincent Poy vince at oahu.WURLDLINK.NET
Wed Sep 17 20:21:51 PDT 2003


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



More information about the freebsd-current mailing list