This is the mail archive of the ecos-devel@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error: No rule to make target


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]