Kernel Source Error Installing DAQmx Base 3.7 on OpenSUSE 12.1 or 12.2

Updated Jan 10, 2019

Reported In


  • NI-DAQmx Base 3.7

Issue Details

I'm trying to install DAQmx Base 3.7 on OpenSUSE 12.1 or 12.2, but I'm getting the following errors: 

Kernel source does not appear to be installed for the 3.4.6-2.10-default kernel. Installation of the kernel-source package for kernel 3.4.6-2.10-default is required to continue this installation.


Kernel source in /lib/modules/3.4.47-2.38-default/source does not appear to be configured for the 3.4.47-2.38-default kernel. Configuration of the kernel source is required to continue installation.

Why am I getting these errors, and how do I resolve them?


DAQmx Base 3.7 depends on NI VISA to install, but VISA will not install properly unless the correct kernel sources are installed and configured. The following process describes how this is accomplished (the screen shots below show the command line inputs for clarity).
  1. Ensure that your distribution is fully updated. This can be accomplished from the command line by first logging in as root (super user) with the su command:
  2. Insert zypper update
  3. Install the needed sources with zypper install kernel-source kernel-devel kernel-headers kernel-syms gcc make glibc-headers glibc-devel:
  4. Now that the correct kernel sources are installed, they need to be configured for the kernel that is running on the machine. Change the current directory to /usr/src/linux-version where version corresponds to the currently running kernel, which can be determined with the uname –r command: 
  5. Run zcat /boot/symvers-<version>.gz > Module.symvers to prepare modversion support: 
  6. Run make cloneconfig to configure the sources for the currently running kernel: 
  7. Run make modules_prepare to prepare the headers for compilation: 
  8. The kernel sources should now be installed and properly configured to allow VISA and DAQmx Base to install. To begin the installation, mount the nidaqmxbase-3.7.0.iso to a directory on your system using the command mount –o loop nidaqmxbase-3.7.0.iso /mnt/iso. For this example, the directory /mnt/iso was created using the mkdir command for this purpose:
  9. Change to the /mnt/iso directory and then type ./INSTALL to install VISA and DAQmx Base 3.7:

Additional Information

If your computer has a 64-bit processor and more than 4 GB of RAM, then you will need to limit the amount of memory OpenSUSE accesses since DAQmx Base 3.7 is built on 32-bit DLL’s. 

For OpenSUSE 12.1:
Add mem=4096M to /boot/grub/menu.lst as a boot flag. Place it at the end of the line that begins with kernel and is followed by a series of boot flags. 

For OpenSUSE 12.2: 
Add mem=4096M at the end of the GRUB_CMDLINE_LINUX_DEFAULT line of the /etc/default/grub file: 
Save the file, then run grub2-mkconfig –o /boot/grub2/grub.cfg to update the grub2 configuration. 

For both 12.1 and 12.2: 
Reboot the system then run the updateNIDrivers script: 
After rebooting again, running the lsdaq command should display the NI DAQ devices connected to your system: 


Not Helpful