[uClinux-dev] 2.6, IXP425 and access libraries

Doug Kehn rdkehn at yahoo.com
Fri Sep 15 11:34:12 EDT 2006


Hi Parth,

--- Parth Pathak wrote:

> Hi Doug,
>  
>  I am using the same shar file and the patch you
> provided.
>  let me paste my errors.. I believe my
> Makefile.build is getting icorrect path value in src
> and srctree variables. 
>  ----------------
>    CC      lib/string.o
>    CC      lib/vsprintf.o
>    AR      lib/lib.a
>    LD     
>
/home/ppathak/uClinux1/uClinux-dist/modules/ixp425/ixp400-2.0/built-in.o
>  scripts/Makefile.build:17:
>
/home/ppathak/uClinux1/uClinux-dist/modules/ixp425/ixp400-2.0/ixp400-2.0/Makefile:
> No such file or directory
>  make[5]: *** No rule to make target
>
`/home/ppathak/uClinux1/uClinux-dist/modules/ixp425/ixp400-2.0/ixp400-2.0/Makefile'.
>  Stop.
>  make[4]: ***
>
[/home/ppathak/uClinux1/uClinux-dist/modules/ixp425/ixp400-2.0/ixp400-2.0]
> Error 2
>  make[3]: ***
>
[/home/ppathak/uClinux1/uClinux-dist/modules/ixp425/ixp400-2.0]
> Error 2
>  make[2]: ***
> [/home/ppathak/uClinux1/uClinux-dist/modules/ixp425]
> Error 2
>  make[1]: ***
> [/home/ppathak/uClinux1/uClinux-dist/modules] Error
> 2
>  make[1]: Leaving directory
> `/home/ppathak/uClinux1/uClinux-dist/linux-2.6.x'
>  make: *** [linux] Error 1
>  ---------------------
>  
>  this clearly shows that Makefile it tries to
> include is given a wrong path as ixp400-2.0 comes in
> path twice. this path is provided by src and srctree
> variables I believe. I get same error in old 2005
> distro with 2.6. I doubt these following lines in
> makefile.build creates this problems
>  
>  # The filename Kbuild has precedence over Makefile
>  kbuild-dir := $(if $(filter
> /%,$(src)),$(src),$(srctree)/$(src))
>  include $(if $(wildcard $(kbuild-dir)/Kbuild),
> $(kbuild-dir)/Kbuild, $(kbuild-dir)/Makefile)
>  
>  I dont find them in 2.4.. 
>  
>  my access libraries reside at 
>  
>  uClinux-dist/modules.ixp425/ixp400-2.0/
>  
>  sounds very simple but this error is bugging me
> from a long time now.. tried everything but I must
> be missing something that is very simple..
>  
>  please help
>  

Hmmm.  I'm not sure how this would happen if the steps
in the README are followed verbatim.

What are the contents of directories
   uClinux-dist/modules/ixp425/ixp400-2.0
and
   uClinux-dist/modules/ixp425/ixp400-2.0/ixp400-2.0?


Regards,
...doug

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the uClinux-dev mailing list