Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi all.
I need help on how to compile the last minidlna CVS for my DNS-325 on ffp. What are the pre-requisites and how to do it ?
I've installed automake, autoconf, gettext, perl but it doesn't work. It's really easy to do it with Debian Squeeze distrib but not with ffp
root@NAS:/mnt/HD/HD_a2/ffp/tmp/minidlna# ./autogen.sh
You must have automake installed to compile minidlna.
Download the appropriate package for your system,
or get the source from one of the GNU ftp sites
listed in http://www.gnu.org/order/ftp.html
And
root@NAS:/mnt/HD/HD_a2/ffp/tmp/minidlna# sh /ffp/bin/automake --version
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
automake (GNU automake) 1.10.1
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Tom Tromey <tromey@redhat.com>
and Alexandre Duret-Lutz <adl@gnu.org>.
Thanks in advance for your help.
Offline
It is ok now, I achieved to launch ./autogen.sh but now when I try to launch ./configure I've got this:
root@NAS:/mnt/HD/HD_a2/ffp/tmp/minidlna# ./configure
checking build system type... arm-unknown-linux-uclibc
checking host system type... arm-unknown-linux-uclibc
checking target system type... arm-unknown-linux-uclibc
checking for a BSD-compatible install... /ffp/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /ffp/bin/mkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
And this is my config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by MiniDLNA configure 1.1.0, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = NAS
uname -m = armv5tejl
uname -r = 2.6.22.18
uname -s = Linux
uname -v = #15 Wed May 25 15:23:11 CST 2011
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /opt/sbin
PATH: /opt/bin
PATH: /ffp/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /ffp/bin
PATH: /usr/bin
PATH: /bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1831: checking build system type
configure:1849: result: arm-unknown-linux-uclibc
configure:1871: checking host system type
configure:1886: result: arm-unknown-linux-uclibc
configure:1908: checking target system type
configure:1923: result: arm-unknown-linux-uclibc
configure:1966: checking for a BSD-compatible install
configure:2022: result: /ffp/bin/install -c
configure:2033: checking whether build environment is sane
configure:2076: result: yes
configure:2104: checking for a thread-safe mkdir -p
configure:2143: result: /ffp/bin/mkdir -p
configure:2156: checking for gawk
configure:2186: result: no
configure:2156: checking for mawk
configure:2186: result: no
configure:2156: checking for nawk
configure:2186: result: no
configure:2156: checking for awk
configure:2172: found /ffp/bin/awk
configure:2183: result: awk
configure:2194: checking whether make sets $(MAKE)
configure:2215: result: yes
configure:2424: checking for style of include used by make
configure:2452: result: GNU
configure:2522: checking for gcc
configure:2538: found /ffp/bin/gcc
configure:2549: result: gcc
configure:2787: checking for C compiler version
configure:2794: gcc --version >&5
gcc (GCC) 4.1.3 20080414 (prerelease)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2797: $? = 0
configure:2804: gcc -v >&5
Using built-in specs.
Target: arm-unknown-linux-uclibc
Configured with: /mnt/HD_a2/home/bob/funplug/work/gcc-4.1/gcc-4_1-branch/configure --enable-languages=c,c++ --enable-__cxa_atexit --with-local-prefix=/ffp --disable-multilib --disable-libssp --disable-libgomp --disable-libmudflap --disable-tls --with-float=soft --disable-bootstrap
Thread model: posix
gcc version 4.1.3 20080414 (prerelease)
configure:2807: $? = 0
configure:2814: gcc -V >&5
gcc: '-V' option must have argument
configure:2817: $? = 1
configure:2840: checking for C compiler default output file name
configure:2867: gcc conftest.c >&5
/opt/bin/ld: unrecognised emulation mode: armelf_linux
Supported emulations: armelf_linux_eabi armelfb_linux_eabi
collect2: ld returned 1 exit status
configure:2870: $? = 1
configure:2908: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "MiniDLNA"
| #define PACKAGE_TARNAME "minidlna"
| #define PACKAGE_VERSION "1.1.0"
| #define PACKAGE_STRING "MiniDLNA 1.1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "minidlna"
| #define VERSION "1.1.0"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2915: error: C compiler cannot create executables
See `config.log' for more details.
Offline
/opt/bin/ld: unrecognised emulation mode: armelf_linux Supported emulations: armelf_linux_eabi armelfb_linux_eabi
Is it possible that you mixed up oarm and arm compile tools?
Offline
Not possible, it's under ffp 0.5 I try to compile it here and not ffp 0.7
Last edited by R0b1n (2012-02-11 13:24:09)
Offline
Oh, wait. I'm not awake yet. /opt/bin/ld is not supposed to popup here. An FFP package is supposed to use FFP only.
So try
PATH=/ffp/bin:/ffp/sbin ./configure --prefix=/ffp
Offline
ok, fixed the gcc error problem with installing 4.2.3 version (with ipkg). I had the 4.1.2 installed before (funpkg).
Now, minidlna CVS compiles but it does'n t work
/ffp/opt/optware/sbin/minidlna: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
And there is something strange. The size of my binary is 631729 against 286015 with working stealth's one: http://numsys.eu/divers/minidlna-cvs-fr … 120211.tgz
Offline
You should makeup your mind, and choose if you want a FFP package, or an optware package. Now you are mixing things up, which at least means that your package won't be redistributable.
You'll need to install libjpeg, and if you already did so, it might be necessary to create a symlink libjpeg.so.62 which points to the lib.
I suppose you didn't strip your executable. That can easily have such an impact on size.
Offline
Thanks Mijzelf, the binary is smaller when I strip it thats' right
But for the libjpeg issue I think it is a lib path configuration error when I try to compile minidlna. Just done that:
# cd /ffp/tmp # cvs -d:pserver:anonymous@minidlna.cvs.sourceforge.net:/cvsroot/minidlna login # cvs -z3 -d:pserver:anonymous@minidlna.cvs.sourceforge.net:/cvsroot/minidlna co -P minidlna # cd minidlna # ./autogen.sh # ./configure # make # strip minidlna # cp -f minidlna /ffp/opt/optware/sbin/ # sh /ffp/start/minidlna.sh start
and nothing else.
I saw that stealth done a ./configure LIBS="liconv" to compile minidlna. What's for ?
Last edited by R0b1n (2012-02-12 20:33:49)
Offline
minidlna version minidlna-11-02-2012-cvs20120211.tar. I've installed this version and most things seems to be working.
I've noticed that on my Panasonic DMP-BD87 that viewing files in the main folder that a couple of files that are in a sub folder
show up as being in the main folder. Has anybody seen this? Is there a fix for this problem.
RAC
Offline