LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


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

Rep: Reputation: Disabled
Question -lc not found...


hi..

I am building a toolchain for ARM.
.
.
on the first stage compiler after addition of glibc.. I faced -lc not found...on executing a simple code..
.
.
hoping for some help.

Thanks
 
Old 06-21-2012, 10:27 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
-lc : Means 'libc.a' ( or libc.so )

... from your "ARM" glibc.
 
Old 06-22-2012, 12:06 AM   #3
manoj7410
Member
 
Registered: Jun 2012
Location: India
Distribution: 2.6.x
Posts: 40

Original Poster
Rep: Reputation: Disabled
Question couldn't locate libc.a

Quote:
Originally Posted by knudfl View Post
-lc : Means 'libc.a' ( or libc.so )
Quote:
Originally Posted by knudfl View Post
-lc : Means 'libc.a' ( or libc.so )
sir..
I tried to locate libc.a but couldn't get it.
Than i tried to get libc.so,,,, and i got it somewhere in lib.
I made a softlink of this particular libc.so.6 file with my target lib.
But still facing the same error..
The link given by me is:
.
.
ln -s /home/mannu/downloads/my\ kernel/partition\ 2/lib/libc.so.6 /opt/arm/lib/gcc/arm-none-linux-gnueabi/4.4.4/
.
.
Also when i am triying to configure glibc. I am getting this error..
.
.checking for c cleanup handling... No
configure: Error: The compiler must support c cleanup handling

.
.
My configure command is..:

../../sources/glibc-2.14/configure --build=$buildmach --host=$targetmach --prefix=$sysrootdir/usr --with-headers=$sysrootdir/usr/include --config-cache --enable-add-ons=glibc-ports-2.14,nptl --enable-kernel=2.6.28.3
.
.
What is the reason behind it..??
... From your "arm" glibc.

... From your "arm" glibc.
.
.
.
.
.
 
Old 07-05-2012, 07:53 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Use a toolkit such as Crosstool-NG to build a cross toolchain. If you are flummoxed by the basic errors you are pointing out here, you probably lack the experience necessary to accomplish your objective. Even using the considerable built-in expertise of such a toolkit will leave you with plenty of questions. There are helpful and friendly people on the CT-NG mailing list to guide you.

--- rod.
 
Old 07-06-2012, 11:30 PM   #5
manoj7410
Member
 
Registered: Jun 2012
Location: India
Distribution: 2.6.x
Posts: 40

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by theNbomr View Post
Use a toolkit such as Crosstool-NG to build a cross toolchain. If you are flummoxed by the basic errors you are pointing out here, you probably lack the experience necessary to accomplish your objective. Even using the considerable built-in expertise of such a toolkit will leave you with plenty of questions. There are helpful and friendly people on the CT-NG mailing list to guide you.

--- rod.
Thanks sir,

But I wanted to develop it without any toolkit... and now I have done it.
 
  


Reply



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
Xorg, no screens found; no devices found (after Virtualbox install) Archytas Linux - General 6 03-06-2013 03:41 PM
[SOLVED] x-windows-system package not found, other packages not found. bwilky11 Debian 3 04-12-2012 12:39 PM
Directory not found; -xzvf not found; Makefile not found RealGomer Linux - Software 4 09-20-2010 10:02 AM
Fedora Core 6 boot No medium found No volume groups found awadhut Linux - Hardware 1 02-22-2007 01:15 AM
PDC 20276 - Promise Fasttrack 133 found but still not found.. FransE Linux - Hardware 3 02-16-2004 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration