OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Compiling Qt Programs For Angstrom With Opie
BerndS
post Jan 21 2009, 12:37 PM
Post #1





Group: Members
Posts: 66
Joined: 26-September 04
Member No.: 4,770



Hi,

which packages do I need to compile Qt3 programs for Angstrom/Opie ? And where can I get them?

(I want to compile portabase for Angstrom with Opie)

regards

Bernd
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
ofels
post Jan 22 2009, 02:31 AM
Post #2





Group: Members
Posts: 142
Joined: 4-December 06
From: Lake Constance, Germany
Member No.: 13,087



QUOTE(BerndS @ Jan 21 2009, 09:37 PM) *
Hi,

which packages do I need to compile Qt3 programs for Angstrom/Opie ? And where can I get them?

(I want to compile portabase for Angstrom with Opie)


Given the fact that opie completely relies on qte 2.3.x you need a very good programmer who ports the missing qt3 functionality to qt2.
Though last time I checked portabase was based on qt2, not qt3.

And if you want to build angstrom packages, why don't you hop over to http://www.openembedded.org and read the "Getting Started" instructions ? wink.gif

Oliver
Go to the top of the page
 
+Quote Post
BerndS
post Jan 22 2009, 10:15 AM
Post #3





Group: Members
Posts: 66
Joined: 26-September 04
Member No.: 4,770



QUOTE(ofels @ Jan 22 2009, 11:31 AM) *
QUOTE(BerndS @ Jan 21 2009, 09:37 PM) *
Hi,

which packages do I need to compile Qt3 programs for Angstrom/Opie ? And where can I get them?

(I want to compile portabase for Angstrom with Opie)


Given the fact that opie completely relies on qte 2.3.x you need a very good programmer who ports the missing qt3 functionality to qt2.
Though last time I checked portabase was based on qt2, not qt3.


ok, then I need packages with the libraries and tools for qt2.

QUOTE
And if you want to build angstrom packages, why don't you hop over to http://www.openembedded.org and read the "Getting Started" instructions ? wink.gif


Already been there - but I did not find the infos I want. I do not want to write new programs for Opie or create a new image - just compile the existing Portabase for Opie on my Zaurus.

Bernd
Go to the top of the page
 
+Quote Post
ofels
post Jan 22 2009, 01:04 PM
Post #4





Group: Members
Posts: 142
Joined: 4-December 06
From: Lake Constance, Germany
Member No.: 13,087



QUOTE(BerndS @ Jan 22 2009, 07:15 PM) *
QUOTE
And if you want to build angstrom packages, why don't you hop over to http://www.openembedded.org and read the "Getting Started" instructions ? wink.gif


Already been there - but I did not find the infos I want. I do not want to write new programs for Opie or create a new image - just compile the existing Portabase for Opie on my Zaurus.



In that case you missed the point. OE is a complete build system for automatically building the software be it the whole Angstrom distribution or only packages. In any case it fetches the required dependencies and sets up the cross compiling system. If you want to build a package for Angstrom there is no good way around setting up OE.

Oliver
Go to the top of the page
 
+Quote Post
BerndS
post Jan 23 2009, 10:33 AM
Post #5





Group: Members
Posts: 66
Joined: 26-September 04
Member No.: 4,770



QUOTE(ofels @ Jan 22 2009, 10:04 PM) *
In that case you missed the point. OE is a complete build system for automatically building the software be it the whole Angstrom distribution or only packages. In any case it fetches the required dependencies and sets up the cross compiling system. If you want to build a package for Angstrom there is no good way around setting up OE.


ok; but then: How can I build the binaries for an application for OPIE?

From the other messages in this thread I read that Portabase should run under OPIE -- if I only could compile it.

regards

Bernd

Go to the top of the page
 
+Quote Post
ofels
post Jan 23 2009, 12:47 PM
Post #6





Group: Members
Posts: 142
Joined: 4-December 06
From: Lake Constance, Germany
Member No.: 13,087



QUOTE(BerndS @ Jan 23 2009, 07:33 PM) *
ok; but then: How can I build the binaries for an application for OPIE?

From the other messages in this thread I read that Portabase should run under OPIE -- if I only could compile it.


Bernd, the build process is completety described in the Angstrom and OE wiki and Getting Started sections.
Once you have set up OE it is as simple as calling "bitbake portabase"
However be aware that nobody has build portabase for a while- as it requires several dependencies they might have broken in the meantime and are then not compatible any more with the current Angstrom version. In that case some hacking is required.

Oliver
Go to the top of the page
 
+Quote Post
BerndS
post Jan 26 2009, 02:55 PM
Post #7





Group: Members
Posts: 66
Joined: 26-September 04
Member No.: 4,770



Oliver,

after rereading the Angstrom and OE wiki I installed bitbake on my Thinkpad running Ubuntu (Hardy Heron). And in principle it works -- after installing and configuring bitbake like described here http://wiki.openembedded.net/index.php/Getting_Started a "bitbake opie-image" created a new image and "bitbake portabase" created a portabase package file.

Perfect...

