Find the answer to your Linux question:
Results 1 to 4 of 4
Hey, i want to install the cable drivers for a USB Xilinx FPGA programmer (DLC9G). I found the right drivers here: xilinx.com/support/documentation/configuration_hardware.htm Used kernel version & distribution: 2.6.35.14-106.fc14.x86_64 Problem: when ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2013
    Posts
    3

    Driver installation doesn't find utsrelease.h from kernel headers


    Hey,

    i want to install the cable drivers for a USB Xilinx FPGA programmer (DLC9G). I found the right drivers here: xilinx.com/support/documentation/configuration_hardware.htm

    Used kernel version & distribution: 2.6.35.14-106.fc14.x86_64

    Problem: when i run the installation executable i get the following error:
    Code:
    checking linux kernel version... hello.c:1:30: fatal error: linux/utsrelease.h: No such file or directory
    compilation terminated.
    not found
    configure: error: can't find kernel version
    A bit further in the output, i also get:
    Code:
                     from linux_wrappers.c:19:
    /lib/modules/2.6.35.14-106.fc14.x86_64/source/include/linux/prefetch.h:14:27: fatal error: asm/processor.h: No such file or directory
    compilation terminated.
    My best guess is that in the Xilinx drivers only work on kernels that are older than mine, versions that still have 'utsrelease.h' and 'processor.h' (and maybe others) on a place the installer expects.

    Is this kind of error common, if so can i solve it without going to an earlier kernel version?

    greetings,
    Foxbox

  2. #2
    Just Joined!
    Join Date
    Feb 2013
    Posts
    3
    Can a moderator move this topic to the subforum "kernel"? I think this topic belongs over there, rather than here... It's actually a kernel-related problem instead of fedora-related...

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Just a wide guess, do you have kernel-headers installed on your system?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Feb 2013
    Posts
    3
    Quote Originally Posted by Lazydog View Post
    Just a wide guess, do you have kernel-headers installed on your system?
    Yes, I have the kernel headers installed that match my running kernel. The installer script finds the correct directory where my kernel headers are installed, but cannot find utsrelease.h, because that particular file not located at linux/utsrelease.h but at a different location.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •