Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-29-2012, 07:19 AM   #1
Registered: Oct 2006
Location: Melbourne Australia
Distribution: centos and redhat 8
Posts: 78

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:
..../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:
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/ 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:
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)
(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!


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-21-2006 11:36 PM
Error compiling gcc 3.3.6 with 64bit gcc 4.0.3 cs-cam Linux - Software 0 04-22-2006 05:20 AM
Compiling gcc without any gcc installed my_kappa Linux - Software 5 01-30-2006 12:15 AM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 11:38 AM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:00 PM.

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