Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DAQmx .deb fails to install on Ubuntu (nipalk-bin.o missing)

Solved!
Go to solution

Hello,
I'm currently trying to install the NI-DAQmx 2025Q2 .deb package
on a clean installation of Ubuntu 24.04. Unfortunately,
the installation process fails during the configuration
of the ni-pal-dkms package, when attempting to build the nipalk
kernel module via DKMS.

The system parameters are:
- 24.04.2 LTS (Noble Numbat)
- Kernel Version: 6.14.0-24-generic

Command used: `sudo apt install -y ./ni-ubuntu2204-drivers-2025Q2.deb`,
with package downloaded from [link](https://www.ni.com/de/support/downloads/drivers/download.ni-daq-mx.html#569353) .

TL;DR: NI-DAQmx 2025Q2 .deb fails to install on Ubuntu 24.04 (kernel 6.14): nipalk.ko DKMS build error (nipalk-bin.o missing)

The error log:

 

apq@apq-MS-98L9:~/labscript-install$ sudo apt install -y ./ni-ubuntu2204-drivers-2025Q2.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'ni-software-2025-jammy' instead of './ni-ubuntu2204-drivers-2025Q2.deb'
The following NEW packages will be installed:
  ni-software-2025-jammy
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
111 not fully installed or removed.
Need to get 0 B/32.0 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /home/apq/labscript-install/ni-ubuntu2204-drivers-2025Q2.deb ni-software-2025-jammy all 25.3.0.49548-0+f396 [32.0 kB]
Selecting previously unselected package ni-software-2025-jammy.
(Reading database ... 171051 files and directories currently installed.)
Preparing to unpack .../ni-ubuntu2204-drivers-2025Q2.deb ...
Unpacking ni-software-2025-jammy (25.3.0.49548-0+f396) ...
Setting up ni-pal-dkms (25.3.0.49293-0+f141) ...
Removing old nipalk-25.3.0f141 DKMS files...
Deleting module nipalk-25.3.0f141 completely from the DKMS tree.
Loading new nipalk-25.3.0f141 DKMS files...
Building for 6.14.0-24-generic
Building initial module for 6.14.0-24-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/ni-pal-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.14.0-24-generic (x86_64)
Consult /var/lib/dkms/nipalk/25.3.0f141/build/make.log for more information.
dpkg: error processing package ni-pal-dkms (--configure):
 installed ni-pal-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of ni-daqmx-niwfr-dkms:
 ni-daqmx-niwfr-dkms depends on ni-pal-dkms (>= 25.3.0); however:
  Package ni-pal-dkms is not configured yet.

dpkg: error processing package ni-daqmx-niwfr-dkms (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ni-daqmx-nicdr-dkms:
 ni-daqmx-nicdr-dkms depends on ni-pal-dkms (>= 25.3.0); however:
  Package ni-pal-dkms is not configured yet.

 

following up with cascading dependency problems in other dkms modules: 
ni-daqmx-niesr-dkms, ni-daqmx-nisdig-dkms, ni-daqmx-niesr-dkms etc.

Relevant make.log `/var/lib/dkms/nipalk/25.3.0f141/build/make.log` shows:

 

`DKMS make.log for nipalk-25.3.0f141 for kernel 6.14.0-24-generic (x86_64)
Fri Jul 18 05:19:05 PM CEST 2025
Making nipalk.ko
make[3]: *** No rule to make target 'nipalk-bin.o', needed by 'nipalk.o'. Stop.
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-6.14.0-24-generic/Makefile:2002: .] Error 2
make[1]: *** [Makefile:251: __sub-make] Error 2
make: *** [Makefile:76: nipalk.ko] Error 2`

 

and crash file `/var/crash/ni-pal-dkms.0.crash`:

 

ProblemType: Package
DKMSBuildLog:
 DKMS make.log for nipalk-25.3.0f141 for kernel 6.14.0-24-generic (x86_64)
 Fri Jul 18 04:46:46 PM CEST 2025
 Making nipalk.ko
 make[3]: No rule to make target 'nipalk-bin.o', needed by 'nipalk.o'. Stop.
 make[3]: Waiting for unfinished jobs....
 make[2]: [/usr/src/linux-headers-6.14.0-24-generic/Makefile:2002: .] Error 2
 make[1]: [Makefile:251: __sub-make] Error 2
 make: *** [Makefile:76: nipalk.ko] Error 2
DKMSKernelVersion: 6.14.0-24-generic
Date: Fri Jul 18 16:46:47 2025
Package: ni-pal-dkms 25.3.0.49293-0+f141
PackageVersion: 25.3.0.49293-0+f141
SourcePackage: ni-pal-dkms
Title: ni-pal-dkms 25.3.0.49293-0+f141: nipalk kernel module failed to build

 

Is this a known issue with NIDAQmx on Ubuntu 24.04, kernel 6.14?
Is there any patch or workaround?

I'm happy to provide any additional logs or system information that may be needed.

 

0 Kudos
Message 1 of 3
(254 Views)

Same issue, slightly different output.  

 

tkendall_0-1753373357103.png

 

0 Kudos
Message 2 of 3
(209 Views)
Solution
Accepted by topic author okkhor

 

As far as I understand, the installation command should be: sudo apt install ./<...>.deb
The ./ is missing before the .deb file name
Hope this helps!


P.S. The NI driver from 2025Q3 was successfully installed without any errors. If you encounter the same problems, ensure that all previous NI drivers are completely removed before trying to install 2025Q3.

 

 

0 Kudos
Message 3 of 3
(173 Views)