No rule to make target error on "make"

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


Hello, list

I need to just compile a module (ipaq) with a few mods, and when I
"make", I keep getting this error.

I checked all directories, all devel packages are correctly installed,
and I cannot find the problem.

Its FC4 with kernel 2.6.15-1.1833, x86-64 running on AMD Athlon 64.

Here's the Makefile (as published on, project SynCE):


LINUX_SOURCE_PATH := /usr/src/linux-2.6.15

KERNEL_BUILD_DIR := /lib/modules/$(shell uname -r)/build/

PWD := $(shell pwd)

PATCHED := .patched
FILES := usb-serial.h ipaq.h ipaq.c

        $(MAKE) -C $(KERNEL_BUILD_DIR) SUBDIRS=$(PWD) modules

all: default

        @echo "Can't find directory [email protected]"
        @echo "Edit $(PWD)/Makefile and provide the correct path to the
Linux source tree."

usb-serial.h: $(USB_SERIAL_SOURCE_DIR)/usb-serial.h
        ln -sf $< [email protected]

ipaq.h: ipaq.h-$(VERSION)
        ln -sf $< [email protected]

ipaq.c: $(PATCHED)

$(PATCHED): ipaq.c-$(VERSION)
        cp -p $^ ipaq.c
        patch -N -p0 < ipaq-select-endpoints.diff
        patch -N -p0 < ipaq-version.diff
        patch -N -p4 < ipaq-psion-teklogix.diff
        patch -N -p4 < ipaq-smartphones.diff
        touch $(PATCHED)

install: ipaq.ko
        install -m 644 $< /lib/modules/$(shell uname

        rm -rf $(FILES) $(PATCHED) .tmp_versions *.mod.c *.orig *.o
*.ko .*cmd

obj-m   := ipaq.o

I will appreciate any ideas or suggestions.

Thanks in advance,

Mariano López Reta
Tortuguitas, Buenos Aires
República Argentina

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux