Results 1 to 2 of 2

Thread: ixpio ICP-DAS driver install

  1. #1
    Join Date
    Oct 2009
    Location
    Togliatty
    Posts
    4

    Question ixpio ICP-DAS driver install

    I have one ADC board PISO-813 from ICP-DAS.
    I'm try'ing to compile driver from ICPDAS.
    This driver must support kernels 2.4,2.6

    kernel of my linux - default for OpenSuse 11.1 - 2.6.27.7-9-default (answer "uname -r")

    On my OS I install following packages:
    kernel-source-2.6.27.7-9.1.x86_64
    kernel-syms-2.6.27.7-9.1-9.1.x86_64
    linux-kernel-headers 2.6.27-2.28
    kernel-default-2.6.27.7-9.1.x86_64
    kernel-default-base-2.6.27.7-9.1.x86_64
    kernel-default-extra-2.6.27.7-9.1.x86_64

    installing driver have 3 steps:
    1 ./configure - running OK after installing make, GCC, kernel source & kernel headers
    2 make - print me some errors like this
    "LINUX_VERSION_CODE" is not defined
    "KERNEL_VERSION" is not defined
    3 make install - i don't run, because i have some problems on step 2

    I think that LINUX_VERSION_CODE & KERNEL_VERSION must be defined in linux.h(find by google), but i can't find linux.h in my system although i install linux-kernel-headers 2.6.27-2.28.
    What i do wrong? How i can install this driver?

    p.s. excuse me for my english

  2. #2
    Join Date
    Oct 2009
    Location
    Togliatty
    Posts
    4

    Default Re: ixpio ICP-DAS driver install

    I found way to compile driver :

    In kernel source directory i run this commands:
    cd /usr/src/linux #default link to kernel source code directory
    make mrproper
    make cloneconfig
    make prepare

    i unpack driver by this command:
    tar zxfv ixpio.tar.gz

    after i copy all headers from directory "include" to directory "driver"
    cd ixpio
    cp include/*.h driver/

    after this driver will build completly:
    ./configure
    make

Tags for this Thread

Posting Permissions

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