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

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
andersonm
Posts: 4
Joined: Mon 15. Nov 2021, 20:30

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

Post by andersonm » Mon 15. Nov 2021, 21:51

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?

M.Heidemann
Sales & Support
Sales & Support
Posts: 786
Joined: Fri 20. Sep 2019, 13:31

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

Post by M.Heidemann » Tue 16. Nov 2021, 08:34

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

andersonm
Posts: 4
Joined: Mon 15. Nov 2021, 20:30

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

Post by andersonm » Tue 16. Nov 2021, 16:14

This version of the driver compiles fine on Ubuntu 20.04. Thanks

M.Heidemann
Sales & Support
Sales & Support
Posts: 786
Joined: Fri 20. Sep 2019, 13:31

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

Post by M.Heidemann » Tue 16. Nov 2021, 16:16

Hello,

Thank you for your feedback!

Best Regards

Marvin

Post Reply