Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi all.
Compiled last minidlna cvs with success (you can find it on my repository) but when I try to compil the non-cvs version I've got this:
root@NAS:/mnt/HD_a2/ffpbuildenv_07/minidlna-1.0.25# make Linking minidlna /ffp/bin/ld: /mnt/HD/HD_a2/ffp/bin/../lib/gcc/arm-ffp-linux-uclibcgnueabi/4.5.4/../../../libavcodec.a(wmavoice.o): undefined reference to symbol 'log10f' /ffp/bin/ld: note: 'log10f' is defined in DSO /ffp/lib/libm.so.0 so try adding it to the linker command line /ffp/lib/libm.so.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: *** [minidlna] Error 1
Did someone achieved to compile last minidlna with success ?
Offline
Hi,
Could you link your repository or have it in your profile ?
Thanks
Offline
R0bin, try the same as I suggested in the previous thread:
$ ./configure --prefix=/ffp LIBS="-lm -lz -lavformat -lavcodec -lavutil -lpthread"
Offline
jeffjoker wrote:
Hi,
Could you link your repository or have it in your profile ?
Thanks
You can find the url here: http://dns323.kood.org/howto:ffp
But here you are: https://docs.google.com/open?id=0B9vh__ … kRRaXhHVnM
I will add it to my sign
edit: done !
KyleK wrote:
R0bin, try the same as I suggested in the previous thread:
Code:
$ ./configure --prefix=/ffp LIBS="-lm -lz -lavformat -lavcodec -lavutil -lpthread"
Thanks Kylek but this command line is for minidlna CVS version and I want to compile the standard version. I already compiled the last CVS version and you can find it on my repository
Last edited by R0b1n (2012-09-18 18:51:40)
Offline
But how is it different compiling the CVS version and the standard version? It should work the same on both.
EDIT: I see the problem now. minidlna 1.0.25 doesn't use configure yet.
I had to open Makefile and manually edit the LIBS variable to make it work.
Here's what I did:
$ tar xf minidlna_1.0.25_src.tar.gz $ cd minidlna-1.0.25 $ sed -i 's#/usr#/ffp#g' Makefile genconfig.sh # Replace the LIBS= line in Makefile with this: LIBS = -lz -lm -lpthread -lvorbis -logg -lexif -ljpeg -lsqlite3 -lavformat -lavcodec -lavutil -lid3tag -lFLAC -liconv
I also modified config.h and commented these lines:
/* #define USE_DAEMON */
/* #define ENABLE_NLS */
The last line didn't have any effect though, I still got linking errors, so I had to modify upnpglobalvars.h as well:
//#ifdef ENABLE_NLS //#define _(string) gettext(string) //#else #define _(string) (string) //#endif
That finally did the trick :)
Last edited by KyleK (2012-09-20 16:54:54)
Offline
Thanks Kylek but didn't work for me. Here is what I've done:
$ tar xf minidlna_1.0.25_src.tar.gz $ cd minidlna-1.0.25 $ sed -i 's#/usr#/ffp#g' Makefile genconfig.sh $ ./genconfig.sh
Replaced the lines in Makefile with this:
LIBS = -lz -lm -lpthread -lvorbis -logg -lexif -ljpeg -lsqlite3 -lavformat -lavcodec -lavutil -lid3tag -lFLAC -liconv
Replaced the 2 lines in config.h
/* #define USE_DAEMON */ /* #define ENABLE_NLS */
Replaced these lines in upnpglobalvars.h
//#ifdef ENABLE_NLS //#define _(string) gettext(string) //#else #define _(string) (string) //#endif
And
$ Make
But I've got this now:
Linking minidlna metadata.o: In function `lav_close': /mnt/HD_a2/ffpbuildenv_07/minidlna-1.0.25/metadata.c:114: undefined reference to `avformat_close_input' /mnt/HD_a2/ffpbuildenv_07/minidlna-1.0.25/metadata.c:114: undefined reference to `avformat_close_input' collect2: ld returned 1 exit status make: *** [minidlna] Error 1
What is wrong ?
Last edited by R0b1n (2012-09-30 11:10:56)
Offline
The method 'avformat_close_input' is only available in newer versions of ffmpeg, but there is a version check in metadata.c that uses wrong version number values:
http://minidlna.cvs.sf.net/viewvc/minid … ortby=date
If you modify your metadata.c as shown on that page, it should hopefully compile.
Offline
Yeah thanks Kylek it worked. You're the king !
Offline
Hi Robin,
Tried your build, and after a few missing depencies (all found on your repository) errors it started
Did seem to work from the server point of view
But when I connect to it it says that there is no file to be played...
Last edited by jeffjoker (2012-10-29 15:38:28)
Offline
KyleK, thx
Offline