LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-06-2004, 09:46 PM   #1
bishal
LQ Newbie
 
Registered: Feb 2004
Location: Nepal
Posts: 25

Rep: Reputation: 15
Error while installing DVB card in Redhat


Hello All,

I am trying to install DVB card receiver of Pentamedia in my redhat 8.0 linux box. When ever I try to compile the driver following errors comes. Can anyone identify what's wrong in my linux box?


----------------------------------------------------------------------
[root@abc-proxy pentanet-RHx-2.3.1]# make
cd . && autoheader
autoheader: `config.h.in' is unchanged
touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/usr/local/src/pentanet-RHx-2.3.1'
Making all in driver
make[2]: Entering directory `/usr/local/src/pentanet-RHx-2.3.1/driver'
gcc -march=i486 -DCPU=486 -D__SMP__ -DMODVERSIONS -DMODULE -D__KERNEL__ -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce -pipe -malign-loops=2 -malign-jumps=2 -malign-functions=2 -I/usr/src/linux/include -c pentaif.c
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
In file included from pentaif.c:9:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
In file included from /usr/include/linux/fs.h:23,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:9,
from /usr/include/linux/delay.h:12,
from pentaif.c:14:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/sched.h:14,
from /usr/include/linux/delay.h:12,
from pentaif.c:14:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from /usr/include/linux/delay.h:12,
from pentaif.c:14:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from /usr/include/linux/delay.h:12,
from pentaif.c:14:
/usr/include/asm/signal.h:107: parse error before "sigset_t"
/usr/include/asm/signal.h:110: parse error before '}' token
In file included from /usr/include/linux/sched.h:81,
from /usr/include/linux/delay.h:12,
from pentaif.c:14:
/usr/include/linux/timer.h:45: parse error before "spinlock_t"
/usr/include/linux/timer.h:53: parse error before '}' token
/usr/include/linux/timer.h:67: parse error before "tvec_base_t"
/usr/include/linux/timer.h:101: parse error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: dereferencing pointer to incomplete type
In file included from pentaif.c:14:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
pentaif.c:15:56: asm/uaccess.h: No such file or directory
pentaif.c: In function `if_kmalloc':
pentaif.c:28: warning: implicit declaration of function `kmalloc'
pentaif.c:28: warning: return makes pointer from integer without a cast
pentaif.c: In function `if_kfree':
pentaif.c:38: warning: implicit declaration of function `kfree'
pentaif.c:38: warning: `return' with a value, in function returning void
pentaif.c: In function `if_copy_from_user':
pentaif.c:48: warning: implicit declaration of function `copy_from_user'
pentaif.c: In function `if_udelay':
pentaif.c:68: warning: implicit declaration of function `udelay'
pentaif.c: In function `if_readb':
pentaif.c:88: warning: implicit declaration of function `readb'
pentaif.c: In function `if_readw':
pentaif.c:98: warning: implicit declaration of function `readw'
pentaif.c: In function `if_readl':
pentaif.c:108: warning: implicit declaration of function `readl'
pentaif.c: In function `if_writeb':
pentaif.c:118: warning: implicit declaration of function `writeb'
pentaif.c: In function `if_writew':
pentaif.c:128: warning: implicit declaration of function `writew'
pentaif.c: In function `if_writel':
pentaif.c:138: warning: implicit declaration of function `writel'
make[2]: *** [pentaif.o] Error 1
make[2]: Leaving directory `/usr/local/src/pentanet-RHx-2.3.1/driver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/pentanet-RHx-2.3.1'
make: *** [all] Error 2
==================================================
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DVB card is not working kapa Linux - Hardware 2 11-13-2005 06:57 AM
Cannot detect Cinergy1200 DVB-C card Ankardo Linux - Hardware 0 06-27-2005 09:58 AM
DVB-T card ,Installing , please help!, Leadtek LR6650 cRuNcHiE Linux - Hardware 3 12-07-2004 04:15 PM
how do you use a nova-t DVB card ? Snerkel Linux - Hardware 1 09-12-2004 04:46 PM
Cant able to install DVB Card Driver. neos Linux - Hardware 2 09-22-2003 04:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration