[uClinux-dev] 2.6, IXP425 and access libraries
Greg Ungerer
gerg at snapgear.com
Mon Sep 18 00:53:20 EDT 2006
Hi Parth,
Parth Pathak wrote:
> Hi Doug,
>
> the contents of
>
> uClinux-dist/modules/ixp425/ixp400-2.0 is (only)
>
> built-in.o
> IPL_ixp400NpeLibrary-2_0_5.zip
> ixp_osal
> modules-csr2.0-20051115.patch
> IPL_ixp400AccessLibrary-2_0.zip
> ixp400_xscale_sw
> Makefile
> stub.c
>
> there exists NO such directory
>
> uClinux-dist/modules/ixp425/ixp400-2.0/ixp400-2.0
>
> I dont understand how come this same directory ixp400-2.0 pops up in error?
> please help
I seem to recall that this was caused by old buggy versions of "make".
What version do you have running on your development system?
IIRC you need at least 3.80 to get a good build.
Regards
Greg
> ----- Original Message ----
> From: Doug Kehn <rdkehn at yahoo.com>
> To: uClinux development list <uclinux-dev at uclinux.org>
> Sent: Friday, September 15, 2006 11:34:12 AM
> Subject: Re: [uClinux-dev] 2.6, IXP425 and access libraries
>
> 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
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
>
>
>
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
>
--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: gerg at snapgear.com
SnapGear -- a Secure Computing Company PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
More information about the uClinux-dev
mailing list