This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
Re: Error: No rule to make target
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Andrea Pellegrini <andreapellegrini at tele2 dot it>
- Cc: ecos-devel at sources dot redhat dot com
- Date: Mon, 21 Feb 2005 19:48:44 +0100
- Subject: Re: Error: No rule to make target
- References: <003e01c5183f$546a8340$0702a8c0@olimpo>
On Mon, Feb 21, 2005 at 07:01:08PM +0100, Andrea Pellegrini wrote:
> Hello guys!
> I need help!
> I've written a new driver for AC97 Codec for a PXA255 Board. I read the
> Reference Guide and I made all the necessary steps to make it work with the
> configurator but I receive always the same error:
>
> make[1]: *** No rule to make target `src/sound_AC97.o.d', needed by
> `libextras.a.stamp'. Stop.
> make -r -C devs/sound/arm/xscale/unipdpxa/v2_0 build
> make: *** [build] Error 2
> make[1]: Entering directory
> `/ecos-c/Cygwin/opt/ecos/sound-unipdpxa_build/devs/sound/arm/xscale/unipdpxa/v2_0'
> make[1]: Leaving directory
> `/ecos-c/Cygwin/opt/ecos/sound-unipdpxa_build/devs/sound/arm/xscale/unipdpxa/v2_0'
> make: Leaving directory `/ecos-c/Cygwin/opt/ecos/sound-unipdpxa_build'
>
> Nobody can help me? Probably I made a stupid error but I can't recognize it.
>
> I past my files below.
> Thank's you all
> Andrea
>
> My CDL file is:
> -------------------------------------------------------------------------------------------------------------
> cdl_package CYGPKG_DEVS_SOUND_ARM_XSCALE_UNIPDPXA {
> display "Sound driver for UNIPDPXA"
> include_dir cyg/io
>
> active_if CYGPKG_HAL_ARM_XSCALE_UNIPDPXA
> requires CYGPKG_ERROR
> requires CYGPKG_IO
> requires CYGPKG_HAL_ARM_XSCALE_UNIPDPXA
>
> description "Sound driver for the UNIPDPXA"
> compile -library=libextras.a sound_AC97.c
This all looks OK. One thing to check is if you have the case correct.
ie is you source file realy sound_AC97.c or is it sound_ac97.c?
You can also take a look at the makefile in
/ecos-c/Cygwin/opt/ecos/sound-unipdpxa_build/devs/sound/arm/xscale/unipdpxa/v2_0'
It might give you some clues.
Andrew