LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-29-2012, 08:19 AM   #1
compused
Member
 
Registered: Oct 2006
Location: Melbourne Australia
Distribution: centos and redhat 8
Posts: 76

Rep: Reputation: 15
Compiling GCC - crti.o not recognised


I am seeking assistance in overcoming a GCC compiling error. This is for a QNAP NAS device

Compiling GCC version 4.6.2 is failing at the 'make' stage because the crti.o file is allegedly missing:
Code:
..../arm-none-linux-gnueabi/bin/ld: crti.o: No such file: No such file or directory
I am using an existing gcc version, ie 4.3.2, to compile the newer version

I have located the crti.o file in:
Code:
.../arm-none-linux-gnueabi/lib/crti.o
and tried to get it recognized by GCC by:
1. added /arm-none-linux-gnueabi/lib to LD_LIBRARY_PATH
2. added /arm-none-linux-gnueabi/lib to /etc/ld.so.cache then run ldconfig
3. added the parent dir, ie /arm-none-linux-gnueabi, to $PATH

running 'set' confirms the above config

finally I ran make with the 'B' option to include the directory:
Code:
make CC="gcc -B /opt/arm-none-linux-gnueabi/lib"
but the error persists

Here is a pastebin of the error (spaces were added above and below the problem line)

http://pastebin.com/knuN7UHR
(note that /opt is a symlink to /share/MD0_DATA/.qpkg/Optware and then we have /share/MD0_DATA/.qpkg/Optware/arm-none-linux-gnueabi)
Any help would be great!
 
  


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
How to selectively use GCC 3.4 -OR- GCC 4.1 in FC6 when compiling? rylan76 Fedora 2 11-22-2006 12:36 AM
Error compiling gcc 3.3.6 with 64bit gcc 4.0.3 cs-cam Linux - Software 0 04-22-2006 06:20 AM
Compiling gcc without any gcc installed my_kappa Linux - Software 5 01-30-2006 01:15 AM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 12:38 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 06:03 AM


All times are GMT -5. The time now is 07:18 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration