ERROR: modpost: "tun_get_tx_ring" [drivers/vhost/vhost_net.ko] undefined! ERROR: modpost: "tap_get_ptr_ring" [drivers/vhost/vhost_net.ko] undefined! make[3]: *** [../scripts/Makefile.modpost:147: Module.symvers] Error 1 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1961: modpost] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 In file included from ../arch/x86/include/asm/bug.h:103, from ../arch/x86/include/asm/alternative.h:9, from ../arch/x86/include/asm/segment.h:6, from ../arch/x86/include/asm/ptrace.h:5, from ../arch/x86/include/asm/math_emu.h:5, from ../arch/x86/include/asm/processor.h:13, from ../arch/x86/include/asm/timex.h:5, from ../include/linux/timex.h:67, from ../include/linux/time32.h:13, from ../include/linux/time.h:60, from ../include/linux/compat.h:10, from ../drivers/vhost/net.c:8: ../drivers/vhost/net.c: In function ‘vhost_net_buf_produce’: ../include/asm-generic/bug.h:111:41: error: expected expression before ‘)’ token 111 | int __ret_warn_on = !!(condition); \ | ^ ../drivers/vhost/net.c:197:17: note: in expansion of macro ‘WARN_ON_ONCE’ 197 | WARN_ON_ONCE(); | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:287: drivers/vhost/net.o] Error 1 make[4]: *** [../scripts/Makefile.build:556: drivers/vhost] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:556: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2011: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.29zquSorAl 2025-09-22 16:52:18.903663362 -0700 +++ /tmp/tmp.U2hEvEwb6k 2025-09-22 16:52:44.644614754 -0700 @@ -1,4 +1,24 @@ -ERROR: modpost: "tun_get_tx_ring" [drivers/vhost/vhost_net.ko] undefined! -ERROR: modpost: "tap_get_ptr_ring" [drivers/vhost/vhost_net.ko] undefined! -make[3]: *** [../scripts/Makefile.modpost:147: Module.symvers] Error 1 -make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1961: modpost] Error 2 +In file included from ../arch/x86/include/asm/bug.h:103, + from ../arch/x86/include/asm/alternative.h:9, + from ../arch/x86/include/asm/segment.h:6, + from ../arch/x86/include/asm/ptrace.h:5, + from ../arch/x86/include/asm/math_emu.h:5, + from ../arch/x86/include/asm/processor.h:13, + from ../arch/x86/include/asm/timex.h:5, + from ../include/linux/timex.h:67, + from ../include/linux/time32.h:13, + from ../include/linux/time.h:60, + from ../include/linux/compat.h:10, + from ../drivers/vhost/net.c:8: +../drivers/vhost/net.c: In function ‘vhost_net_buf_produce’: +../include/asm-generic/bug.h:111:41: error: expected expression before ‘)’ token + 111 | int __ret_warn_on = !!(condition); \ + | ^ +../drivers/vhost/net.c:197:17: note: in expansion of macro ‘WARN_ON_ONCE’ + 197 | WARN_ON_ONCE(); + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:287: drivers/vhost/net.o] Error 1 +make[4]: *** [../scripts/Makefile.build:556: drivers/vhost] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:556: drivers] Error 2 +make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2011: .] Error 2 Per-file breakdown --- /tmp/tmp.xX5Mmj7nyN 2025-09-22 16:52:44.652787632 -0700 +++ /tmp/tmp.5D1jJbyS66 2025-09-22 16:52:44.656787604 -0700 @@ -0,0 +1,2 @@ + 1 ../drivers/vhost/net.c + 1 ../include/asm-generic/bug.h