On 11/30/08, Marko Zec <zec_at_icir.org> wrote: > On Sun, 30 Nov 2008, Paul B. Mahol wrote: > >> Hello >> >> With latest kernel it is no more possible >> to do something like this (with net drivers): >> >> # cd /sys/modules/mii && make >> >> In file included from _at_/net/if_var.h:723, >> from _at_/net/if.h:458, >> from /usr/src/sys/modules/mii/../../dev/mii/acphy.c:82: >> _at_/net/vnet.h:36:23: error: opt_route.h: No such file or directory >> *** Error code 1 >> >> Stop in /usr/src/sys/modules/mii >> >> It is introduced once ifdef VIMAGE are removed from net/vnet.h in >> 185419 revision. > > Yes #including any opt_*.h from an .h file is evil and will have > to be backed out, bz_at_ and I are discussing possible not-so-evil > alternatives and will hopefully replace the current hack soon. > > Thanks for reporting this, > > Marko > > Nice trick is to add opt_route.h into every module Makefile that have this problem. -- PaulReceived on Sun Nov 30 2008 - 15:38:16 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC