12-31-2008 03:42 AM - edited 12-31-2008 03:48 AM
Hello,
When I try to install NIDAQmx8.0 I have this problem :
[root@localhost test]# ls
ConfigurationGuide.html LICENSE.txt PATENTS.txt UNINSTALL*
INSTALL* nidaqmx%8.0.1f0.tar.gz README.txt
[root@localhost test]# ./INSTALL
*****************************************************************************
NI%DAQmx for Linux Installer Distribution
version 8.0.1f0 for Linux
*****************************************************************************
To learn about the differences between NI%DAQmx in Linux and Windows, as well
as important device and application software support information, refer to the
readme file in the installer directory.
National Instruments products support the following Linux distributions:
Mandriva Linux Official
openSUSE
Red Hat Enterprise Linux Desktop + Workstation
Refer to README.txt for the latest information at the time of release.
Refer to www.ni.com/linux for the most recent information about Linux
support at National Instruments.
Continue? [Yn] Y
Checking required install tools...
Checking installer tool versions...
rpm 4.4.8 can be used with a default installation path
tar 1.18
Checking dependencies...
glibc 2.6.1
Unpacking install files to /tmp/nidaqmx%8.0.1f0.install...
******************************** ERROR ****************************************
* The version of gcc in the path does not match the version of gcc used to *
* compile the currently running kernel. This can cause unpredictable *
* behavior in kernel drivers and should be fixed. *
* gcc version: version gcc 4.2.2 20071128 (prerelease) (4.2.2%3.1mdv2008.0)
*
* kernel compiled with: 4.2.2 *
******************************** ERROR ****************************************
Installer is aborted.
[root@localhost test]#
I don't know what I can do. Please help me !
I work in Mandriva OS with RealTime kernel.
Thank you
Solved! Go to Solution.
12-31-2008 09:32 AM - edited 12-31-2008 09:37 AM
Can you post the output of:
cat /proc/version
and
gcc -v
Shawn Bohrer
National Instruments
01-02-2009 03:21 AM
[root@localhost DAQ]# cat /proc/version
01-02-2009 10:10 AM
OK, it looks like your gcc version string has been French localized and thus doesn't match the string stored in the kernel. To fix this you are going to have to make some modifications to the script that is performing the check. Copy the files from the iso image to a writeable location on your system then:
# Extract the files from the NI-DAQmx 8.0.1 tarball
tar xvzf nidaqmx-8.0.1f0.tar.gz
# Edit bin/installerUtility.sh and replace lines 340 and 341 with the following
currentGCCVersion=`$CC -v 2>&1 | tail -n 1 | $SED 's/.*gcc[a-zA-Z (]\+\([0-9][^ )]\+\).*/\1/'`
kernelGCCVersion=`$CAT /proc/version | $SED 's/.*gcc[a-zA-Z (]\+\([0-9][^ )]\+\).*/\1/'`
# Rebuild the NI-DAQmx tarball
tar cvzf nidaqmx-8.0.1f0.tar.gz bin/ rpms/
# Run the installer
./INSTALL
Shawn Bohrer
National Instruments
01-02-2009 10:39 AM
01-02-2009 11:49 AM
01-05-2009 08:01 AM
Merci pour votre réponse.
Nous devons obligatoirement être en temps reel a cause des contraintes de temps de cycle que nous avons. Est que vous avez une solution pour moi ?
Thank you for your answer.
I must necessarily be in real time because of the time cycle. Have you a solution ?
01-05-2009 09:41 AM - last edited on 06-11-2024 05:28 PM by Content Cleaner
As Troy mentioned you may be able to solve the installation problem by first modifying your /usr/src/linux/.config file to contain CONFIG_M586=y instead of CONFIG_MCORE2=y. Then you probably need to run make modules_prepare from the kernel source director. If you then run updateNIDrivers then it is possible that the NI drivers will load. However, our drivers are not optimized for RT and in our testing are known to causes lockups and hangs.
You didn't mention what hardware you are trying to use, but if you need to use an RT kernel you might be able to use the third party Comedi drivers, or if you have some driver writing experience you might be able to use the Measurement Hardware DDK.
Shawn Bohrer
National Instruments
01-06-2009 03:28 AM
Thank you for all.
I managed to install DAQmx801 and nilsdev work now.
Now I will test to read and write in cards
01-12-2009 10:11 AM
Hello,
I have a problem with reading the 8 first Analog Input in my PCI-6220.
I generate a signal with a PCI-6703 and when I read the value with my PCI-6220 I have a strange value in channels 0 to 7 but I have no problem with channels 8 to 15.
Do you have an idea for my problem ?