The batman layer3 kernel module does not appear to compile on the 2.6.26-rc8 & rc9 kernels. Is this a known bug?
Hello Mark,
thanks for the report. The issue should be fixed with revision 1099.
regards Simon
On Mon, Jul 14, 2008 at 08:58:11AM -0400, Mark Kelly wrote:
The batman layer3 kernel module does not appear to compile on the 2.6.26-rc8 & rc9 kernels. Is this a known bug?
B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
Hey Simon,
I just got around to trying this again on 2.6.26 final and I'm still getting a fail error on the gateway module, and I've tried it using r1099 and r1100 under openwrt on an ixp4xx board.
make[3]: Entering directory `/opt/openwrt/k1/build_dir/linux-ixp4xx_generic/linux-2.6.26' CC [M] /opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/linux/modules/gateway.o /opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/linux/modules/gateway.c: In function 'init_module': /opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/linux/modules/gateway.c:93: error: implicit declaration of function 'class_device_create' /opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/linux/modules/gateway.c: In function 'cleanup_module': /opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/linux/modules/gateway.c:118: error: implicit declaration of function 'class_device_destroy' make[4]: *** [/opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/linux/modules/gateway.o] Error 1 make[3]: *** [_module_/opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/linux/modules] Error 2 make[3]: Leaving directory `/opt/openwrt/k1/build_dir/linux-ixp4xx_generic/linux-2.6.26' make[2]: *** [/opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/.built] Error 2 make[2]: Leaving directory `/opt/openwrt/packages/net/batman' make[1]: *** [package/batman/compile] Error 2 make[1]: Leaving directory `/opt/openwrt/k1' make: *** [package/batman-compile] Error 2
On Mon, 2008-07-14 at 17:49 +0200, Simon Wunderlich wrote:
Hello Mark,
thanks for the report. The issue should be fixed with revision 1099.
regards Simon
On Mon, Jul 14, 2008 at 08:58:11AM -0400, Mark Kelly wrote:
The batman layer3 kernel module does not appear to compile on the 2.6.26-rc8 & rc9 kernels. Is this a known bug?
B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
On Friday 18 July 2008 03:48:27 Mark Kelly wrote:
I just got around to trying this again on 2.6.26 final and I'm still getting a fail error on the gateway module, and I've tried it using r1099 and r1100 under openwrt on an ixp4xx board.
Please look at device.c on line 88 till 92. There should be a #if section with should definitly use device_create_drvdata instead of class_device_create. Please check if it is there... your debug output looks like it isn't there (which sounds like a broken svn checkout). I think that it is that because your line numbers in your build log are different.
If it is correct, please check the version numbers in our linux toplevel Makefile (should be VERSION = 2, PATCHLEVEL = 6 and SUBLEVEL = 26).
I tried it now with vanilla 2.6.29-rc9 and it worked fine for me. I will try it on openwrt later
regards, Sven
Hello Mark,
the lines of your error messages seem to be wrong. As Sven pointed out, your SVN checkout might be broken. Please check your gateway.c file against the latest trunk: https://dev.open-mesh.net/svn/batman/trunk/batman/linux/modules/gateway.c and see if it is matching. There is no code about class_device_* on line 93 and 118 in the latest file. The module compiles fine against linux 2.6.26 final on my system...
regards Simon
On Thu, Jul 17, 2008 at 09:48:27PM -0400, Mark Kelly wrote:
Hey Simon,
I just got around to trying this again on 2.6.26 final and I'm still getting a fail error on the gateway module, and I've tried it using r1099 and r1100 under openwrt on an ixp4xx board.
make[3]: Entering directory `/opt/openwrt/k1/build_dir/linux-ixp4xx_generic/linux-2.6.26' CC [M] /opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/linux/modules/gateway.o /opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/linux/modules/gateway.c: In function 'init_module': /opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/linux/modules/gateway.c:93: error: implicit declaration of function 'class_device_create' /opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/linux/modules/gateway.c: In function 'cleanup_module': /opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/linux/modules/gateway.c:118: error: implicit declaration of function 'class_device_destroy' make[4]: *** [/opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/linux/modules/gateway.o] Error 1 make[3]: *** [_module_/opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/linux/modules] Error 2 make[3]: Leaving directory `/opt/openwrt/k1/build_dir/linux-ixp4xx_generic/linux-2.6.26' make[2]: *** [/opt/openwrt/k1/build_dir/armeb/batman-0.3-r1100/.built] Error 2 make[2]: Leaving directory `/opt/openwrt/packages/net/batman' make[1]: *** [package/batman/compile] Error 2 make[1]: Leaving directory `/opt/openwrt/k1' make: *** [package/batman-compile] Error 2
On Mon, 2008-07-14 at 17:49 +0200, Simon Wunderlich wrote:
Hello Mark,
thanks for the report. The issue should be fixed with revision 1099.
regards Simon
On Mon, Jul 14, 2008 at 08:58:11AM -0400, Mark Kelly wrote:
The batman layer3 kernel module does not appear to compile on the 2.6.26-rc8 & rc9 kernels. Is this a known bug?
B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
B.A.T.M.A.N mailing list B.A.T.M.A.N@open-mesh.net https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
b.a.t.m.a.n@lists.open-mesh.org