Then I created a new directory to create the image for angstrom-2007.1 and a Portabase package for my current Opie environment on the Zaurus like it's described here http://www.angstrom-distribution.org/building-angstrom.

In this directory bitbake does not work as expected; I always get the error message

[angstrom-2007.1] xtrnaw7@t61p:/data/develop/oe/angstrom-2007.1/org.openembedded.stable$ bitbake opie-image
NOTE: Out of date cache found, rebuilding...
NOTE: Handling BitBake files: | (4976/4976) [100 %]
NOTE: Parsing finished. 0 cached, 4751 parsed, 225 skipped, 0 masked.
NOTE: build 200901262327: started

OE Build Configuration:
BB_VERSION = "1.8.12"
OE_REVISION = "<unknown>"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "c7x0"
DISTRO = "angstrom"
DISTRO_VERSION = "2007.12-r19"
TARGET_FPU = "soft"

NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'virtual/arm-angstrom-linux-gnueabi-gcc-2.95' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'virtual/arm-angstrom-linux-gnueabi-gcc-2.95' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['virtual/arm-angstrom-linux-gnueabi-gcc-2.95']


(and some other error messages which are follow-up errors I think).

My local.conf file is
DL_DIR = "/data/develop/oe/angstrom-2007.1/sources"
BBFILES = "/data/develop/oe/angstrom-2007.1/org.openembedded.stable/packages/*/*.bb"
BBMASK = ""
CCACHE=""
PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
TMPDIR = "/data/develop/oe/angstrom-2007.1/oetmp"
MACHINE = "c7x0"
DISTRO = "angstrom-2007.1"
IMAGE_FSTYPES = "jffs2 tar.gz"
BBINCLUDELOGS = "yes"

and BBPATH is

[angstrom-2007.1] xtrnaw7@t61p:/data/develop/oe/angstrom-2007.1/org.openembedded.stable$ echo $BBPATH
/data/develop/oe/angstrom-2007.1/build:/data/develop/oe/angstrom-2007.1/org.openembedded.stable


Unfortunately the documentation for bitbake is not that good so I'm lost here .. Any clues?


regards

Bernd

Update:

Just read in a message that this message can be ignored ... therefor I add all messages I get:


[angstrom-2007.1] xtrnaw7@t61p:/data/develop/oe/angstrom-2007.1/build$ bitbake opie-image
NOTE: Handling BitBake files: | (4976/4976) [100 %]
NOTE: Parsing finished. 4750 cached, 1 parsed, 225 skipped, 0 masked.
NOTE: build 200901270958: started

OE Build Configuration:
BB_VERSION = "1.8.12"
OE_REVISION = "<unknown>"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "c7x0"
DISTRO = "angstrom"
DISTRO_VERSION = "2007.12-r19"
TARGET_FPU = "soft"

NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'virtual/arm-angstrom-linux-gnueabi-gcc-2.95' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'virtual/arm-angstrom-linux-gnueabi-gcc-2.95' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['virtual/arm-angstrom-linux-gnueabi-gcc-2.95']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'collie-kernel-64-0' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'collie-kernel-64-0' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['collie-kernel-64-0']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'collie-kernel-24-8' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'collie-kernel-24-8' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['collie-kernel-24-8']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'collie-kernel-32-0' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'collie-kernel-32-0' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['collie-kernel-32-0']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'collie-kernel-32-32' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'collie-kernel-32-32' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['collie-kernel-32-32']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'collie-kernel-40-24' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'collie-kernel-40-24' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['collie-kernel-40-24']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'collie-kernel-48-16' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'collie-kernel-48-16' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['collie-kernel-48-16']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'collie-kernel-58-6' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'collie-kernel-58-6' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['collie-kernel-58-6']
ERROR: '[]' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'pango-directfb' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'pango-directfb' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['pango-directfb']
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 6 of 2467 (ID: 19, /data/develop/oe/angstrom-2007.1/org.openembedded.stable/packages/shasum/shasum-native.bb, do_compile)
NOTE: package shasum-native-1.0: started
NOTE: package shasum-native-1.0-r1: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows (/data/develop/oe/angstrom-2007.1/oetmp/work/x86_64-linux/shasum-native-1.0-r1/temp/log.do_compile.16666)
| collect2: cannot find 'ld'
NOTE: Task failed: /data/develop/oe/angstrom-2007.1/oetmp/work/x86_64-linux/shasum-native-1.0-r1/temp/log.do_compile.16666
NOTE: package shasum-native-1.0-r1: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package shasum-native-1.0: failed
ERROR: Build of /data/develop/oe/angstrom-2007.1/org.openembedded.stable/packages/shasum/shasum-native.bb do_compile failed
ERROR: Task 19 (/data/develop/oe/angstrom-2007.1/org.openembedded.stable/packages/shasum/shasum-native.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 5 tasks of which 5 didn't need to be rerun and 1 failed.
ERROR: '/data/develop/oe/angstrom-2007.1/org.openembedded.stable/packages/shasum/shasum-native.bb' failed
NOTE: build 200901270958: completed
[angstrom-2007.1] xtrnaw7@t61p:/data/develop/oe/angstrom-2007.1/build$



Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th December 2014 - 09:12 PM