Re: opt_netgraph in netgraph/netgraph.h?

From: John-Mark Gurney <gurney_j_at_resnet.uoregon.edu>
Date: Tue, 13 Sep 2005 10:53:44 -0700
Lonnie VanZandt wrote this message on Tue, Sep 13, 2005 at 10:00 -0600:
> Sometime between 5.4 RC3 and 5.4 STABLE, netgraph/netgraph.h went from version 
> 1.43.2.5 to 1.43.2.10. In doing so, an include of "opt_netgraph.h" was added 
> to that file. This causes code including netgraph/netgraph.h, on my system, 
> to fail to compile since opt_netgraph.h isn't in the include path.
> 
> When a kernel conf file doesn't have "options NETGRAPH" the generated 
> opt_netgraph.h file is empty. With "options NETGRAPH" the file simply 
> contains "#define NETGRAPH 1". So, either way, the file isn't hard to create 
> - but I need to know where it should reside in the "_at_" hierarchy.
> 
> Does anyone (say julian_at_) know? And, just for curiousity sake, does anyone 
> know which update step I probably overlooked which led to the breakage on my 
> platform?

The opt_*.h files are automaticly created by config...  Sometimes you
just need to rerun config before building your kernel...

If it fails building the module, then the module's Makefile needs to
be fixed to create the opt_*.h files as necessary...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
Received on Tue Sep 13 2005 - 15:53:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:43 UTC