[afnog] Pentavalue Card with Fedora Core 1

anyuru francis anyfrancis at yahoo.com
Wed Sep 7 12:11:18 EAT 2005


How are you people am installing a Penta Value DVB
card on Fedora Redhat Core1.
 Downloaded the package and followed what the
instructions in the Instal file.

The first commands are all fine till the make I can't
make. I was thinking that It could be due to the
Symbolic link for the kernel source. Because am not
sure where the kernel source for Redhat is.
I tried to create symbolic links to /usr and
/lib/modules/2.4.22-1.2199.nptl/ but all in vain and
every time I do a symbolic link I redo the automake
commad and then the make command.

These are the commands I run

#autoheader
#autoconf
#aclocal
#automake
[root at localhost pentaval-RHx-2.1.10]# ln -s
/lib/modules/2.4.22-1.2199.nptl/ /usr/src/linux/
[root at localhost pentaval-RHx-2.1.10]# automake
[root at localhost pentaval-RHx-2.1.10]# ./configure
checking for a BSD-compatible install...
/usr/bin/install -c
checking whether build environment is sane... yes
/home/francis/Desktop/pentaval-RHx-2.1.10/config/missing:
Unknown `--run' option
Try
`/home/francis/Desktop/pentaval-RHx-2.1.10/config/missing
--help' for more information
configure: WARNING: `missing' script is too old or
missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler...
yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none
needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be
included... yes
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for gettimeofday... yes
checking for socket... yes
checking for strtol... yes
checking "your running kernel version is"...
"2.4.22-1.2199.nptl"
checking "/usr/src/linux"... found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating driver.spec
config.status: creating tools/Makefile
config.status: creating driver/Makefile
config.status: creating apps/Makefile
config.status: creating apps/libif/Makefile
config.status: creating apps/libapp/Makefile
config.status: creating apps/test/Makefile
config.status: creating apps/monitor/Makefile
config.status: creating apps/textapp/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
[root at localhost pentaval-RHx-2.1.10]# make
make  all-recursive
make[1]: Entering directory
`/home/francis/Desktop/pentaval-RHx-2.1.10'
Making all in driver
make[2]: Entering directory
`/home/francis/Desktop/pentaval-RHx-2.1.10/driver'
gcc -march=i486 -DCPU=486 -D__SMP__ -DMODVERSIONS 
-DMODULE -D__KERNEL__ -O2 -Wall -Wstrict-prototypes
-fomit-frame-pointer -fno-strength-reduce -pipe
-falign-loops=2 -falign-jumps=2 -falign-functions=2
-I/usr/src/linux/include  -c pentaif.c
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/sched.h:14,
                 from /usr/include/linux/delay.h:12,
                 from pentaif.c:14:
/usr/include/linux/timex.h:56: error: syntax error
before "and"
In file included from /usr/include/linux/timex.h:126,
                 from /usr/include/linux/sched.h:14,
                 from /usr/include/linux/delay.h:12,
                 from pentaif.c:14:
/usr/include/asm/timex.h:33: error: syntax error
before "cacheflush_time"
/usr/include/asm/timex.h:35: error: syntax error
before "get_cycles"
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:147: error: 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:327:2: warning: #warning
This includefile is not available on all
architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning
Using kernel headers in userspace: atomicity not
guaranteed
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: error: syntax error
before "sigset_t"
/usr/include/asm/signal.h:110: error: syntax 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: error: syntax error
before "spinlock_t"
/usr/include/linux/timer.h:53: error: syntax error
before '}' token
/usr/include/linux/timer.h:67: error: syntax error
before "tvec_base_t"
/usr/include/linux/timer.h:101: error: syntax error
before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: error: dereferencing
pointer to incomplete type
/usr/include/linux/timer.h:105: error: dereferencing
pointer to incomplete type
/usr/include/linux/timer.h:106: error: dereferencing
pointer to incomplete type
/usr/include/linux/timer.h: In function
`timer_pending':
/usr/include/linux/timer.h:121: error: 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:22:54: asm/uaccess.h: No such file or
directory
In file included from pentaif.c:23:
/usr/include/asm/io.h:4:2: warning: #warning
<asm/io.h> is deprecated, use <sys/io.h> instead
In file included from pentaif.c:24:
/usr/include/asm/byteorder.h:6:2: warning: #warning
using private kernel header; include <endian.h>
instead!
pentaif.c: In function `if_kmalloc_for_atomic':
pentaif.c:37: warning: implicit declaration of
function `kmalloc'
pentaif.c:37: error: `GFP_ATOMIC' undeclared (first
use in this function)
pentaif.c:37: error: (Each undeclared identifier is
reported only once
pentaif.c:37: error: for each function it appears in.)
pentaif.c:37: warning: return makes pointer from
integer without a cast
pentaif.c: In function `if_kfree':
pentaif.c:47: warning: implicit declaration of
function `kfree'
pentaif.c:47: warning: `return' with a value, in
function returning void
pentaif.c: In function `if_virt_to_bus':
pentaif.c:58: warning: implicit declaration of
function `virt_to_bus'
pentaif.c: In function `if_copy_from_user':
pentaif.c:68: warning: implicit declaration of
function `copy_from_user'
pentaif.c: In function `if_memset':
pentaif.c:78: warning: implicit declaration of
function `memset'
pentaif.c: In function `if_udelay':
pentaif.c:88: warning: implicit declaration of
function `udelay'
pentaif.c: In function `if_memcpy':
pentaif.c:98: warning: implicit declaration of
function `memcpy'
pentaif.c: In function `if_readb':
pentaif.c:108: warning: implicit declaration of
function `readb'
pentaif.c: In function `if_readw':
pentaif.c:118: warning: implicit declaration of
function `readw'
pentaif.c: In function `if_readl':
pentaif.c:128: warning: implicit declaration of
function `readl'
pentaif.c: In function `if_writeb':
pentaif.c:138: warning: implicit declaration of
function `writeb'
pentaif.c: In function `if_writew':
pentaif.c:148: warning: implicit declaration of
function `writew'
pentaif.c: In function `if_writel':
pentaif.c:158: warning: implicit declaration of
function `writel'
make[2]: *** [pentaif.o] Error 1
make[2]: Leaving directory
`/home/francis/Desktop/pentaval-RHx-2.1.10/driver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/francis/Desktop/pentaval-RHx-2.1.10'
make: *** [all] Error 2
[root at localhost pentaval-RHx-2.1.10]#


Will be greatful



	
		
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/



More information about the afnog mailing list