{"action":"created","issue":{"url":"https://api.github.com/repos/Hugne/tipc-rhel7/issues/1","labels_url":"https://api.github.com/repos/Hugne/tipc-rhel7/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Hugne/tipc-rhel7/issues/1/comments","events_url":"https://api.github.com/repos/Hugne/tipc-rhel7/issues/1/events","html_url":"https://github.com/Hugne/tipc-rhel7/issues/1","id":84129888,"number":1,"title":"Unable to compile for RHEL 7.1","user":{"login":"nramesh25","id":12718793,"avatar_url":"https://avatars.githubusercontent.com/u/12718793?v=3","gravatar_id":"","url":"https://api.github.com/users/nramesh25","html_url":"https://github.com/nramesh25","followers_url":"https://api.github.com/users/nramesh25/followers","following_url":"https://api.github.com/users/nramesh25/following{/other_user}","gists_url":"https://api.github.com/users/nramesh25/gists{/gist_id}","starred_url":"https://api.github.com/users/nramesh25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nramesh25/subscriptions","organizations_url":"https://api.github.com/users/nramesh25/orgs","repos_url":"https://api.github.com/users/nramesh25/repos","events_url":"https://api.github.com/users/nramesh25/events{/privacy}","received_events_url":"https://api.github.com/users/nramesh25/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-02T17:59:34Z","updated_at":"2015-06-03T15:43:44Z","closed_at":null,"body":"Hi,\r\n\r\nI am trying to compile TIPC for RHEL 7.1 and I am getting this error.  Am i missing any other patch for RHEL 7.1? \r\n\r\nuname -a\r\nLinux localhost.localdomain.localdomain 3.10.0-229.4.2.el7.x86_64 #1 SMP Fri Apr 24 15:26:38 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\n\r\nmake[1]: Entering directory `/usr/src/kernels/3.10.0-229.4.2.el7.x86_64'\r\n  LD      /root/rpmbuild/BUILD/tipc/tipc/built-in.o\r\n  CC [M]  /root/rpmbuild/BUILD/tipc/tipc/addr.o\r\n  CC [M]  /root/rpmbuild/BUILD/tipc/tipc/bcast.o\r\n  CC [M]  /root/rpmbuild/BUILD/tipc/tipc/bearer.o\r\n  CC [M]  /root/rpmbuild/BUILD/tipc/tipc/config.o\r\n  CC [M]  /root/rpmbuild/BUILD/tipc/tipc/core.o\r\n  CC [M]  /root/rpmbuild/BUILD/tipc/tipc/handler.o\r\n  CC [M]  /root/rpmbuild/BUILD/tipc/tipc/link.o\r\n  CC [M]  /root/rpmbuild/BUILD/tipc/tipc/discover.o\r\n  CC [M]  /root/rpmbuild/BUILD/tipc/tipc/msg.o\r\n  CC [M]  /root/rpmbuild/BUILD/tipc/tipc/name_distr.o\r\n  CC [M]  /root/rpmbuild/BUILD/tipc/tipc/subscr.o\r\n  CC [M]  /root/rpmbuild/BUILD/tipc/tipc/name_table.o\r\n  CC [M]  /root/rpmbuild/BUILD/tipc/tipc/net.o\r\n  CC [M]  /root/rpmbuild/BUILD/tipc/tipc/netlink.o\r\n  CC [M]  /root/rpmbuild/BUILD/tipc/tipc/node.o\r\n/root/rpmbuild/BUILD/tipc/tipc/netlink.c: In function 'tipc_netlink_start':\r\n/root/rpmbuild/BUILD/tipc/tipc/netlink.c:89:20: error: macro \"genl_register_family_with_ops\" passed 3 arguments, but takes just 2\r\n   &tipc_genl_ops, 1);\r\n                    ^\r\n/root/rpmbuild/BUILD/tipc/tipc/netlink.c:88:8: error: 'genl_register_family_with_ops' undeclared (first use in this function)\r\n  res = genl_register_family_with_ops(&tipc_genl_family,\r\n        ^\r\n/root/rpmbuild/BUILD/tipc/tipc/netlink.c:88:8: note: each undeclared identifier is reported only once for each function it appears in\r\n/root/rpmbuild/BUILD/tipc/tipc/netlink.c: At top level:\r\n/root/rpmbuild/BUILD/tipc/tipc/netlink.c:79:24: warning: 'tipc_genl_ops' defined but not used [-Wunused-variable]\r\n static struct genl_ops tipc_genl_ops = {\r\n                        ^\r\nmake[2]: *** [/root/rpmbuild/BUILD/tipc/tipc/netlink.o] Error 1\r\nmake[2]: *** Waiting for unfinished jobs....\r\nmake[1]: *** [_module_/root/rpmbuild/BUILD/tipc/tipc] Error 2\r\nmake[1]: Leaving directory `/usr/src/kernels/3.10.0-229.4.2.el7.x86_64'\r\nerror: Bad exit status from /var/tmp/rpm-tmp.kOAezS (%build)\r\n\r\n\r\nRPM build errors:\r\n    Bad exit status from /var/tmp/rpm-tmp.kOAezS (%build)\r\nmake: *** [kmod] Error 1\r\n[root@localhost tipc-rhel7-master]# "},"comment":{"url":"https://api.github.com/repos/Hugne/tipc-rhel7/issues/comments/108490818","html_url":"https://github.com/Hugne/tipc-rhel7/issues/1#issuecomment-108490818","issue_url":"https://api.github.com/repos/Hugne/tipc-rhel7/issues/1","id":108490818,"user":{"login":"Hugne","id":922574,"avatar_url":"https://avatars.githubusercontent.com/u/922574?v=3","gravatar_id":"","url":"https://api.github.com/users/Hugne","html_url":"https://github.com/Hugne","followers_url":"https://api.github.com/users/Hugne/followers","following_url":"https://api.github.com/users/Hugne/following{/other_user}","gists_url":"https://api.github.com/users/Hugne/gists{/gist_id}","starred_url":"https://api.github.com/users/Hugne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hugne/subscriptions","organizations_url":"https://api.github.com/users/Hugne/orgs","repos_url":"https://api.github.com/users/Hugne/repos","events_url":"https://api.github.com/users/Hugne/events{/privacy}","received_events_url":"https://api.github.com/users/Hugne/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T15:43:44Z","updated_at":"2015-06-03T15:43:44Z","body":"RHEL 7.1 pulled in commit:\r\nc53ed74 genetlink: only pass array to genl_register_family_with_ops()\r\n\r\nwhich broke the KABI.\r\nA while ago, i requested a KABI whitelist update to prevent issues like this \r\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1087454  (probably not public)\r\nIt seems that i missed this symbol...\r\n\r\nSo we (unfortunately) need to fork off the tipc kmod for RHEL7.1, and include a patch that addresses this.. :("}}