06-23-2008 12:13 PM
Solved! Go to Solution.
06-25-2008 02:52 AM
Hi,
Thats a very unusual error to get, it suggests your gcc version was not the version used to create your systems kernel - have you upgraded gcc since your installation of SuSE 11 via yum/up2date?
The only workaround I can think of is to use the lower version of gcc on your system and set the correct path via symlinks, although if this is an error raised right away following a fresh install then it just looks as though SuSE hasn't installed something as the software expects it.
All the best,
06-25-2008 10:57 AM
06-25-2008 11:38 AM
Hi,
Thanks for letting me know, I'm glad a symlink helped solve the issue and allowed the correct path/gcc version to build
All the best,
07-14-2008 01:12 PM
07-15-2008 01:46 AM
Hi David,
Thanks for posting this workaround to the community,
All the best,
08-08-2008 05:54 PM
08-15-2008 02:23 PM
I am having a very similar problem while installing NI-VISA 4.4 with open SuSE 11.0 kernel 2.6.25.5-1.1-pae, I get the same error message.
->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 :Linux)
-> kernel compiled with: 4.3.1
-> Installation abored.
Then I check the gcc version:
$ gcc --version
-> gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]
I have tried the solutions posted with no success
08-27-2008 10:12 AM
This will be fixed in the next release of NI-KAL (1.9). The problem is that we used "gcc --version" instead of "gcc -v" which matches the string reported by the kernel. You can either wait for the official release of NI-KAL 1.9 or if you are comfortable messing with shell scripts you can edit:
/usr/local/natinst/nikal/bin/installerUtility.sh
Search for currentGCCVersion, and replace it with something like:
currentGCCVersion=`$CC -v 2>&1 | tail -n 1 | $SED 's/.*gcc version \([0-9][^ )]*\).*/\1/'`
Of course your gcc version still needs to match. After editing the script you should be able to run updateNIDrivers to compile NI-KAL and the corresponding drivers for your kernel.
Shawn Bohrer
National Instruments
09-15-2008 05:17 PM
Shawn,
Is there a mailing list I can sign on to be notified about the next release?
(NI-KAL 1.9).
Release schedule?
Thanks,
Ali