LinuxQuestions.org
Review your favorite Linux distribution.
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 09-14-2015, 01:33 PM   #1
ripread
LQ Newbie
 
Registered: Sep 2015
Distribution: Fedora 22
Posts: 2

Rep: Reputation: Disabled
Fedora 22 - /bin/ld: cannot find ctr1.o when running configure


I'm trying to make an old version of freetype (2.4.12), but when I try to run configure I get the output:

Code:
checking whether the C compiler works... no
configure: error: in `/home/robert/Downloads/freetype-2.4.12/builds/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details
I then open config.log and see this error

Code:
configure:2895: checking whether the C compiler works
configure:2917: gcc -m32  -m32 conftest.c  >&5
/bin/ld: cannot find crt1.o: No such file or directory
/bin/ld: cannot find crti.o: No such file or directory
/bin/ld: cannot find -lc
/bin/ld: cannot find crtn.o: No such file or directory
The command I'm running is
Code:
./configure --build=i686-pc-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32"

Overall, I'm trying to install Quartus II to work with my FPGA. I've installed Quartus II with no problems and now I'm attempting to get ModelSim using this guide (problem 2), and I'm stuck on the configure line.

Last edited by ripread; 09-14-2015 at 10:33 PM. Reason: Adding Detail
 
Old 09-14-2015, 06:09 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,097

Rep: Reputation: 834Reputation: 834Reputation: 834Reputation: 834Reputation: 834Reputation: 834Reputation: 834
remove the LDFLAGS
 
Old 09-14-2015, 10:35 PM   #3
ripread
LQ Newbie
 
Registered: Sep 2015
Distribution: Fedora 22
Posts: 2

Original Poster
Rep: Reputation: Disabled
That didn't change the output. both the error message and the log file message are the same.

To avoid assumptions, I ran this command
Code:
./configure --build=i686-pc-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32"
 
  


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
A find process taking up CPU (su nobody -s /bin/sh -c /usr/bin/find /) linuxandtsm Linux - Newbie 7 06-14-2013 04:35 PM
How to resolve the error /usr/bin/ld: cannot find -lXm using Fedora 14? Melvin168 Linux - Newbie 8 10-06-2011 08:46 PM
fedora 7 error: /usr/bin/ld: cannot find -lXext immortaltechnique Linux - Software 1 02-22-2008 04:02 AM
/usr/bin/find running background.......consuming 1.5G ram? ErrorBound Debian 1 11-07-2006 09:51 AM
when running make get: usr/bin/ld: cannot find -lart_lgpl_2 nigma Linux - Software 0 02-12-2004 09:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:04 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
Open Source Consulting | Domain Registration