OpenWrt Forum Archive

Topic: Patch gmediaserver0.12.0 to 0.13.0

The content of this topic has been archived on 24 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello everbody,

I hope i post this on the right place but after hours in front of my computer i'll get this stuff working.
The thing is, that i use the Nslu2 from Linksys with , since yesterday, OpenWrt.
I use the gmediaserver to supply my PS3 with Music, pictures and so on, but unfortunately i doesn't work well with mp3 music. I hope the version 0.13.0 will fix the Problem.
Now i also found an patch entry for OpenWrt: https://dev.openwrt.org/cgi-bin/trac.fc … 3621.patch
But i don't know how this file is to use. I thought i must run this as mikefile with the SDK but i think i am to stupid to get SDk work well (I think the manual for SDk makes confuse, but it also can be, that it's me :-) )

Is there anybody who can tell me how to use the patch or better how to get ipkg package for the latest gmediaserver version?


Thanks
M.P.

p.s. sry for my bad school english

Hi all,

after reading a lot of information how to compile a package for Kamikaze with the SDK i just try to make the gmediaserver 0.13.0 package.
I copied the 0.13.0patch text into the 0.9.0 make file. It is the newest i found on the web. If anybody can show me a newer one it would be great.
After copying all other stuff that seems to write into some files i start to make the package.
I do it on a SDK which i compiled on my debian etch system. It starts fine but then it stops with an Error you can see here:

configure:3012: $? = 0
configure:3019: armeb-linux-uclibc-gcc -v >&5
Using built-in specs.
Target: armeb-linux-uclibc
Configured with: /home/rudi/kamikaze_7.09/toolchain_build_armeb/gcc-4.1.2/configure --prefix=/home/rudi/kamikaze_7.09/staging_dir_armeb --build=i486-linux-gnu --host=i486-linux-gnu --target=armeb-linux-uclibc --enable-languages=c,c++ --enable-shared --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls --disable-libmudflap
Thread model: posix
gcc version 4.1.2
configure:3022: $? = 0
configure:3029: armeb-linux-uclibc-gcc -V >&5
armeb-linux-uclibc-gcc: '-V' option must have argument
configure:3032: $? = 1
configure:3055: checking for C compiler default output file name
configure:3082: armeb-linux-uclibc-gcc -Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time -I/home/rudi/OpenWrt-SDK-ixp4xx-2.6-for-Linux-i686/staging_dir_armeb/usr/include -I/home/rudi/OpenWrt-SDK-ixp4xx-2.6-for-Linux-i686/staging_dir_armeb/include -I/home/rudi/OpenWrt-SDK-ixp4xx-2.6-for-Linux-i686/staging_dir_armeb/usr/include -I/home/rudi/OpenWrt-SDK-ixp4xx-2.6-for-Linux-i686/staging_dir_armeb/include -I/home/rudi/OpenWrt-SDK-ixp4xx-2.6-for-Linux-i686/staging_dir_armeb/usr/include -I/home/rudi/OpenWrt-SDK-ixp4xx-2.6-for-Linux-i686/staging_dir_armeb/include -L/home/rudi/OpenWrt-SDK-ixp4xx-2.6-for-Linux-i686/staging_dir_armeb/usr/lib -L/home/rudi/OpenWrt-SDK-ixp4xx-2.6-for-Linux-i686/staging_dir_armeb/lib conftest.c  -luClibc++ -lz >&5
/home/rudi/OpenWrt-SDK-ixp4xx-2.6-for-Linux-i686/staging_dir_armeb/bin/../lib/gcc/armeb-linux-uclibc/4.1.2/../../../../armeb-linux-uclibc/bin/ld: cannot find -luClibc++
collect2: ld returned 1 exit status
configure:3085: $? = 1
configure:3123: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "gmediaserver"
| #define PACKAGE_TARNAME "gmediaserver"
| #define PACKAGE_VERSION "0.13.0"
| #define PACKAGE_STRING "gmediaserver 0.13.0"
| #define PACKAGE_BUGREPORT "oskar@osk.mine.nu"
| #define PACKAGE "gmediaserver"
| #define VERSION "0.13.0"
| #define _GNU_SOURCE 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3130: error: C compiler cannot create executables
See `config.log' for more details.

I Think it is the missing lulibc++ that makes the error
Anybody there who has an idea?
please answer this time ;-)

You need to compile uclibc++ before proceeding


make package/uclibc++/{clean,compile} package/index V=99

(Last edited by ratbug on 7 Jul 2008, 18:06)

Hi,

sry for answering so late, but i haven't had any time last week.
I tried to make uclibc++ before running make for the package, but it din't work
I want to make this package for the ixp4xx platform. Maybe this info willhelp to make it run.

I am just a newbie at these theme, so hope anybody can help more :-)

Hello,

so ok i get this stuff working now.
I found out, that making a package only with the OpenWrtSDk doesn't work fine. However i build it with the buildroot and now it works.
I installed the packe at may nslu2 and server runs fine after upgrading a lib.
But i can't get the gmediaserver working with my ps3 at all. It just streams jpeg-files. When i try mp3-files the ps3 only says, there are incompatible data.
Is there anybody out there, who gets gmediaserver working with the ps3?

Thanks for reply

Marcel

The discussion might have continued from here.