On 3/17/21 9:19 PM, David Miller wrote: > From: Andreas Roeseler <andreas.a.roese...@gmail.com> > Date: Wed, 17 Mar 2021 22:11:47 -0500 > >> On Mon, 2021-03-15 at 04:35 +0800, kernel test robot wrote: >> Is there something that I'm not understanding about compiling kernel >> components modularly? How do I avoid this error? > >> > You cannot reference module exported symbols from statically linked code. > y >
Look at ipv6_stub to see how it exports IPv6 functions for v4 code. There are a few examples under net/ipv4.