[uClinux-dev] RE: Gcc-3.4 toolchain, m68knommu, errors and patches... [Solved]

Daniel Alomar dalomar at serrasold.com
Wed Jan 11 04:00:27 EST 2006


Hi,

I solved this "issue". I added
/usr/local/m68k-uclinux-tools/m68k-uclinux/bin and
/usr/local/m68k-uclinux-tools/bin/ when only have to add the last one.

Regards,

Daniel Alomar



-----Mensaje original-----
De: uclinux-dev-bounces at uclinux.org [mailto:uclinux-dev-bounces at uclinux.org]
En nombre de Daniel Alomar
Enviado el: miércoles, 11 de enero de 2006 8:51
Para: 'uClinux development list'
Asunto: RE: [uClinux-dev] RE: Gcc-3.4 toolchain, m68knommu,errors and
patches...


Hi,

Well the first one is easy to solve. Added a "#define PATH_MAX 4096" to the
fixdep.c file, but there are more messages errors, I feel due to not solved
properly the previous error. Now claims about the crt0.o file, but this file
exists.... Maybe some lost folder on the PATH???

make
make -C tools/ucfront
make[1]: Entering directory
`/home/daniel/uClinux/OuClinux-dist/tools/ucfront'
make[1]: `ucfront' está actualizado.
make[1]: Leaving directory
`/home/daniel/uClinux/OuClinux-dist/tools/ucfront'
ln -sf /home/daniel/uClinux/OuClinux-dist/tools/ucfront/ucfront
tools/ucfront-gcc
ln -sf /home/daniel/uClinux/OuClinux-dist/tools/ucfront/ucfront
tools/ucfront-g++
make ARCH=m68knommu CROSS_COMPILE=m68k-elf- -C linux-2.6.x  || exit 1
make[1]: Entering directory `/home/daniel/uClinux/OuClinux-dist/linux-2.6.x'
  CHK     include/linux/version.h
  HOSTCC  scripts/basic/fixdep
/usr/local/m68k-uclinux-tools/lib/gcc/m68k-uclinux/3.4.3/../../../../m68k-uc
linux/bin/ld.real: crt0.o: No such file: No existe el fichero o el
directorio
collect2: ld returned 1 exit status
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make[1]: Leaving directory `/home/daniel/uClinux/OuClinux-dist/linux-2.6.x'
make: *** [linux] Error 1

find . -name crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m5200/msep-data/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m5200/mid-shared-library/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m5200/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m5307/msep-data/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m5307/mid-shared-library/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m5307/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m528x/msep-data/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m528x/mid-shared-library/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m528x/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m5407/msep-data/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m5407/mid-shared-library/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m5407/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m5206e/msep-data/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m5206e/mid-shared-library/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m5206e/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/m68000/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/mcpu32/msep-data/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/mcpu32/mid-shared-library/crt0.o
./m68k-uclinux-tools/m68k-uclinux/lib/mcpu32/crt0.o

Regards,

Daniel Alomar

-----Mensaje original-----
De: uclinux-dev-bounces at uclinux.org [mailto:uclinux-dev-bounces at uclinux.org]
En nombre de Daniel Alomar
Enviado el: miércoles, 11 de enero de 2006 8:10
Para: 'uClinux development list'
Asunto: RE: [uClinux-dev] RE: Gcc-3.4 toolchain, m68knommu,errors and
patches...


Hi,

Ok, then maybe you could help me.. :-) When I try to use this toolchain (or
the previous one) I have this error message concerning the PATH_MAX:

$export
PATH=/usr/local/m68k-uclinux-tools/bin:/usr/local/m68k-uclinux-tools/m68k-uc
linux/bin:$PATH

$make
make -C tools/ucfront
make[1]: Entering directory
`/home/daniel/uClinux/OuClinux-dist/tools/ucfront'
make[1]: `ucfront' está actualizado.
make[1]: Leaving directory
`/home/daniel/uClinux/OuClinux-dist/tools/ucfront'
ln -sf /home/daniel/uClinux/OuClinux-dist/tools/ucfront/ucfront
tools/ucfront-gcc
ln -sf /home/daniel/uClinux/OuClinux-dist/tools/ucfront/ucfront
tools/ucfront-g++
make ARCH=m68knommu CROSS_COMPILE=m68k-elf- -C linux-2.6.x  || exit 1
make[1]: Entering directory `/home/daniel/uClinux/OuClinux-dist/linux-2.6.x'
  CHK     include/linux/version.h
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c: In function `use_config':
scripts/basic/fixdep.c:201: error: `PATH_MAX' undeclared (first use in this
function)
scripts/basic/fixdep.c:201: error: (Each undeclared identifier is reported
only once
scripts/basic/fixdep.c:201: error: for each function it appears in.)
scripts/basic/fixdep.c:201: warning: unused variable `s'
scripts/basic/fixdep.c: In function `parse_dep_file':
scripts/basic/fixdep.c:297: error: `PATH_MAX' undeclared (first use in this
function)
scripts/basic/fixdep.c:297: warning: unused variable `s'
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make[1]: Leaving directory `/home/daniel/uClinux/OuClinux-dist/linux-2.6.x'
make: *** [linux] Error 1



-----Mensaje original-----
De: uclinux-dev-bounces at uclinux.org [mailto:uclinux-dev-bounces at uclinux.org]
En nombre de Javier Herrero
Enviado el: miércoles, 11 de enero de 2006 7:59
Para: uClinux development list
Asunto: Re: [uClinux-dev] RE: Gcc-3.4 toolchain, m68knommu,errors and
patches...


Hi Daniel,

Not so first... :-) I've been routinely using the 3.4.3 toolchain with 
coldfire (5272) for some months, with several test distributions, mostly 
with 2.6.x kernels, without any remarkable problem.

Regards,

Javier

Daniel Alomar wrote:

>I've got it!
>
>http://www.develer.com/uclinux/uclinux-tools-20050221/
>
>-----Mensaje original-----
>De: uclinux-dev-bounces at uclinux.org 
>[mailto:uclinux-dev-bounces at uclinux.org]
>En nombre de Daniel Alomar
>Enviado el: martes, 10 de enero de 2006 12:56
>Para: 'Bernardo Innocenti'
>CC: 'uClinux development list'
>Asunto: [uClinux-dev] RE: Gcc-3.4 toolchain, m68knommu,errors and
patches...
>
>
>Hi,
>
>Where I can find this experimental toolchain? Somebody has to be the 
>first..
>:-)
>
>Regards,
>
>Daniel Alomar
>

-- 
------------------------------------------------------------------------
Javier Herrero                            EMAIL: jherrero at hvsistemas.com
HV Sistemas S.L.                          PHONE:         +34 949 336 806
Los Charcones, 17A                        FAX:           +34 949 336 792
19170 El Casar - Guadalajara - Spain      WEB: http://www.hvsistemas.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

_______________________________________________
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




More information about the uClinux-dev mailing list