OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Linux Applications => Topic started by: comcute on July 19, 2004, 07:40:50 am

Title: XMMS embedded, gcc3 compatible
Post by: comcute on July 19, 2004, 07:40:50 am
Hello all.
I didn't find anywhere xmms compiled with gcc3, so I compiled it myself and I want to share it for others.

Strange I can't attach file
Anyway you can download it from http://perses.net/~comcute/xmms_embedded_libs.tar (http://perses.net/~comcute/xmms_embedded_libs.tar)
Title: XMMS embedded, gcc3 compatible
Post by: lardman on July 19, 2004, 07:47:51 am
Wonderful, how do we get hold of it?

I can host it if you want (assuming I can remember my ftp password ;-)), or why not stick it in the ZUG downloads section.


Si
Title: XMMS embedded, gcc3 compatible
Post by: comcute on July 19, 2004, 07:56:04 am
Quote
Wonderful, how do we get hold of it?

I can host it if you want (assuming I can remember my ftp password ;-)), or why not stick it in the ZUG downloads section.


Si
I tried to put it to the download section, but it didn't work either.
I got this error

<<<                                                   Request entity too large!
                           Request entity too large!

          The POST method does not allow the data transmitted, or the
          data volume exceeds the capacity limit.

          If you think this is a server error, please contact the
          webmaster

Error 413


    www.zaurususergroup.com
    Mon Jul 19 04:44:23 2004
    Apache/2.0.40 (Red Hat Linux)
Title: XMMS embedded, gcc3 compatible
Post by: cvmiller on July 21, 2004, 01:20:47 pm
Quote
Hello all.
I didn't find anywhere xmms compiled with gcc3, so I compiled it myself and I want to share it for others.
Parden my ignorance, but what Zaurus does this gcc3 compiled XMMS work on? With what ROM? I gave up trying to get my working version of XMMS (on my 5500) to work on my SL-6000. But I don't think the SL-6000 is using gcc3 libs.

Any words of wisdom?

Craig...
Title: XMMS embedded, gcc3 compatible
Post by: lardman on July 21, 2004, 01:54:19 pm
@cvmiller: It'll be for OZ3.3.6pre1

