Bug 207106 - [patch] [regression] several kernel modules fail to compile outside of kernel build environment
Summary: [patch] [regression] several kernel modules fail to compile outside of kernel...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: Eugene Grosbein
Keywords: patch, regression
Depends on:
Reported: 2016-02-11 13:00 UTC by Eugene Grosbein
Modified: 2017-09-19 17:27 UTC (History)
2 users (show)

See Also:

process opt_kdtrace.h correctly (1.67 KB, patch)
2016-02-11 13:00 UTC, Eugene Grosbein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Grosbein 2016-02-11 13:00:01 UTC
Created attachment 166866 [details]
process opt_kdtrace.h correctly

Some kernel modules (sys/modules/cam, sys/modules/hyperv/netvsc and sys/modules/linux_common) do not build using 10.3-BETA1 sources complaining on missing files like opt_kdtrace.h, opt_inet.h, opt_inet6.h. A patch is attached.
Comment 1 Mark Johnston freebsd_committer 2016-02-11 18:32:32 UTC
opt_kdtrace.h isn't needed at all in these places. I tried to remove references
to it with r291153, but some have crept back in.

The opt_inet bits seem reasonable to me.
Comment 2 Eugene Grosbein freebsd_committer 2017-09-19 17:27:07 UTC
Already fixed and MFC'd.