El 31 de julio de 2018 7:52:26 CEST, Florian Westphal <[email protected]> escribió: >kbuild test robot <[email protected]> wrote: >> tree: >https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git >master >> head: 4ed8eb6570a49931c705512060acd50058d61616 >> commit: f9324952088f1cd62ea4addf9ff532f1e6452a22 [5/7] netfilter: >nfnetlink_osf: extract nfnetlink_subsystem code from xt_osf.c >> config: i386-randconfig-a1-07310851 (attached as .config) >> compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 >> reproduce: >> git checkout f9324952088f1cd62ea4addf9ff532f1e6452a22 >> # save the attached .config to linux build tree >> make ARCH=i386 >> >> All warnings (new ones prefixed by >>): >> >> >> ./usr/include/linux/netfilter/nf_osf.h:73: userspace cannot >reference function or variable defined in the kernel > >Fernando, this is because of > >+extern struct list_head nf_osf_fingers[2]; > >You either need to find another (non UAPI) header to place this in, or, >alternatively, consider wrapping it in >#ifdef __KERNEL__ > >Can you make a patch? >Thanks. >-- >To unsubscribe from this list: send the line "unsubscribe >netfilter-devel" in >the body of a message to [email protected] >More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks Florian, I am going to write a patch for this. Maybe a good option is to place it on the non-UAPI header of nfnetlink_osf.
