openSUSE Forums > Hardware » ixpio ICP-DAS driver install

Go Back   openSUSE Forums > Hardware
Forums FAQ Members List Search Today's Posts Mark Forums Read


Hardware Questions about drivers, peripheral cabling, configuration

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 29-Oct-2009, 15:07
Puzzled Penguin
 
Join Date: Oct 2009
Location: Togliatty
Posts: 2
Sinopteek hasn't been rated much yet
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
Reply With Quote
  #2 (permalink)  
Old 19-Nov-2009, 06:54
Puzzled Penguin
 
Join Date: Oct 2009
Location: Togliatty
Posts: 2
Sinopteek hasn't been rated much yet
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
Reply With Quote
Reply

Bookmarks

Tags
adc board, icp-das, ixpio


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2