Hello, did someone is using rt-net to the configuration
Ubuntu 4.14 Linux-3:14:17 Xenomai-2.6.4 gcc-4.8 g ++ 4.8?

Following the instructions:

# Install RTnet
Get patch # 0001-Fix-compilatin-issues-on-kernel-above-3.10.patch from
#
http://sourceforge.net/p/rtnet/mailman/attachment/548fe484eab803.95654079%40wp.pl/1/
#
Put patch # 0001-Fix-compilatin-issues-on-kernel-above-3.10.patch
# In / usr / src

sudo git clone git: //git.code.sf.net/p/rtnet/code rtnet-code
sudo ln -s rtnet-code rtnet
cd rtnet
sudo git apply ../0001-Fix-compilatin-issues-on-kernel-above-3.10.patch
sudo su
# make menuconfig Select drivers for amd and intel NICs
exit
sudo make -j8 (ERROR HAPPENS HERE)
sudo make install

In the make command is generated the following error ...

Does anyone know how to fix this?

Thanks.

Error bellow...
/usr/src/rtnet-code/stack/rtnet_module.c: In function
‘rtnet_read_proc_version’:
/usr/src/rtnet-code/stack/rtnet_module.c:122:55: error: macro "__DATE__"
might prevent reproducible builds [-Werror=date-time]
         "RTnet " RTNET_PACKAGE_VERSION " - built on " __DATE__ " "
__TIME__ "\n"
                                                       ^
/usr/src/rtnet-code/stack/rtnet_module.c:122:68: error: macro "__TIME__"
might prevent reproducible builds [-Werror=date-time]
         "RTnet " RTNET_PACKAGE_VERSION " - built on " __DATE__ " "
__TIME__ "\n"
                                                                    ^
/usr/src/rtnet-code/stack/rtnet_module.c: In function ‘rtnet_proc_register’:
/usr/src/rtnet-code/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-code/stack/rtnet_module.c:212:21: warning: assignment makes
pointer from integer without a cast
     rtnet_proc_root = create_proc_entry("rtnet", S_IFDIR, 0);
                     ^
/usr/src/rtnet-code/stack/rtnet_module.c:216:16: warning: assignment makes
pointer from integer without a cast
     proc_entry = create_proc_entry("devices", S_IFREG | S_IRUGO | S_IWUSR,
                ^
/usr/src/rtnet-code/stack/rtnet_module.c:220:15: error: dereferencing
pointer to incomplete type
     proc_entry->read_proc = rtnet_read_proc_devices;
               ^
/usr/src/rtnet-code/stack/rtnet_module.c:222:16: warning: assignment makes
pointer from integer without a cast
     proc_entry = create_proc_entry("rtskb", S_IFREG | S_IRUGO | S_IWUSR,
                ^
/usr/src/rtnet-code/stack/rtnet_module.c:226:15: error: dereferencing
pointer to incomplete type
     proc_entry->read_proc = rtnet_read_proc_rtskb;
               ^
/usr/src/rtnet-code/stack/rtnet_module.c:228:16: warning: assignment makes
pointer from integer without a cast
     proc_entry = create_proc_entry("version", S_IFREG | S_IRUGO | S_IWUSR,
                ^
/usr/src/rtnet-code/stack/rtnet_module.c:232:15: error: dereferencing
pointer to incomplete type
     proc_entry->read_proc = rtnet_read_proc_version;
               ^
/usr/src/rtnet-code/stack/rtnet_module.c:234:16: warning: assignment makes
pointer from integer without a cast
     proc_entry = create_proc_entry("stats", S_IRUGO, rtnet_proc_root);
                ^
/usr/src/rtnet-code/stack/rtnet_module.c:237:15: error: dereferencing
pointer to incomplete type
     proc_entry->read_proc = rtnet_read_proc_stats;
               ^
/usr/src/rtnet-code/stack/rtnet_module.c: In function ‘rtnet_init’:
/usr/src/rtnet-code/stack/rtnet_module.c:280:64: error: macro "__DATE__"
might prevent reproducible builds [-Werror=date-time]
     printk("\n*** RTnet " RTNET_PACKAGE_VERSION " - built on " __DATE__ "
" __TIME__
                                                                ^
/usr/src/rtnet-code/stack/rtnet_module.c:280:77: error: macro "__TIME__"
might prevent reproducible builds [-Werror=date-time]
     printk("\n*** RTnet " RTNET_PACKAGE_VERSION " - built on " __DATE__ "
" __TIME__

 ^
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/rtnet-code/stack/rtnet_module.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [_module_/usr/src/rtnet-code/stack] Error 2
make[3]: Leaving directory `/usr/src/linux-3.14.17'
make[2]: *** [all-local.ko] Error 2
make[2]: Leaving directory `/usr/src/rtnet-code/stack'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/rtnet-code/stack'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to