6.0-RELEASE sparc64 kernel build error (missing clock_if.h)
Boris Kochergin
spawk at acm.poly.edu
Mon Nov 7 05:02:10 PST 2005
Hi.
This is my first time posting to a @freebsd.org list, so my apologies in
advance if this should have gone to the sparc64 list or somewhere else.
That aside, I've been attempting to build a custom kernel on a Sun Netra
X1 for it to be a lightweight NAT/VLAN machine using the RELENG_6_0
sources and have encountered the following problem (I've googled quite a
bit to find any similar cases, but to no avail).
[snip of "make buildkernel..." output]
make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E"
CC="cc"
xargs
mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -Wall
-Wredundant-decls
-Wn
ested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Winline
-Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I.
-I/usr/src/sys
-I
/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq
-I/usr/src/sys/contr
ib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath
-I/usr/src/
sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm
-I/usr/src/sys/dev/twa
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
-finlin
e-limit=15000 --param inline-unit-growth=100 --param
large-function-growth=1000
-mcmodel=medlow -msoft-float -ffreestanding
/usr/src/sys/sparc64/sparc64/rtc.c:58:22: clock_if.h: No such file or
directory
mkdep: compile failed
*** Error code 1
Stop in /usr/obj/usr/src/sys/SUNNY.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
---
This file is nowhere to be found on the system, only a "clock_if.m", but
its content isn't what the build process wants. Any ideas? Thanks in
advance.
-Boris
More information about the freebsd-bugs
mailing list