LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   on make -j 2.. executing default commands.prints..leaving directory Error 2 (https://www.linuxquestions.org/questions/linux-distributions-5/on-make-j-2-executing-default-commands-prints-leaving-directory-error-2-a-949330/)

manoj7410 06-09-2012 03:00 AM

on make -j 2.. executing default commands.prints..leaving directory Error 2
 
I am building toolchain for cross-compiler for Beagle board.

while building " build-gcc ",

configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
make[1]: Leaving directory `/home/manoj_board/Control-project/build-tools/build-gcc'
make: *** [all] Error 2

hi..

I am building a toolchain for Begal board for gcc.

I am using gcc-4.5.1 for that. Facing an error that:

crt1.o not found
crti.o not found
crtbegin.o not found.

[root@Mannu include]# locate crt1.o
/usr/lib/Mcrt1.o
/usr/lib/Scrt1.o
/usr/lib/crt1.o
/usr/lib/gcrt1.o
.
.
I got this after locate.
I know that I'll have to edit ld.so.conf.... but how to edit it... I don't know.
.
somebody put some light on this problem.

Thanks

Manoj

manoj7410 06-11-2012 08:48 AM

solved.....
 
finally solved by me .
.
nw fighting with -lgcc.
.
.

knudfl 06-11-2012 08:58 AM

crt1.o, crti.o : (g)libc(6) -dev -devel
crtbegin.o : gcc


Which cross-compiler are you trying to build ? Name and version, please.
And a direct download link for the cross-compiler source, please.

And : Which Linux OS are you using ? Name and version ?

.

knudfl 06-11-2012 09:25 AM

A reference to your other posts. ( With solution ) :

http://www.linuxquestions.org/questi...78#post4700678
http://www.linuxquestions.org/questi...2/#post4700654

manoj7410 06-15-2012 11:04 PM

Versins being used.
 
hi..

I am using gcc-4.5.1
linux-2.6.10
newlib-1.20.0
binutils-2.20.1
OS:: Fedora 15
.
.
.
still in the same error.

manoj7410 06-15-2012 11:08 PM

Quote:

Originally Posted by knudfl (Post 4700689)

hi... that solution was provided by me.. after some time, when I executed my program on Beagleboard.. the error occured that:

crt1.o: file format not supported.

Means crt1.o created by me is not compatible to the arm-linux-gcc (my target)


All times are GMT -5. The time now is 06:34 AM.