FUDforum
My FUDforum

Home »  » DeviceMaster RTS, Pro and Serial Hub » Devicemaster v7.27 compile errors [Fedora Linux]
Devicemaster v7.27 compile errors [Fedora Linux] [message #958] Wed, 02 May 2018 20:03 Go to next message
lexridge is currently offline  lexridge
Messages: 2
Registered: May 2018
Junior Member
I am aware this soucecode is stated to be compatible up to kernel version 4.10. I am attempting to build it in Fedora 26 using a 4.15 kernel and it is failing. I am using GCC v7.3. Here is the error I am getting:

$ make
LINUX_VERSION: "4.15.17-200.fc26.x86_64"
LINUX_SRC: "/lib/modules/4.15.17-200.fc26.x86_64/build"
make -C /lib/modules/4.15.17-200.fc26.x86_64/build SUBDIRS=/home/hines_j/Desktop/Downloads/Comtrol/devicemaster-linux-7.27 modules
make[1]: Entering directory '/usr/src/kernels/4.15.17-200.fc26.x86_64'
  CC [M]  /home/hines_j/Desktop/Downloads/Comtrol/devicemaster-linux-7.27/nslink.o
/home/hines_j/Desktop/Downloads/Comtrol/devicemaster-linux-7.27/nslink.c: In function 'init_hub_state':
/home/hines_j/Desktop/Downloads/Comtrol/devicemaster-linux-7.27/nslink.c:2375:9: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration]
         init_timer(&si->timer);
         ^~~~~~~~~~
         init_timers
/home/hines_j/Desktop/Downloads/Comtrol/devicemaster-linux-7.27/nslink.c:2402:18: error: 'struct timer_list' has no member named 'data'
         si->timer.data = (unsigned long) si;
                  ^
/home/hines_j/Desktop/Downloads/Comtrol/devicemaster-linux-7.27/nslink.c:2403:28: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
         si->timer.function = si_timer;
                            ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:331: /home/hines_j/Desktop/Downloads/Comtrol/devicemaster-linux-7.27/nslink.o] Error 1
make[1]: *** [Makefile:1527: _module_/home/hines_j/Desktop/Downloads/Comtrol/devicemaster-linux-7.27] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.15.17-200.fc26.x86_64'
make: *** [Makefile:30: all] Error 2


Any idea what I could change in the source code to make this build? I had it working very well under Fedora 25, but as many of you, the fedora kernel updates frequently.
Re: Devicemaster v7.27 compile errors [Fedora Linux] [message #959 is a reply to message #958] Thu, 03 May 2018 09:43 Go to previous messageGo to next message
Kurt is currently offline  Kurt
Messages: 290
Registered: July 2016
Location: Minnesota
Power User
Hi,

Try this binary:
http://downloads.comtrol.com/contribs/devicemaster/beta/devi cemaster-linux-7.28.tar.gz


It should be good up to v4.17 kernel.

Let me know if it works.

Thanks,
Kurt


Kurt Rees
www.comtrol.com
http://forum.comtrol.com/

Comtrol Corporation
100 Fifth Ave NW
Minneapolis, MN. 55112
Direct +1 763.957.6000 | +1 Fax (763) 957-6001
connect. communicate. control
Re: Devicemaster v7.27 compile errors [Fedora Linux] [message #960 is a reply to message #959] Thu, 03 May 2018 18:06 Go to previous messageGo to next message
lexridge is currently offline  lexridge
Messages: 2
Registered: May 2018
Junior Member
Kurt wrote on Thu, 03 May 2018 10:43
Hi,

Try this binary:
http://downloads.comtrol.com/contribs/devicemaster/beta/devi cemaster-linux-7.28.tar.gz


It should be good up to v4.17 kernel.

Let me know if it works.

Thanks,
Kurt


Worked perfectly!!
Thank you very very much!


Re: Devicemaster v7.27 compile errors [Fedora Linux] [message #961 is a reply to message #960] Fri, 04 May 2018 07:10 Go to previous message
Kurt is currently offline  Kurt
Messages: 290
Registered: July 2016
Location: Minnesota
Power User
I'm glad it worked.

Kurt



Kurt Rees
www.comtrol.com
http://forum.comtrol.com/

Comtrol Corporation
100 Fifth Ave NW
Minneapolis, MN. 55112
Direct +1 763.957.6000 | +1 Fax (763) 957-6001
connect. communicate. control
Previous Topic: UDP setting
Next Topic: Cant open COM Ports
Goto Forum:
  


Current Time: Wed Jun 23 00:10:02 CDT 2021

Total time taken to generate the page: 0.00958 seconds