LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 06-09-2012, 03:00 AM   #1
manoj7410
Member
 
Registered: Jun 2012
Location: India
Distribution: 2.6.x
Posts: 40

Rep: Reputation: Disabled
Question 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

Last edited by manoj7410; 06-10-2012 at 04:39 AM. Reason: added the exact error.
 
Old 06-11-2012, 08:48 AM   #2
manoj7410
Member
 
Registered: Jun 2012
Location: India
Distribution: 2.6.x
Posts: 40

Original Poster
Rep: Reputation: Disabled
Cool solved.....

finally solved by me .
.
nw fighting with -lgcc.
.
.
 
Old 06-11-2012, 08:58 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,688

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
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 ?

.
 
Old 06-11-2012, 09:25 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,688

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

http://www.linuxquestions.org/questi...78#post4700678
http://www.linuxquestions.org/questi...2/#post4700654
 
Old 06-15-2012, 11:04 PM   #5
manoj7410
Member
 
Registered: Jun 2012
Location: India
Distribution: 2.6.x
Posts: 40

Original Poster
Rep: Reputation: Disabled
Question 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.
 
Old 06-15-2012, 11:08 PM   #6
manoj7410
Member
 
Registered: Jun 2012
Location: India
Distribution: 2.6.x
Posts: 40

Original Poster
Rep: Reputation: Disabled
Unhappy

Quote:
Originally Posted by knudfl View Post
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make commands keep running after leaving a terminal session or ssh session Danny3031 Programming 18 01-30-2012 11:29 AM
Kubuntu 11.04 - How can I make KMail use a different default directory for email? mhumm2 Ubuntu 1 11-19-2011 01:29 PM
Error executing make command for xmlrpc-c 1.06.32 tarball version jayamurugan Linux - Software 3 04-17-2009 06:34 AM
Segmentation Fault when executing Program that prints out a number input didier2309 Programming 1 02-23-2006 04:55 PM


All times are GMT -5. The time now is 05:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration