{"id":3008,"date":"2022-02-21T12:05:15","date_gmt":"2022-02-21T20:05:15","guid":{"rendered":"https:\/\/rglinuxtech.com\/?p=3008"},"modified":"2022-02-21T12:05:15","modified_gmt":"2022-02-21T20:05:15","slug":"kernel-5-17-rc5-compile-fail-and-fix","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=3008","title":{"rendered":"Kernel &#8211; 5.17-rc5 Compile Fail, and Fix.."},"content":{"rendered":"<p>This one fell between the cracks, and should have been fixed before -rc5 was released&#8230;<br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">AR net\/netfilter\/built-in.a<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">LD [M] net\/netfilter\/nf_conntrack.o<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">CC [M] net\/netfilter\/xt_socket.o<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">net\/netfilter\/xt_socket.c: In function \u2018socket_mt_destroy\u2019:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">net\/netfilter\/xt_socket.c:224:17: error: implicit declaration of function \u2018nf_defrag_ipv6_disable\u2019; did you mean \u2018nf_defrag_ipv4_disable\u2019? [-Werror=implicit-function-declaration]<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">224 | nf_defrag_ipv6_disable(par-&gt;net);<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">| ^~~~~~~~~~~~~~~~~~~~~~<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">| nf_defrag_ipv4_disable<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">cc1: some warnings being treated as errors<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">make[2]: *** [scripts\/Makefile.build:288: net\/netfilter\/xt_socket.o] Error 1<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">make[1]: *** [scripts\/Makefile.build:550: net\/netfilter] Error 2<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">make: *** [Makefile:1831: net] Error 2<\/span><\/strong><\/p>\n<p>The fix was already available, at:\u00a0\u00a0 <a href=\"https:\/\/git.kernel.org\/pub\/scm\/linux\/kernel\/git\/netfilter\/nf.git\/commit\/?id=2874b7911132f6975e668f6849c8ac93bc4e1f35\" target=\"_blank\" rel=\"noopener\">https:\/\/git.kernel.org\/pub\/scm\/linux\/kernel\/git\/netfilter\/nf.git\/commit\/?id=2874b7911132f6975e668f6849c8ac93bc4e1f35<\/a><\/p>\n<p>I applied this, and the compile completed successfully..<\/p>\n<p>Also reported on LKML..\u00a0\u00a0 <a href=\"http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2202.2\/04703.html\" target=\"_blank\" rel=\"noopener\">http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2202.2\/04703.html<\/a><\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 February 21st 2022.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This one fell between the cracks, and should have been fixed before -rc5 was released&#8230; &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. AR net\/netfilter\/built-in.a LD [M] net\/netfilter\/nf_conntrack.o CC [M] net\/netfilter\/xt_socket.o net\/netfilter\/xt_socket.c: In function \u2018socket_mt_destroy\u2019: net\/netfilter\/xt_socket.c:224:17: error: implicit declaration of function \u2018nf_defrag_ipv6_disable\u2019; did you mean \u2018nf_defrag_ipv4_disable\u2019? [-Werror=implicit-function-declaration] 224 | nf_defrag_ipv6_disable(par-&gt;net); | ^~~~~~~~~~~~~~~~~~~~~~ | nf_defrag_ipv4_disable cc1: some warnings being treated as errors make[2]: *** [scripts\/Makefile.build:288: <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=3008\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5,1238,14,15],"tags":[440,161,2465,2466,1175],"class_list":["post-3008","post","type-post","status-publish","format-standard","hentry","category-compilation","category-fix","category-kernel","category-linux-2","tag-compile-fail","tag-fix","tag-kernel-5-17-rc5","tag-nf_defrag_ipv6_disable","tag-success"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3008"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3008\/revisions"}],"predecessor-version":[{"id":3009,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3008\/revisions\/3009"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}