In file included from ../include/linux/linkage.h:7, from ../include/linux/kernel.h:18, from ../net/ipv6/ip6_output.c:26: ../net/ipv6/ip6_output.c: In function ‘ip6_dst_lookup_tail’: ../net/ipv6/ip6_output.c:1243:19: error: non-static declaration of ‘ip6_dst_lookup’ follows static declaration 1243 | EXPORT_SYMBOL_GPL(ip6_dst_lookup); | ^~~~~~~~~~~~~~ ../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ 56 | extern typeof(sym) sym; \ | ^~~ ../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1243:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ 1243 | EXPORT_SYMBOL_GPL(ip6_dst_lookup); | ^~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1237:5: note: previous definition of ‘ip6_dst_lookup’ with type ‘int(struct net *, struct sock *, struct dst_entry **, struct flowi6 *)’ 1237 | int ip6_dst_lookup(struct net *net, struct sock *sk, struct dst_entry **dst, | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1271:19: error: non-static declaration of ‘ip6_dst_lookup_flow’ follows static declaration 1271 | EXPORT_SYMBOL_GPL(ip6_dst_lookup_flow); | ^~~~~~~~~~~~~~~~~~~ ../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ 56 | extern typeof(sym) sym; \ | ^~~ ../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1271:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ 1271 | EXPORT_SYMBOL_GPL(ip6_dst_lookup_flow); | ^~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1257:19: note: previous definition of ‘ip6_dst_lookup_flow’ with type ‘struct dst_entry *(struct net *, const struct sock *, struct flowi6 *, const struct in6_addr *)’ 1257 | struct dst_entry *ip6_dst_lookup_flow(struct net *net, const struct sock *sk, struct flowi6 *fl6, | ^~~~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1307:19: error: non-static declaration of ‘ip6_sk_dst_lookup_flow’ follows static declaration 1307 | EXPORT_SYMBOL_GPL(ip6_sk_dst_lookup_flow); | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ 56 | extern typeof(sym) sym; \ | ^~~ ../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1307:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ 1307 | EXPORT_SYMBOL_GPL(ip6_sk_dst_lookup_flow); | ^~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1291:19: note: previous definition of ‘ip6_sk_dst_lookup_flow’ with type ‘struct dst_entry *(struct sock *, struct flowi6 *, const struct in6_addr *, bool)’ {aka ‘struct dst_entry *(struct sock *, struct flowi6 *, const struct in6_addr *, _Bool)’} 1291 | struct dst_entry *ip6_sk_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6, | ^~~~~~~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1309:36: error: invalid storage class for function ‘ip6_opt_dup’ 1309 | static inline struct ipv6_opt_hdr *ip6_opt_dup(struct ipv6_opt_hdr *src, | ^~~~~~~~~~~ ../net/ipv6/ip6_output.c:1315:35: error: invalid storage class for function ‘ip6_rthdr_dup’ 1315 | static inline struct ipv6_rt_hdr *ip6_rthdr_dup(struct ipv6_rt_hdr *src, | ^~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1321:13: error: invalid storage class for function ‘ip6_append_data_mtu’ 1321 | static void ip6_append_data_mtu(unsigned int *mtu, | ^~~~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1345:12: error: invalid storage class for function ‘ip6_setup_cork’ 1345 | static int ip6_setup_cork(struct sock *sk, struct inet_cork_full *cork, | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1420:12: error: invalid storage class for function ‘__ip6_append_data’ 1420 | static int __ip6_append_data(struct sock *sk, | ^~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1864:19: error: non-static declaration of ‘ip6_append_data’ follows static declaration 1864 | EXPORT_SYMBOL_GPL(ip6_append_data); | ^~~~~~~~~~~~~~~ ../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ 56 | extern typeof(sym) sym; \ | ^~~ ../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1864:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ 1864 | EXPORT_SYMBOL_GPL(ip6_append_data); | ^~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1828:5: note: previous definition of ‘ip6_append_data’ with type ‘int(struct sock *, int (*)(void *, char *, int, int, int, struct sk_buff *), void *, size_t, int, struct ipcm6_cookie *, struct flowi6 *, struct rt6_info *, unsigned int)’ {aka ‘int(struct sock *, int (*)(void *, char *, int, int, int, struct sk_buff *), void *, unsigned int, int, struct ipcm6_cookie *, struct flowi6 *, struct rt6_info *, unsigned int)’} 1828 | int ip6_append_data(struct sock *sk, | ^~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1866:13: error: invalid storage class for function ‘ip6_cork_steal_dst’ 1866 | static void ip6_cork_steal_dst(struct sk_buff *skb, struct inet_cork_full *cork) | ^~~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1874:13: error: invalid storage class for function ‘ip6_cork_release’ 1874 | static void ip6_cork_release(struct inet_cork_full *cork, | ^~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:2007:19: error: non-static declaration of ‘ip6_push_pending_frames’ follows static declaration 2007 | EXPORT_SYMBOL_GPL(ip6_push_pending_frames); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ 56 | extern typeof(sym) sym; \ | ^~~ ../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:2007:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ 2007 | EXPORT_SYMBOL_GPL(ip6_push_pending_frames); | ^~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1997:5: note: previous definition of ‘ip6_push_pending_frames’ with type ‘int(struct sock *)’ 1997 | int ip6_push_pending_frames(struct sock *sk) | ^~~~~~~~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:2009:13: error: invalid storage class for function ‘__ip6_flush_pending_frames’ 2009 | static void __ip6_flush_pending_frames(struct sock *sk, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:2031:19: error: non-static declaration of ‘ip6_flush_pending_frames’ follows static declaration 2031 | EXPORT_SYMBOL_GPL(ip6_flush_pending_frames); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ 56 | extern typeof(sym) sym; \ | ^~~ ../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:2031:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ 2031 | EXPORT_SYMBOL_GPL(ip6_flush_pending_frames); | ^~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:2026:6: note: previous definition of ‘ip6_flush_pending_frames’ with type ‘void(struct sock *)’ 2026 | void ip6_flush_pending_frames(struct sock *sk) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:2074:1: error: expected declaration or statement at end of input 2074 | } | ^ ../net/ipv6/ip6_output.c: At top level: ../net/ipv6/ip6_output.c:2033:17: warning: ‘ip6_make_skb’ defined but not used [-Wunused-function] 2033 | struct sk_buff *ip6_make_skb(struct sock *sk, | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:194: net/ipv6/ip6_output.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:440: net/ipv6] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^~~ make[3]: *** [../scripts/Makefile.build:440: net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^~~ WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o In file included from ../include/linux/linkage.h:7, from ../include/linux/kernel.h:18, from ../net/ipv6/ip6_output.c:26: ../net/ipv6/ip6_output.c: In function ‘ip6_dst_lookup_tail’: ../net/ipv6/ip6_output.c:1243:19: error: non-static declaration of ‘ip6_dst_lookup’ follows static declaration 1243 | EXPORT_SYMBOL_GPL(ip6_dst_lookup); | ^~~~~~~~~~~~~~ ../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ 56 | extern typeof(sym) sym; \ | ^~~ ../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1243:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ 1243 | EXPORT_SYMBOL_GPL(ip6_dst_lookup); | ^~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1237:5: note: previous definition of ‘ip6_dst_lookup’ with type ‘int(struct net *, struct sock *, struct dst_entry **, struct flowi6 *)’ 1237 | int ip6_dst_lookup(struct net *net, struct sock *sk, struct dst_entry **dst, | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1271:19: error: non-static declaration of ‘ip6_dst_lookup_flow’ follows static declaration 1271 | EXPORT_SYMBOL_GPL(ip6_dst_lookup_flow); | ^~~~~~~~~~~~~~~~~~~ ../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ 56 | extern typeof(sym) sym; \ | ^~~ ../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1271:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ 1271 | EXPORT_SYMBOL_GPL(ip6_dst_lookup_flow); | ^~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1257:19: note: previous definition of ‘ip6_dst_lookup_flow’ with type ‘struct dst_entry *(struct net *, const struct sock *, struct flowi6 *, const struct in6_addr *)’ 1257 | struct dst_entry *ip6_dst_lookup_flow(struct net *net, const struct sock *sk, struct flowi6 *fl6, | ^~~~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1307:19: error: non-static declaration of ‘ip6_sk_dst_lookup_flow’ follows static declaration 1307 | EXPORT_SYMBOL_GPL(ip6_sk_dst_lookup_flow); | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ 56 | extern typeof(sym) sym; \ | ^~~ ../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1307:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ 1307 | EXPORT_SYMBOL_GPL(ip6_sk_dst_lookup_flow); | ^~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1291:19: note: previous definition of ‘ip6_sk_dst_lookup_flow’ with type ‘struct dst_entry *(struct sock *, struct flowi6 *, const struct in6_addr *, bool)’ {aka ‘struct dst_entry *(struct sock *, struct flowi6 *, const struct in6_addr *, _Bool)’} 1291 | struct dst_entry *ip6_sk_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6, | ^~~~~~~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1309:36: error: invalid storage class for function ‘ip6_opt_dup’ 1309 | static inline struct ipv6_opt_hdr *ip6_opt_dup(struct ipv6_opt_hdr *src, | ^~~~~~~~~~~ ../net/ipv6/ip6_output.c:1315:35: error: invalid storage class for function ‘ip6_rthdr_dup’ 1315 | static inline struct ipv6_rt_hdr *ip6_rthdr_dup(struct ipv6_rt_hdr *src, | ^~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1321:13: error: invalid storage class for function ‘ip6_append_data_mtu’ 1321 | static void ip6_append_data_mtu(unsigned int *mtu, | ^~~~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1345:12: error: invalid storage class for function ‘ip6_setup_cork’ 1345 | static int ip6_setup_cork(struct sock *sk, struct inet_cork_full *cork, | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1420:12: error: invalid storage class for function ‘__ip6_append_data’ 1420 | static int __ip6_append_data(struct sock *sk, | ^~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1864:19: error: non-static declaration of ‘ip6_append_data’ follows static declaration 1864 | EXPORT_SYMBOL_GPL(ip6_append_data); | ^~~~~~~~~~~~~~~ ../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ 56 | extern typeof(sym) sym; \ | ^~~ ../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1864:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ 1864 | EXPORT_SYMBOL_GPL(ip6_append_data); | ^~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1828:5: note: previous definition of ‘ip6_append_data’ with type ‘int(struct sock *, int (*)(void *, char *, int, int, int, struct sk_buff *), void *, size_t, int, struct ipcm6_cookie *, struct flowi6 *, struct rt6_info *, unsigned int)’ {aka ‘int(struct sock *, int (*)(void *, char *, int, int, int, struct sk_buff *), void *, unsigned int, int, struct ipcm6_cookie *, struct flowi6 *, struct rt6_info *, unsigned int)’} 1828 | int ip6_append_data(struct sock *sk, | ^~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1866:13: error: invalid storage class for function ‘ip6_cork_steal_dst’ 1866 | static void ip6_cork_steal_dst(struct sk_buff *skb, struct inet_cork_full *cork) | ^~~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1874:13: error: invalid storage class for function ‘ip6_cork_release’ 1874 | static void ip6_cork_release(struct inet_cork_full *cork, | ^~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:2007:19: error: non-static declaration of ‘ip6_push_pending_frames’ follows static declaration 2007 | EXPORT_SYMBOL_GPL(ip6_push_pending_frames); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ 56 | extern typeof(sym) sym; \ | ^~~ ../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:2007:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ 2007 | EXPORT_SYMBOL_GPL(ip6_push_pending_frames); | ^~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:1997:5: note: previous definition of ‘ip6_push_pending_frames’ with type ‘int(struct sock *)’ 1997 | int ip6_push_pending_frames(struct sock *sk) | ^~~~~~~~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:2009:13: error: invalid storage class for function ‘__ip6_flush_pending_frames’ 2009 | static void __ip6_flush_pending_frames(struct sock *sk, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:2031:19: error: non-static declaration of ‘ip6_flush_pending_frames’ follows static declaration 2031 | EXPORT_SYMBOL_GPL(ip6_flush_pending_frames); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ 56 | extern typeof(sym) sym; \ | ^~~ ../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") | ^~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:2031:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ 2031 | EXPORT_SYMBOL_GPL(ip6_flush_pending_frames); | ^~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:2026:6: note: previous definition of ‘ip6_flush_pending_frames’ with type ‘void(struct sock *)’ 2026 | void ip6_flush_pending_frames(struct sock *sk) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../net/ipv6/ip6_output.c:2074:1: error: expected declaration or statement at end of input 2074 | } | ^ ../net/ipv6/ip6_output.c: At top level: ../net/ipv6/ip6_output.c:2033:17: warning: ‘ip6_make_skb’ defined but not used [-Wunused-function] 2033 | struct sk_buff *ip6_make_skb(struct sock *sk, | ^~~~~~~~~~~~ make[5]: *** [../scripts/Makefile.build:194: net/ipv6/ip6_output.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^~~ make[4]: *** [../scripts/Makefile.build:440: net/ipv6] Error 2 make[3]: *** [../scripts/Makefile.build:440: net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.cnq8AQMUH3 2025-01-02 01:54:31.652345928 -0800 +++ /tmp/tmp.8MAHTIM2fq 2025-01-02 01:54:53.775116063 -0800 @@ -0,0 +1,127 @@ +In file included from ../include/linux/linkage.h:7, + from ../include/linux/kernel.h:18, + from ../net/ipv6/ip6_output.c:26: +../net/ipv6/ip6_output.c: In function ‘ip6_dst_lookup_tail’: +../net/ipv6/ip6_output.c:1243:19: error: non-static declaration of ‘ip6_dst_lookup’ follows static declaration + 1243 | EXPORT_SYMBOL_GPL(ip6_dst_lookup); + | ^~~~~~~~~~~~~~ +../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ + 56 | extern typeof(sym) sym; \ + | ^~~ +../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ + 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") + | ^~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1243:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ + 1243 | EXPORT_SYMBOL_GPL(ip6_dst_lookup); + | ^~~~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1237:5: note: previous definition of ‘ip6_dst_lookup’ with type ‘int(struct net *, struct sock *, struct dst_entry **, struct flowi6 *)’ + 1237 | int ip6_dst_lookup(struct net *net, struct sock *sk, struct dst_entry **dst, + | ^~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1271:19: error: non-static declaration of ‘ip6_dst_lookup_flow’ follows static declaration + 1271 | EXPORT_SYMBOL_GPL(ip6_dst_lookup_flow); + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ + 56 | extern typeof(sym) sym; \ + | ^~~ +../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ + 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") + | ^~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1271:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ + 1271 | EXPORT_SYMBOL_GPL(ip6_dst_lookup_flow); + | ^~~~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1257:19: note: previous definition of ‘ip6_dst_lookup_flow’ with type ‘struct dst_entry *(struct net *, const struct sock *, struct flowi6 *, const struct in6_addr *)’ + 1257 | struct dst_entry *ip6_dst_lookup_flow(struct net *net, const struct sock *sk, struct flowi6 *fl6, + | ^~~~~~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1307:19: error: non-static declaration of ‘ip6_sk_dst_lookup_flow’ follows static declaration + 1307 | EXPORT_SYMBOL_GPL(ip6_sk_dst_lookup_flow); + | ^~~~~~~~~~~~~~~~~~~~~~ +../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ + 56 | extern typeof(sym) sym; \ + | ^~~ +../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ + 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") + | ^~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1307:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ + 1307 | EXPORT_SYMBOL_GPL(ip6_sk_dst_lookup_flow); + | ^~~~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1291:19: note: previous definition of ‘ip6_sk_dst_lookup_flow’ with type ‘struct dst_entry *(struct sock *, struct flowi6 *, const struct in6_addr *, bool)’ {aka ‘struct dst_entry *(struct sock *, struct flowi6 *, const struct in6_addr *, _Bool)’} + 1291 | struct dst_entry *ip6_sk_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6, + | ^~~~~~~~~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1309:36: error: invalid storage class for function ‘ip6_opt_dup’ + 1309 | static inline struct ipv6_opt_hdr *ip6_opt_dup(struct ipv6_opt_hdr *src, + | ^~~~~~~~~~~ +../net/ipv6/ip6_output.c:1315:35: error: invalid storage class for function ‘ip6_rthdr_dup’ + 1315 | static inline struct ipv6_rt_hdr *ip6_rthdr_dup(struct ipv6_rt_hdr *src, + | ^~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1321:13: error: invalid storage class for function ‘ip6_append_data_mtu’ + 1321 | static void ip6_append_data_mtu(unsigned int *mtu, + | ^~~~~~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1345:12: error: invalid storage class for function ‘ip6_setup_cork’ + 1345 | static int ip6_setup_cork(struct sock *sk, struct inet_cork_full *cork, + | ^~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1420:12: error: invalid storage class for function ‘__ip6_append_data’ + 1420 | static int __ip6_append_data(struct sock *sk, + | ^~~~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1864:19: error: non-static declaration of ‘ip6_append_data’ follows static declaration + 1864 | EXPORT_SYMBOL_GPL(ip6_append_data); + | ^~~~~~~~~~~~~~~ +../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ + 56 | extern typeof(sym) sym; \ + | ^~~ +../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ + 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") + | ^~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1864:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ + 1864 | EXPORT_SYMBOL_GPL(ip6_append_data); + | ^~~~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1828:5: note: previous definition of ‘ip6_append_data’ with type ‘int(struct sock *, int (*)(void *, char *, int, int, int, struct sk_buff *), void *, size_t, int, struct ipcm6_cookie *, struct flowi6 *, struct rt6_info *, unsigned int)’ {aka ‘int(struct sock *, int (*)(void *, char *, int, int, int, struct sk_buff *), void *, unsigned int, int, struct ipcm6_cookie *, struct flowi6 *, struct rt6_info *, unsigned int)’} + 1828 | int ip6_append_data(struct sock *sk, + | ^~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1866:13: error: invalid storage class for function ‘ip6_cork_steal_dst’ + 1866 | static void ip6_cork_steal_dst(struct sk_buff *skb, struct inet_cork_full *cork) + | ^~~~~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1874:13: error: invalid storage class for function ‘ip6_cork_release’ + 1874 | static void ip6_cork_release(struct inet_cork_full *cork, + | ^~~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:2007:19: error: non-static declaration of ‘ip6_push_pending_frames’ follows static declaration + 2007 | EXPORT_SYMBOL_GPL(ip6_push_pending_frames); + | ^~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ + 56 | extern typeof(sym) sym; \ + | ^~~ +../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ + 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") + | ^~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:2007:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ + 2007 | EXPORT_SYMBOL_GPL(ip6_push_pending_frames); + | ^~~~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:1997:5: note: previous definition of ‘ip6_push_pending_frames’ with type ‘int(struct sock *)’ + 1997 | int ip6_push_pending_frames(struct sock *sk) + | ^~~~~~~~~~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:2009:13: error: invalid storage class for function ‘__ip6_flush_pending_frames’ + 2009 | static void __ip6_flush_pending_frames(struct sock *sk, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:2031:19: error: non-static declaration of ‘ip6_flush_pending_frames’ follows static declaration + 2031 | EXPORT_SYMBOL_GPL(ip6_flush_pending_frames); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/export.h:56:28: note: in definition of macro ‘__EXPORT_SYMBOL’ + 56 | extern typeof(sym) sym; \ + | ^~~ +../include/linux/export.h:69:41: note: in expansion of macro ‘_EXPORT_SYMBOL’ + 69 | #define EXPORT_SYMBOL_GPL(sym) _EXPORT_SYMBOL(sym, "GPL") + | ^~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:2031:1: note: in expansion of macro ‘EXPORT_SYMBOL_GPL’ + 2031 | EXPORT_SYMBOL_GPL(ip6_flush_pending_frames); + | ^~~~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:2026:6: note: previous definition of ‘ip6_flush_pending_frames’ with type ‘void(struct sock *)’ + 2026 | void ip6_flush_pending_frames(struct sock *sk) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +../net/ipv6/ip6_output.c:2074:1: error: expected declaration or statement at end of input + 2074 | } + | ^ +../net/ipv6/ip6_output.c: At top level: +../net/ipv6/ip6_output.c:2033:17: warning: ‘ip6_make_skb’ defined but not used [-Wunused-function] + 2033 | struct sk_buff *ip6_make_skb(struct sock *sk, + | ^~~~~~~~~~~~ +make[5]: *** [../scripts/Makefile.build:194: net/ipv6/ip6_output.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... @@ -5 +132,6 @@ -WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o +make[4]: *** [../scripts/Makefile.build:440: net/ipv6] Error 2 +make[3]: *** [../scripts/Makefile.build:440: net] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 +make: *** [Makefile:251: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.cLk7Uu0BqP 2025-01-02 01:54:53.782115990 -0800 +++ /tmp/tmp.OMhkrxrS3p 2025-01-02 01:54:53.786115948 -0800 @@ -1,0 +2 @@ + 16 ../net/ipv6/ip6_output.c