I'm trying to compile a kernel with some debugging enabled for an problem
I've having with umb, and now my problem has turning into an error
compiling the kernel :). After getting the error on my updated from 6.8 code
base, I whacked it and did a fresh checkout, but it still shows up:

-bash-5.1$ pwd
/sys/arch/amd64/compile/GENERIC.MP
-bash-5.1$ make
make: don't know how to make /usr/src/sys/dev/pci/drm/i915/dvo_ch7017.c
(prerequisite of: dvo_ch7017.o)
Stop in /sys/arch/amd64/compile/GENERIC.MP

It looks like that file is at:

        /usr/src/sys/dev/pci/drm/i915/display/dvo_ch7017.c

not where it's looking:

        /usr/src/sys/dev/pci/drm/i915/dvo_ch7017.c

I created a symlink and then it complained about a missing header file,
so I made another symlink, and it complained about another C file, etc
etc, until I finally just ran:

        ln -s display/* .

A whole bunch of stuff compiled, then it complained about:

make: don't know how to make
/usr/src/sys/dev/pci/drm/i915/i915_gem_clflush.c (prerequisite of:
i915_gem_clflush.o)

so queue:

        ln -s gem/* .
        ln -s gt/* .
        ln -s uc/* .

and it trundled along for a while, then:

make: don't know how to make /usr/src/sys/dev/isa/asmc.c (prerequisite
of: asmc.o)

Finally, after:

        ln -s ../acpi/asmc.c .

it finished compiling and the resultant kernel seems to work.

It seems odd the stable kernel source would be broken, but I'm not sure
what I might have done wrong? It's a fresh checkout, and there's not
much to compiling it. The box doing to compiling was updated from 6.8, I
haven't tried on a box with a fresh 6.9 install.

Thanks...



Reply via email to