@comcute: Might be best to speak to offroadgeek, however in the meantime I can host it (and I'd like to use it too :-)). How large is it?


Si
Title: XMMS embedded, gcc3 compatible
Post by: comcute on July 22, 2004, 06:42:01 am
Quote
@comcute: Might be best to speak to offroadgeek, however in the meantime I can host it (and I'd like to use it too :-)).
look at http://www.zaurususergroup.com/modules.php...file=index#LAST (http://www.zaurususergroup.com/modules.php?op=modload&name=UpDownload&file=index#LAST)
It's currently fist one in the list. I talked to offroadgeek and he doesn't know why I get this error, so I'm hosting it myself.

Quote
How large is it?
total 892
-rw-r--r--  1 kala root 264038 Jul 19 12:38 libglib-2.0-0_2.4.1-r0_arm.ipk
-rw-r--r--  1 kala root  28076 Jul 19 12:54 libid3tag0_0.15.0b-r0_arm.ipk
-rw-r--r--  1 kala root  62396 Jul 18 23:05 libmad0_0.15.0b-r0_arm.ipk
-rw-r--r--  1 kala root 247512 Jul 19 12:42 libstdc++6_3.4.0-r1_arm.ipk
-rw-r--r--  1 kala root  81624 Jul 19 12:45 libvorbisidec1_20040602-r0_arm.ipk
-rw-r--r--  1 kala root 197082 Jul 19 12:58 xmms-embedded_20040327-r0_arm.ipk

btw, I forgot to include config file, but it doesn't really matter, if you don't use http streaming.
If you want to listen shoutcast/icecast streams write these lines to $HOME/.xmms/config file
#################
[vorbis]                                                                                                                                                                  
http_buffer_size=128                                                                                                                                                      
http_prebuffer=25                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                     
[MAD]                                                                                                                                                                    
http_buffer_size=65536
#################

Give it a try and tell me how is it working

Oh, if it complains zlib not found and you have zlib1g installed, use -nodeps switch (zlib and zlib1g are the same, but different name)
Title: XMMS embedded, gcc3 compatible
Post by: Teletubbie on August 23, 2004, 03:37:02 pm
Hi comcute,
I compiled xmms using oe with a prebuild 3.3.2, because I didnt want to a have additional libstc++.
I compiled gtk+ before to have the gtk headers in staging, but the gui dont comes up.
I get libQPEgui.so: endefined symbol bla bla bla
Are ther any hints and tips to get it work. I tried yours and it works, it was just because of the libstc++.
My toolchain is working.
Cheers and thanks,
Sam
Title: XMMS embedded, gcc3 compatible
Post by: comcute on August 24, 2004, 09:44:20 am
Hi. OE pathes xmms with gtk removal patch, so gtk+ is not needed, only glib2
Title: XMMS embedded, gcc3 compatible
Post by: Teletubbie on August 24, 2004, 10:00:38 am
Hi comcute,
thanks for your fast reply. I tried that before without gtk+. The same problem. I am not sure about the if there were errors or not. xmms starts, but it dont initialize gui.
I tried also withgcc3.4.1, same problem.

So my question is you just compiled out of the box using OE without any modifications?

In this case I have to check my OE installation, but since it builds a lot of other working packages, I am wondering a little bit.

Thanks a lot comcute. Cheers,
Sam

PS: I have recompiled some other packages with gcc3.3.2, so please feel free to get them, if you like:

http://teletubbie.hentges.net/ (http://teletubbie.hentges.net/)
Title: XMMS embedded, gcc3 compatible
Post by: comcute on August 25, 2004, 05:09:25 am
Hi
Enter this command
ldd /opt/QtPalmtop/lib/xmms/General/libQPEgui.so
what´s the output?

I remember that I had same problem, that xmms strarted with no errors, but without gui. I don´t remember what the problem exactly was, but I think it has something todo with libQPEgui library
Title: XMMS embedded, gcc3 compatible
Post by: Teletubbie on August 25, 2004, 06:12:38 pm
Hi comcute,
When I start I get this:
libQPEgui.so: undefined symbol: _ZNSt8ios_base4InitC1Ev

Doing the ldd returns this:
ldd /opt/QtPalmtop/lib/xmms/General/libQPEgui.so
        libpthread.so.0 => /lib/libpthread.so.0 (0x40046000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x4009e000)
        libqpe.so.1 => /opt/QtPalmtop/lib/libqpe.so.1 (0x40107000)
        libqte.so.2 => /opt/QtPalmtop/lib/libqte.so.2 (0x4023b000)
        libc.so.6 => /lib/libc.so.6 (0x40557000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
        libdl.so.2 => /lib/libdl.so.2 (0x4067d000)
        libcrypt.so.1 => /lib/libcrypt.so.1
(0x40688000)
        libm.so.6 => /lib/libm.so.6 (0x406bc000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1
(0x40736000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40747000)
        libz.so.1 => /lib/libz.so.1 (0x40771000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40786000)

I dont know what this means.  
Thanks a lot for paying attention.
Sam
Title: XMMS embedded, gcc3 compatible
Post by: Teletubbie on August 26, 2004, 12:07:01 pm
Hi comcute,
it was a linkage problem, linking g++ solved. Ther was a post on OE list having the same problem.
According to that post hrw solved the linkage problem.
Many thanks to hrw or better: hrw rulez  

But the Idea of freeing xmms from additional libs wasnt so good. I managed the package now using libs from OZ feed, including libvorbis and libmad. But the sound quality with this libs is not comparable with opie-mediaplayer.
Anyway the package works now and I will try it later with newer libvorbis and libmad.

Again thanks a lot for your help comcute.
I will put the package online later, so if someone needs place on root can use it. This will save about    250K, since it now dont needs additional libstc++.

Cheers,
Sam