Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to build NI-KAL on 5.15.0-58: error: ‘ASYNC_CHECK_CD’ undeclared

Hi,

 

I have been trying to install ubuntu firstlook drivers on ubuntu 20.04 / 5.15 kernel.

At first I ran into de modversions.h error which is known and I used the recommended workaround:

 

sudo touch /usr/src/linux-headers-$(uname -r)/include/config/modversions.h 

 

 

Now when I try to install the packages I don't have the "modversions" error any more but NI-KAL build fails everytime:

 

Making nikal.ko
  CC [M]  /var/lib/dkms/nikal/21.0.0f325/build/nikal.o
/var/lib/dkms/nikal/21.0.0f325/build/nikal.c: In function ‘nNIKAL1_ttyport_check_carrier’:
/var/lib/dkms/nikal/21.0.0f325/build/nikal.c:335:25: error: ‘ASYNC_CHECK_CD’ undeclared (first use in this function)
  335 |    return port->flags & ASYNC_CHECK_CD;
      |                         ^~~~~~~~~~~~~~

 

 

I tried rebooting / different versions of the drivers but there is nothing to do I keep getting the same error.

 

Any help would be greatly appreciated !

 

Thanks

0 Kudos
Message 1 of 2
(1,211 Views)

It looks like you are using the 2021Q3 firstlook.  It was only tested/supported on kernel 5.8.  Try the 2022 Q4 release instead, no firstlook needed.

0 Kudos
Message 2 of 2
(1,194 Views)