...due to the lack of create_proc_entry in newer kernels.
/usr/src/rtnet-7c8ba10/stack/rtnet_module.c: In function ‘rtnet_proc_register’:
/usr/src/rtnet-7c8ba10/stack/rtnet_module.c:212:5: error: implicit declaration
of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
rtnet_proc_root = create_proc_entry("rtnet", S_IFDIR, 0);
^
/usr/src/rtnet-7c8ba10/stack/rtnet_module.c:212:21: warning: assignment makes
pointer from integer without a cast [enabled by default]
rtnet_proc_root = create_proc_entry("rtnet", S_IFDIR, 0);
^
/usr/src/rtnet-7c8ba10/stack/rtnet_module.c:216:16: warning: assignment makes
pointer from integer without a cast [enabled by default]
proc_entry = create_proc_entry("devices", S_IFREG | S_IRUGO | S_IWUSR,
^
/usr/src/rtnet-7c8ba10/stack/rtnet_module.c:220:15: error: dereferencing
pointer to incomplete type
proc_entry->read_proc = rtnet_read_proc_devices;
^
/usr/src/rtnet-7c8ba10/stack/rtnet_module.c:222:16: warning: assignment makes
pointer from integer without a cast [enabled by default]
proc_entry = create_proc_entry("rtskb", S_IFREG | S_IRUGO | S_IWUSR,
^
/usr/src/rtnet-7c8ba10/stack/rtnet_module.c:226:15: error: dereferencing
pointer to incomplete type
proc_entry->read_proc = rtnet_read_proc_rtskb;
^
/usr/src/rtnet-7c8ba10/stack/rtnet_module.c:228:16: warning: assignment makes
pointer from integer without a cast [enabled by default]
proc_entry = create_proc_entry("version", S_IFREG | S_IRUGO | S_IWUSR,
^
/usr/src/rtnet-7c8ba10/stack/rtnet_module.c:232:15: error: dereferencing
pointer to incomplete type
proc_entry->read_proc = rtnet_read_proc_version;
^
/usr/src/rtnet-7c8ba10/stack/rtnet_module.c:234:16: warning: assignment makes
pointer from integer without a cast [enabled by default]
proc_entry = create_proc_entry("stats", S_IRUGO, rtnet_proc_root);
^
/usr/src/rtnet-7c8ba10/stack/rtnet_module.c:237:15: error: dereferencing
pointer to incomplete type
proc_entry->read_proc = rtnet_read_proc_stats;
^
cc1: some warnings being treated as errors
Is a stack/kcompat.h (and changes to stack/rtnet_module.c) the way to handle
this?
/Anders
--
Anders Blomdell Email: [email protected]
Department of Automatic Control
Lund University Phone: +46 46 222 4625
P.O. Box 118 Fax: +46 46 138118
SE-221 00 Lund, Sweden
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
RTnet-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-developers