Greetings,

I've been away during the changover to mandriva. Apparently verizon was
blocking access to mandrake? Anyway, I am trying to get:


fpix-0.17.0 to compile and I get the following message:

[EMAIL PROTECTED] driver]$ make
The sources for the current kernel have not been found. Aborting.
make: *** [prereq_check] Error 1

I have compiled a custom kernel. So when I edited the Makefile
(attached), I got the following error:


[EMAIL PROTECTED] driver]$ make
make -C /lib/modules/2.6.11-12mdkcustom/build
SUBDIRS=/home/terryg/Dev/fpix-0.17.0/driver modules
make[1]: Entering directory `/usr/src/linux-2.6.11-12mdk'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.11-12mdk'
make: *** [kernel-module] Error 2


#KMOD  := /lib/modules/$(shell uname -r)
KMOD  := /lib/modules/2.6.11-12mdkcustom
KSRC  := $(KMOD)/build

SRC_DIR=$(shell pwd)

all: prereq_check kernel-module

OBJS := finepix-main.o \
                finepix-common.o \
                finepix-jpeg.o \
                finepix-v4l.o \
                finepix-v4l2.o 

prereq_check:
        @ if [ ! -f $(KSRC)/include/linux/version.h ]; then \
                echo "The sources for the current kernel have not been found.
Aborting."; \
                exit 1;\
          fi

[EMAIL PROTECTED] ~]# ls /lib/modules/2.6.11-12mdkcustom/build/include/linux/
compile.h
[EMAIL PROTECTED] ~]# 

I dont' have one or the right one?





MODULE := finepix.ko
obj-m := finepix.o
finepix-objs := $(OBJS)

kernel-module:
        $(MAKE) -C $(KSRC) SUBDIRS=$(SRC_DIR) modules

clean:
        rm -f *.o *.ko .*.ko.cmd .*.o.cmd *.mod.[oc] *~
        rm -rf .tmp_versions

install:
        mkdir -p $(KMOD)/kernel/drivers/usb/media/
        cp $(MODULE) $(KMOD)/kernel/drivers/usb/media/
        depmod -a

I have created links to the mdkcustom kernel in /usr/src/linux
and /lib/modules, but to no avail:

[EMAIL PROTECTED] ~]# ls -l /usr/src/
total 20
lrwxrwxrwx   1 root root   18 Nov 11 19:19 2.6.11-12mdkcustom ->
linux-2.6.11-12mdk/
lrwxrwxrwx   1 root root   18 Sep 24 17:06 linux -> linux-2.6.12-12mdk/

drwxr-xr-x  20 root root 4096 Sep 24 17:06 linux-2.6.11-12mdk/
lrwxrwxrwx   1 root root   18 Nov 11 20:40 linux-2.6.11-12mdkcustom ->
linux-2.6.11-12mdk/ 
lrwxrwxrwx   1 root root   19 Aug 30 13:52
linux-2.6.11-12mdk-i586-up-1GB -> linux-2.6.11-12mdk//

drwxr-xr-x   7 root root 4096 Oct 25 20:16 RPM/
[EMAIL PROTECTED] ~]# 


[EMAIL PROTECTED] ~]# ls -l /lib/modules/
total 28

drwxr-xr-x  3 root root 4096 Sep 24 17:53 2.6.11-12mdkcustom/
drwxr-xr-x  3 root root 4096 Sep 24 17:53 2.6.11-12mdk-i586-up-1GB/
drwxr-xr-x  3 root root 4096 Sep 13 16:05
2.6.11-7.mm.18.SoS.mdk-i686-up-4GB/
drwxr-xr-x  3 root root 4096 Sep 24 17:53 2.6.12-12mdk-i586-up-1GB/
drwxr-xr-x  3 root root 4096 Sep 11 21:26 lib/
drwxr-xr-x  3 root root 4096 Sep 11 22:01 usr/
[EMAIL PROTECTED] ~]# 

Any ideas?

Thanks,

Terry

Terry Golightly ... tdotgolightlyatverizondotnet ... Pgh, Pa 
Mandrakelinux release 10.2 (Limited Edition 2005) for i586 kernel
2.6.11-12mdkcustom 
20:52:38 up 4:59, 3 users, load average: 0.11, 0.13, 0.13 

If I have trouble installing Linux, something is wrong. Very wrong. --
Linus Torvalds


____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to