LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-16-2013, 01:17 AM   #1
cuiy0001
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Rep: Reputation: Disabled
Errors while compiling Qt on Fedora 14


Hi all ,
I just followed the instructions :

1.download and unpack qt-everywhere-opensource-src-4.8.4.tar.gz
2.in the Qt directory , ./configure
./make
After about 20 minutes, some error messages pop up

/usr/bin/ld :unknown archtecture of input file 'object/release/HeavyProfile.o'is incompatible with i386 output.
/usr/bin/ld :unknown archtecture of input file 'object/release/TreeProfile.o'is incompatible with i386 output.
collect 2 ld returned 1 exit status


ERROR_IMAGE

dunno what to do about it now...
 
Old 02-16-2013, 03:58 AM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,916

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
First
You ARE aware that fedora 14 is 4 versions "out of date"
and has been unsupported for over a year .Since it went End of Life" on 2011-12-08

Please stay current and install Fedora 18 first before you try building the qt source code
-- you will NEED a lot of "prerequisites" to be installed first


most of the old fedora 14 software repos are dead links
Also qt IS in the very old fedora 14 base repo ( and install dvd )
there is no need to build the source code

And for the "make" command there is no need to put a " ./" in front of it
"configure" you DO but not make

because there is NO file called "make" in that folder
There IS a file called " Makefile"
the program " make " uses the "Makefile" to build the code


but for the End Of Life fedora 14 some of the 14 month "out of date" repos are still up
to install QT
Code:
su -
yum search qt
---- then from that list ----
yum install qt4 qt4-devel

Last edited by John VV; 02-16-2013 at 04:00 AM.
 
1 members found this post helpful.
Old 02-16-2013, 08:37 AM   #3
cuiy0001
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thank you for the detailed reply.
I will try it...
 
Old 02-16-2013, 12:22 PM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 2,202

Rep: Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569
To me, it would look like a leftover object file that shouldn't exist. You can try deleting it (or rename it so that the "...o" file doesn't exist, and recompile.

Since you are on a 686 based machine you can do a "file" command to examine the type of file the "object/release/HeavyProfile.o" actually is (I'll almost bet it is x86-64...)

Fedora 14 may be end-of-life, but it is still one of the most reliable versions out there. Much better than what has followed.

Last edited by jpollard; 02-16-2013 at 12:25 PM.
 
1 members found this post helpful.
Old 02-17-2013, 11:34 PM   #5
cuiy0001
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
I have swithed to Ubuntu,
and installation of Qt( QtCreator ,QtDesigner..etc) is huge bless.
 
  


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
Getting errors while compiling kernel module in fedora 9-pls help chandanaraj Linux - Kernel 0 10-10-2008 02:39 PM
Received Warnings and errors while compiling the Fedora Linux kernel ahm_irf Linux - General 0 03-06-2007 06:26 AM
Urgent...RTLinux on Fedora Core 3...Errors in Compiling kumarnine Linux - Software 2 09-19-2005 11:13 PM
Errors compiling Highpoint drivers from source under Fedora... The Belgain Linux - Hardware 0 12-01-2004 05:53 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM


All times are GMT -5. The time now is 01:58 AM.

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