LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-18-2009, 12:36 PM   #1
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Rep: Reputation: 43
QT compile error


Hi all,
sorry if this is the wrong forum, but I'm unsure where to go for QT forums.

Well anyway, I'm trying to cross compile embeddedQT on my Debian box for a ARM processor. I've configured with

./configure -embedded arm -xplatform qws/linux-arm-g++ -depths 16 -qt-zlib -qt-freetype -qt-libjpeg -qt-libpng -no-gif -no-libtiff -no-qt3support -qt-gfx-linuxfb

everything went OK. I then made, after about 10 mins of compile I get the following error

../JavaScriptCore/wtf/Platform.h:328:6: error: #error "Not supported ARM architecture"
make[1]: *** [.pch/release-shared-emb-arm/QtWebKit.gch/c++] Error 1
make[1]: Leaving directory `/root/DirectFBArm/Host/qt-everywhere-opensource-src-4.6.0/src/3rdparty/webkit/WebCore'
make: *** [sub-webkit-make_default-ordered] Error 2


I've done a search for this but can find no help, can anyone advise or point me in the right direction for QT development forums, I've found a couple but no one seems to use them :s.
Thanks!
 
Old 12-18-2009, 03:45 PM   #2
ozanbaba
Member
 
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by knobby67 View Post
Hi all,
sorry if this is the wrong forum, but I'm unsure where to go for QT forums.

Well anyway, I'm trying to cross compile embeddedQT on my Debian box for a ARM processor. I've configured with

./configure -embedded arm -xplatform qws/linux-arm-g++ -depths 16 -qt-zlib -qt-freetype -qt-libjpeg -qt-libpng -no-gif -no-libtiff -no-qt3support -qt-gfx-linuxfb

everything went OK. I then made, after about 10 mins of compile I get the following error

../JavaScriptCore/wtf/Platform.h:328:6: error: #error "Not supported ARM architecture"
make[1]: *** [.pch/release-shared-emb-arm/QtWebKit.gch/c++] Error 1
make[1]: Leaving directory `/root/DirectFBArm/Host/qt-everywhere-opensource-src-4.6.0/src/3rdparty/webkit/WebCore'
make: *** [sub-webkit-make_default-ordered] Error 2


I've done a search for this but can find no help, can anyone advise or point me in the right direction for QT development forums, I've found a couple but no one seems to use them :s.
Thanks!
that's not really a QT problem. it's webkit problem. webkit does not support your arm system or it does but gets misconfigured.

you should try webkit page at webkit.org
 
Old 12-19-2009, 02:15 AM   #3
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
A hint .. may be ..

Debian has lots of ' arm ' packages, example
qt3-dev-tools-embedded
http://packages.debian.org/etch/qt3-dev-tools-embedded

Build details for arm :
Set up the source + patch ( <file>.diff )
.. and look into the file 'rules'.
.....
 
Old 12-19-2009, 04:45 AM   #4
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Original Poster
Rep: Reputation: 43
Thanks all, I found a no-webkit switch, which stopped it now I have the same error but pointing to java, but there's no no-java configure switch :s
 
Old 12-19-2009, 02:19 PM   #5
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
I have this version
http://pepper.troll.no/s60prereleases/snapshots/
http://pepper.troll.no/s60prerelease...t-20091212.zip
> > qt-everywhere-opensource-src-4.6.1-snapshot-20091212

configure
line 667 CFG_WEBKIT=auto # (yes|no|auto)
line 668 CFG_JAVASCRIPTCORE_JIT=auto

How about edit line "668" to
CFG_JAVASCRIPTCORE_JIT=no

Will that help ?
.....
 
1 members found this post helpful.
Old 12-20-2009, 05:39 AM   #6
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Original Poster
Rep: Reputation: 43
Hi all,
Thanks for all the help I tried each out and then a new problem appeared, mainly to do with java stuff, so I turned off every configure switch that was not essential, I only need it to draw to the screen, and it compiled.
I'll try it on the system tomorrow, however I'm not hopeful as I can even get directfb to work correctly with the type of ARM I'm using. It's starting to look like I'll need to write some low level stuff :s
 
  


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
Unable to compile C++ programs.make:g++ command not found error.Error 127 PrathuD Programming 3 03-16-2009 12:44 PM
Conmpile error wen compile php:configure: error: libpng.(a|so) not found tanveer Linux - Software 5 02-03-2009 06:13 AM
rpm compile time error:make error ashmita04 Red Hat 1 07-09-2007 03:44 AM
Compile madwifi, ... compile error , how can i do. ERBRMN Linux - Networking 3 03-08-2006 07:56 PM
compile error: #error unknown processor family kmack2001 Linux - Newbie 0 02-14-2004 11:52 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:26 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