Page 1 of 1

Can peak-linux-driver still be compiled (on Ubuntu 20.04)

Posted: Mon 15. Nov 2021, 21:51
by andersonm
I'm trying to make some old code work and was trying to compile this driver to get the chardev functionality back. However, it seems I need 32 bit files (specifically 32 bit kernel source files) that no longer exist (I'm in Ubuntu 20.04). Or at least I am guessing that is the problem, it fails with
No rule to make target 'arch/x86/tools/relocs_32.c', needed by 'arch/x86/tools/relocs_32.o'

Is there some way to compile only for 64 bit architecture, or in general is this still possible and I'm missing something?

Re: Can peak-linux-driver still be compiled (on Ubuntu 20.04)

Posted: Tue 16. Nov 2021, 08:34
by M.Heidemann
Hello,

Thank you for your request.

Please try the recent version of the PCAN-Linux driver package,
we keep our drivers backwards compatible to software written in previous version.

http://www.peak-system.com/fileadmin/m ... 3.0.tar.gz

Should any issue arise running your application, please let us know.

Best Regards

Marvin

Re: Can peak-linux-driver still be compiled (on Ubuntu 20.04)

Posted: Tue 16. Nov 2021, 16:14
by andersonm
This version of the driver compiles fine on Ubuntu 20.04. Thanks

Re: Can peak-linux-driver still be compiled (on Ubuntu 20.04)

Posted: Tue 16. Nov 2021, 16:16
by M.Heidemann
Hello,

Thank you for your feedback!

Best Regards

Marvin