On Tue, Sep 23, 2014 at 3:09 PM, Vasudev Kamath <[email protected]> wrote:
> make[3]: Entering directory > `/home/vasudev/Documents/Sources/KernelStuff/linux-3.14.18' > CC [M] /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/iovec.o > CC [M] /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtdev.o > CC [M] /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtdev_mgr.o > CC [M] > /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtnet_chrdev.o > CC [M] > /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtnet_module.o > /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtnet_module.c: > In function _rtnet_proc_register_: > /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtnet_module.c:212:5: > error: implicit declaration of function _create_proc_entry_ > [-Werror=implicit-function-declaration] > /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtnet_module.c:212:21: > warning: assignment makes pointer from integer without a cast [enabled > by default] > /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtnet_module.c:216:16: > warning: assignment makes pointer from integer without a cast [enabled > by default] > /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtnet_module.c:220:15: > error: dereferencing pointer to incomplete type > /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtnet_module.c:222:16: > warning: assignment makes pointer from integer without a cast [enabled > by default] > /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtnet_module.c:226:15: > error: dereferencing pointer to incomplete type > /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtnet_module.c:228:16: > warning: assignment makes pointer from integer without a cast [enabled > by default] > /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtnet_module.c:232:15: > error: dereferencing pointer to incomplete type > /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtnet_module.c:234:16: > warning: assignment makes pointer from integer without a cast [enabled > by default] > /home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtnet_module.c:237:15: > error: dereferencing pointer to incomplete type > cc1: some warnings being treated as errors > make[4]: *** > [/home/vasudev/Documents/Sources/KernelStuff/rtnet/stack/rtnet_module.o] > Error 1 > make[3]: *** [_module_/home/vasudev/Documents/Sources/KernelStuff/rtnet/stack] > Error 2 > make[3]: Leaving directory > `/home/vasudev/Documents/Sources/KernelStuff/linux-3.14.18' > make[2]: *** [all-local.ko] Error 2 > make[2]: Leaving directory > `/home/vasudev/Documents/Sources/KernelStuff/rtnet/stack' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/vasudev/Documents/Sources/KernelStuff/rtnet/stack' > make: *** [all-recursive] Error 1 > OK I took a dig at this and managed to fix these errors. I'm attaching my patch with this mail. This patch is compiled against Linux Kernel 3.14.18 patched with Xenomai 2.6.3 git snapshot taken on September 21 2014. I'm doing this for the first time so please let me know if I made any mistakes. Also this patch works on top of patch sent by Anders Blomdell [1]. I've just read through changes made by Andres and did the changes to tcp udp and af_inet files after reading through new function and macros in kernel 3.14. (Hint: Jan, Anders I would be happy to get your review for the patch) On a second note I didn't get chance to test this patch as I've not yet compiled the kernel to the device where I'm supposed to use this. I will update the working status once I get it running on my device. [1] https://www.mail-archive.com/[email protected]/msg00654.html Warm Regards -- Vasudev Kamath http://copyninja.info copyninja@{frndk.de|vasudev.homelinux.net}
rtnet_tcp_udp_3.14.18.patch
Description: Binary data
------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________ RTnet-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rtnet-developers

