r234118 uart kernel module failure: "uart_cpu_eqres undefined"
kwhite at site.uottawa.ca
kwhite at site.uottawa.ca
Sat Apr 14 00:44:32 UTC 2012
The change from sys/dev/uart/uart_cpu_{i386,amd64}.c to uart_cpu_x86.c
probably also needs a corresponding change in the module Makefile.
# kldload uart
link_elf: symbol uart_cpu_eqres undefined
Here's one suggestion that works for me:
Index: /sys/modules/uart/Makefile
===================================================================
--- /sys/modules/uart/Makefile (revision 234249)
+++ /sys/modules/uart/Makefile (working copy)
@@ -16,6 +16,8 @@
uart_if.c uart_if.h uart_subr.c uart_tty.c
.if exists(${.CURDIR}/../../dev/uart/uart_cpu_${MACHINE}.c)
SRCS+= uart_cpu_${MACHINE}.c
+.elif ${MACHINE} == "i386" || ${MACHINE} == "amd64"
+SRCS+= uart_cpu_x86.c
.endif
SRCS+= bus_if.h card_if.h device_if.h isa_if.h ${ofw_bus_if} pci_if.h \
power_if.h pccarddevs.h serdev_if.h
------------------------------------------------------------------------
...keith
More information about the freebsd-current
mailing list