Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error compiling kfir driver



hi,

i just got my kfir mpeg2 card and wanted to install the drivers. I got the windows drivers and copied the kfirlib.dll into my source directory.

I compiled them:

#pwd
/root/kfir/driver/micro
# make
rm -f altera_keb_plx_5e.rbf MPEG1_6.HLD kfir_micro.h
echo -n -e "\x52\x4b\xeb\x74\x00\x00\x0f\x3c\xfc\x00" > MPEG1_6.HLD
dd bs=1 if=KfirLib.dll skip=1449200 count=59862 >> MPEG1_6.HLD
59862+0 records in
59862+0 records out
cc     cmicro.c   -o cmicro
./cmicro /vt.v     vtv    >  kfir_micro.h 
make: [kfir_micro.h] Error 139 (ignored)
./cmicro /vt.v_8   vtv8   >> kfir_micro.h 
make: [kfir_micro.h] Error 139 (ignored)
./cmicro /vt.v1    vtv1   >> kfir_micro.h 
make: [kfir_micro.h] Error 139 (ignored)
./cmicro /vt.v1_8  vtv18  >> kfir_micro.h 
make: [kfir_micro.h] Error 139 (ignored)
./cmicro /vt.v2    vtv2   >> kfir_micro.h 
make: [kfir_micro.h] Error 139 (ignored)
./cmicro /vt.v2_8  vtv28  >> kfir_micro.h 
make: [kfir_micro.h] Error 139 (ignored)

and got:

ls -la
total 2144
drwxr-xr-x    2 1000     users        4096 Dec  7 10:16 .
drwxr-xr-x    3 1000     users        4096 Dec  7 10:17 ..
-rw-r--r--    1 root     root      1826875 Dec  7 10:15 KfirLib.dll
-rw-r--r--    1 root     root        59902 Dec  7 10:16 MPEG1_6.HLD
-rw-r--r--    1 root     root          712 Dec  7 10:16 Makefile
-rwxr-xr-x    1 root     root        13168 Dec  7 10:16 cmicro
-rw-r--r--    1 1000     users        2962 Nov 20 16:52 cmicro.c
-rw-------    1 root     root       258048 Dec  7 10:16 core
-rw-r--r--    1 root     root            0 Dec  7 10:16 kfir_micro.h

so everything seems fine for me... so i compiled the driver:

#pwd
/root/kfir/
#make

(cd driver; make)
make[1]: Entering directory `/root/kfir/driver'
DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules)
make[2]: Entering directory `/usr/src/linux-2.2.17'
make -C  /root/kfir/driver CFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE" MAKING_MODULES=1 modules
make: Entering an unknown directory
make: *** /root/kfir/driver: Permission denied.  Stop.
make: Leaving an unknown directory
make[2]: *** [_mod_/root/kfir/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.2.17'
make[1]: *** [here] Error 2
make[1]: Leaving directory `/root/kfir/driver'
make: *** [all] Error 2

any suggestions?

thx for your help...



Home | Main Index | Thread Index