[Opie-devel] Update of helix and opieII
GoXbox Live
goxboxlive at gmail.com
Sun Jun 24 16:35:29 CEST 2007
Qtopia-4.2.2 (OpieII) and helix integration
Hi.
I have some problem building mediaserver with Helix support. Helix build
just fine, but mediaserver doesent and needs changes to a header file for
build. But
I wonder if someone has similar problem with compiling and if there is a fix
for it.
But first let me tell how i am doing it (maybe i do something wrong).
1) I am using this Helix source :
helix-client-src-cayenne-qtopia-4.2.1-03072006.tar.gz
2) I am extracting the src directory to ./3rdparty/libraries/helix.
3) I am configuring with this helix option:
-helix
-helix-system-id linux-2.2-libc6-armv5te-cross-gcc3.3-iwmmxt-vfp
(also tried out with: linux-2.2-libc6-xscale-cross-gcc32 but with same
result).
And the output when configuring says that Helix is OK, and that it sets up
atomic operators for Helix, so it looks like everything should be OK with
Helix.
4)
When it builds Helix i can see in the output that it chooses -mcpu=iwmmxt
-mtune=iwmmxt so this should also be OK. And Helix builds and it moves
forward to next build step.
5) Then after some building it starts to build mediserver, and it is here i
get the bug. Here is the output i get: http://www.pastebin.ca/587119
As you see in line 05 i have to add #define
HELIX_CONFIG_DISABLE_ATOMIC_OPERATORS otherwise it wont build.
So to have it builded i have added this to hxcomm.h just to have mediaserver
building.
But this causes Helixplayer to not work.
It finds mp3 songs and 3gp files but nothing happends. Here is a screenie of
a mp3 file playing with Helix:
http://www.gnulinux.biz/files/Universal/tmp/crap/helix.jpg
As you see, the counter says 0:00/0:00 even though it says that it plays the
song.
Someone might wonder "maybe you miss some codecs", well maybe i do, but as i
can see it seems like they all are present, here is a pastebin (this
pastebin is from Qtopia-4.2.1 version but 4.2.2 version is similar) :
http://www.pastebin.ca/587123 . Is there something missing here?
JFYI here is how i configure:
Code:
linuxserver:/home/jrs# cat sources/htcphone-opieII-4.2.2/configure
-xplatform arm
-arch arm
-no-qvfb
-reduce-exports=yes
-helix
-helix-system-id linux-2.2-libc6-armv5te-cross-gcc3.3-iwmmxt-vfp
-prefix /opt/Qtopia
-sound-system alsa
-displaysize 640x480
-no-sxe
-no-drm
-ssl
-dbus
-dbuspath /tmp/console/usr
-bluetooth
-confirm-license no
-I/usr/local/arm/include
-L/usr/local/arm/lib
-extra-qtopiacore-config "-plugin-gfx-transformed"
-extra-qtopiacore-config "-plugin-gfx-vnc"
-extra-qtopiacore-config "-qt-mouse-linuxtp"
-extra-qtopiacore-config "-qt-mouse-tslib"
-extra-qtopiacore-config "-I/usr/local/arm/include"
-extra-qtopiacore-config "-L/usr/local/arm/lib"
-extra-qtopiacore-config "-depths 8,16,32"
-extra-qtopiacore-config "-L/tmp/console/lib"
-extra-qtopiacore-config "-L/tmp/console/usr/lib"
-extra-qtopiacore-config "-nomake examples"
-D SYSINFO_GEEK_MODE
-D QT_QWS_EBX
-D QT_QWS_HTCPHONE
-D QT_QWS_KERNELKEYMAP
-release
linuxserver:/home/jrs#
Info: dbus, bluetooth and alsa (also tried building with oss, but same
result) builds just fine.
And don't know if this might be intresting for you but also alarm sound
dosn't work. When i set up a event in the calendar it flash the event but
there is no sound.
So, is there anyone who can help me with this?
UPDATE
Ok, i found out something. I had to break a configure because i where
missing something and suddenly this appear:
(i am configuring with linux-2.2-libc6-xscale-cross-gcc32 now)
Checking the compiler (host): OK (GCC 4)
Use of uninitialized value in pattern match (m//) at
/home/jrs/sources/opieII-4.2.2/trunk/configure line 1868.
Use of uninitialized value in scalar chomp at
/home/jrs/sources/opieII-4.2.2/trunk/configure
line 1872.
Use of uninitialized value in substitution (s///) at
/home/jrs/sources/opieII-4.2.2/trunk/configure line 1873.
Use of uninitialized value in substitution (s///) at
/home/jrs/sources/opieII-4.2.2/trunk/configure line 1874.
Use of uninitialized value in substitution (s///) at
/home/jrs/sources/opieII-4.2.2/trunk/configure line 1876.
Checking the compiler (target): OK (GCC 4)
Testing for helix: PRESENT
Testing for qmake behaviors: QUOTE_IS_ESCAPE_EXPAND
Setting up the helix sources...
Helix SYSTEM_ID linux-2.2-libc6-xscale-cross-gcc32 is not valid.
WARNING: You must supply a SYSTEM_ID (via -helix-system-id) to build Helix.
Testing for ALSA: OK
Checking for PAGE_SIZE and PAGE_MASK: MISSING
QSharedMemoryCache will not throw away unused pages
Testing for dbus: OK
Testing for bluetooth: OK
Testing for -Woverloaded-virtual: env:
/home/jrs/sources/opieII-4.2.2/trunk/config.tests/overloaded_virtual.test:
Ikke tilgang
FAIL
Use of -Woverloaded-virtual is disabled.
Look at the "Setting up Helix Sources" It says that my system ID isent
valid, why is that?
Is there something i have forgot to add?
UPDATE II
Now i ran coonfigure in -verbose mode and it gave me this output:
http://www.pastebin.ca/587223
Anyone have any idea??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linuxtogo.org/pipermail/opie-devel/attachments/20070624/0e0d8070/attachment.htm
More information about the Opie-devel
mailing list