Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Have you installed binutils?
I've got minidlna compiled for ffp-0.7-arm, if that is an option for you.
Offline
Yeap, 'binutils-2.22-oarm-1' installed.
minidlna arm ==> not sure it will work on my DLink NAS (DNS-323)
Might give it a try. You got an URL to your minidlna ?
Cheers
Update : here is the config.log details :
configure:2052: checking for gcc configure:2078: result: distcc gcc configure:2322: checking for C compiler version configure:2325: distcc gcc --version </dev/null >&5 /mnt/HD_a2/ffpbuildenv/work/libid3tag-0.15.1b/libid3tag-0.15.1b/configure: line 2326: distcc: command not found configure:2328: $? = 127 configure:2330: distcc gcc -v </dev/null >&5 /mnt/HD_a2/ffpbuildenv/work/libid3tag-0.15.1b/libid3tag-0.15.1b/configure: line 2331: distcc: command not found configure:2333: $? = 127 configure:2335: distcc gcc -V </dev/null >&5 /mnt/HD_a2/ffpbuildenv/work/libid3tag-0.15.1b/libid3tag-0.15.1b/configure: line 2336: distcc: command not found configure:2338: $? = 127 configure:2361: checking for C compiler default output file name configure:2364: distcc gcc -O2 -pipe -Wl,-rpath -Wl,/ffp/lib conftest.c >&5 /mnt/HD_a2/ffpbuildenv/work/libid3tag-0.15.1b/libid3tag-0.15.1b/configure: line 2365: distcc: command not found configure:2367: $? = 127 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "ID3 Tag" | #define PACKAGE_TARNAME "libid3tag" | #define PACKAGE_VERSION "0.15.1b" | #define PACKAGE_STRING "ID3 Tag 0.15.1b" | #define PACKAGE_BUGREPORT "support@underbit.com" | #define PACKAGE "libid3tag" | #define VERSION "0.15.1b" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2406: error: C compiler cannot create executables
Last edited by fboulange (2012-02-11 01:15:44)
Offline
KyleK wrote:
Have you installed binutils?
I've got minidlna compiled for ffp-0.7-arm, if that is an option for you.
Yes, could you give us a link to your compiled minidlna and could you explain how did you achieve to compile it ? Thanks.
Offline
@fboulange: Somehow configure doesn't find gcc. Your log:
configure:2052: checking for gcc configure:2078: result: distcc gcc
One of my logs
configure:4381: checking for gcc configure:4397: found /ffp/bin/gcc
What does 'which gcc' give on your system? How is your ./configure command?
Offline
Hmm I'm not sure what you meant by
Mijzelf wrote:
How is your ./configure command?
I might have it wrong as I use an old ffpbuildenv directory create with ffp0.5 svn
Is there the equivalent for ffp0.7 ?
Thanks for your advices.
Fr3d
Offline
Don't know. I created my packages on my nas using
./configure --prefix=/ffp make su DESTDIR=/some/temporary/dir/ make install-strip cd /some/temporary/dir/ # do some cleaning and reviewing tar cJf /path/to/package-version-oarm-0.txz ffp install
or equivalents. But sometimes this has to be tweaked, of course.
Offline
You might want to use "/ffp/sbin/makepkg PACKAGE VERSION REVISION" instead of the explicit tar cJf .. command. In addition to the tar, makepkg strips binaries and compresses man pages and info files.
Offline
The 0.7-arm package of minidlna is available at http://kylek.is-a-geek.org:31337/files/ … arm-1.txz.
It has some dependencies, but all are available in fonz' repository (e.g. libsqlite, libjpeg, libpng, ...)
The release will NOT work on a DNS-323 with ffp-0.5 or ffp-0.7-oarm installed.
(And since 0.7-arm won't run on a DNS-323, this release is pretty useless for DNS-323 users)
Offline
KyleK wrote:
The release will NOT work on a DNS-323 with ffp-0.5 or ffp-0.7-oarm installed.
(And since 0.7-arm won't run on a DNS-323, this release is pretty useless for DNS-323 users)
Ok thanks anyway.
I have to find a way to get this gcc work as I cannot compile anything now...
Including librairies needed for minidlna.
Any ideas ?
Cheers,
Fred
PS Here is the full log : it finds GCC but somehow failed to use it
configure:2052: checking for gcc configure:2068: found /ffp/bin/gcc configure:2078: result: gcc configure:2322: checking for C compiler version configure:2325: gcc --version </dev/null >&5 gcc (GCC) 4.5.4 20111110 (prerelease) Copyright (C) 2010 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:2328: $? = 0 configure:2330: gcc -v </dev/null >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/mnt/HD_a2/ffp/bin/../libexec/gcc/arm-ffp-linux-uclibc/4.5.4/lto-wrapper Target: arm-ffp-linux-uclibc Configured with: ../gcc-4.5-20111110/configure --prefix=/ffp --with-local-prefix=/ffp --build=arm-ffp-linux-uclibc --host=arm-ffp-linux-uclibc --disable-nl s --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-threads=posix --disable-multilib --with-system-zl ib --enable-checking=release --with-float=soft Thread model: posix gcc version 4.5.4 20111110 (prerelease) (GCC) configure:2333: $? = 0 configure:2335: gcc -V </dev/null >&5 gcc: '-V' option must have argument configure:2338: $? = 1 configure:2361: checking for C compiler default output file name configure:2364: gcc conftest.c >&5 /ffp/bin/ld: cannot find crt1.o: No such file or directory /ffp/bin/ld: cannot find crti.o: No such file or directory /ffp/bin/ld: cannot find /ffp/lib/uclibc_nonshared.a collect2: ld returned 1 exit status configure:2367: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "ID3 Tag" | #define PACKAGE_TARNAME "libid3tag" | #define PACKAGE_VERSION "0.15.1b" | #define PACKAGE_STRING "ID3 Tag 0.15.1b" | #define PACKAGE_BUGREPORT "support@underbit.com" | #define PACKAGE "libid3tag" | #define VERSION "0.15.1b" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2406: error: C compiler cannot create executables See `config.log' for more details.
Last edited by fboulange (2012-02-12 22:52:55)
Offline
Install uClibc-0.9.33_git-oarm-1.txz, which contains /ffp/lib/crt1.o, according to fonz' manifest file.
Offline
Mijzelf wrote:
Install uClibc-0.9.33_git-oarm-1.txz, which contains /ffp/lib/crt1.o, according to fonz' manifest file.
Thanks man, it worked.
Weird I had uClibc-solibs-0.9.33_git-oarm-1.txz installed so I did not bothered to install this uClibc-0.9.33_git-oarm-1.txz
Gonna build the other libraireis now.
Cheers,
Fr3d
Offline
There are 2 transmission files under oarm..
which one should I use for my DNS-323?
transmission-2.42-oarm-0.txz
OR
transmission-2.42-oarm-1.txz
Thanks for all your work!
Offline
Right I'm getting stucked with minidlna :
I compiled libid3tag, libogg and libvorbis without problems
When I tried to compile minidlna it conplains about lvorbis : (libvorbis I presume)
make: *** No rule to make target `-lvorbis', needed by `minidlna'. Stop.
How 'lvorbis' links to libvorbis ?
How to ckeck that lvorbis is properly configure ?
Cheers
Fr3d
Last edited by fboulange (2012-02-14 01:27:51)
Offline
any change for system and kernel log?
Offline
OK, I switched to ffp 0.7 and tried to compile nzbget 0.7.0 after setting up the build environment. I've got this error:
root@NAS:/mnt/HD_a2/ffpbuildenv/nzbget-0.7.0# ./configure
checking for a BSD-compatible install... /ffp/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... armv5tejl-unknown-linux-gnu
checking host system type... armv5tejl-unknown-linux-gnu
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for tar... /ffp/bin/tar
checking for make... /ffp/bin/make
checking for a BSD-compatible install... /ffp/bin/install -c
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /ffp/bin/grep
checking for egrep... /ffp/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking for library containing pthread_create... -lpthread
checking for library containing socket... none required
checking for library containing inet_addr... none required
checking for library containing hstrerror... none required
checking for getopt_long... yes
checking for stat64... yes
checking for ctime_r... yes, and it takes 2 arguments
checking for getaddrinfo... yes
checking for library containing getaddrinfo... none required
checking for type of socket length (socklen_t)... socklen_t
checking for pkg-config... /ffp/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxml2... yes
checking libxml/tree.h usability... yes
checking libxml/tree.h presence... yes
checking for libxml/tree.h... yes
checking for library containing xmlNewNode... none required
checking whether to use curses... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for library containing refresh... -lncurses
checking whether to include code for par-checking... yes
checking for libsigc... configure: error: Package requirements (sigc++-2.0) were not met:
No package 'sigc++-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables libsigc_CFLAGS
and libsigc_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
It seems that libsigc is not installed and I can't find it in fonz repository
Offline
Hello,
Just a little post to say I compiled NodeJS v 0.6.10 and put it on my repo : http://ffp.memiks.fr/pkg
It is only for arm (due to EABI dependency).
I update wiki ffp page too.
Memiks.
(PS: I'm french).
Offline
Hello forum,
has someone already tried the sequeezecenter plugin ? As the latest squeezecenter all-in-one solution (7.7.1) does not work on my oarm CH3SNAS I think of installing oarm FFP 0.7.. Which version is this plugin ? I'm looking for 7.7x because on windows the performance of squeezecenter 7.7x has significantly increased.
Thank you.
Bluemax
Offline
OK, I'm trying to compile nzbget 0.7.0 for ffp 0.7 arm and I achieved to compile libs needed libpar2 and libsigc++ with success.
But When I try to compile nzbget I've got this error:
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I/ffp/include/libxml2 -I/usr/include -I/ffp/include/sigc++-2.0 -I/ffp/lib/sigc++-2.0/include -I/usr/include -I/usr/include -I/usr/include -g -O2 -MT TLS.o -MD -MP -MF ".deps/TLS.Tpo" -c -o TLS.o TLS.cpp; \
then mv -f ".deps/TLS.Tpo" ".deps/TLS.Po"; else rm -f ".deps/TLS.Tpo"; exit 1; fi
TLS.cpp: In function 'int tls_check_cert(tls_t*, const char*, int, char**)':
TLS.cpp:911:5: error: 'STACK' was not declared in this scope
TLS.cpp:911:12: error: 'subj_alt_names' was not declared in this scope
TLS.cpp:963:10: error: expected primary-expression before ')' token
TLS.cpp:963:11: error: expected ')' before 'X509_get_ext_d2i'
TLS.cpp:1564:1: error: expected ')' at end of input
TLS.cpp:1564:1: error: expected statement at end of input
TLS.cpp:1564:1: error: expected '}' at end of input
make[1]: *** [TLS.o] Error 1
make[1]: Leaving directory `/mnt/HD/HD_a2/ffpbuildenv_07/nzbget-0.7.0'
make: *** [all] Error 2
Need your help, thanks...
Offline
There is a small bug in TLS.cpp. Here is the patch:
@@ -91,6 +91,8 @@ #define xstrdup strdup #define _(a) (a) +#define STACK stack_st_GENERAL_NAME + char* xasprintf(const char* msg, ...) { char* szResult = (char*)malloc(2048); // should be enough for all messages @@ -1105,7 +1107,7 @@ #ifdef HAVE_OPENSSL - SSL_METHOD *ssl_method = NULL; + const SSL_METHOD *ssl_method = NULL; ssl_method = force_sslv3 ? SSLv3_client_method() : SSLv23_client_method(); if (!ssl_method)
Offline
Thanks Mijzelf but:
root@NAS:/mnt/HD_a2/ffpbuildenv_07/nzbget-0.7.0# patch TLS.cpp TLS.patch
patching file TLS.cpp
Hunk #1 FAILED at 91.
patch unexpectedly ends in middle of line
Hunk #2 FAILED at 1105.
2 out of 2 hunks FAILED -- saving rejects to file TLS.cpp.rej
TLS.ccp.rej:
root@NAS:/mnt/HD_a2/ffpbuildenv_07/nzbget-0.7.0# more TLS.cpp.rej
--- /dev/null
+++ /dev/null
@@ -91,6 +91,8 @@
#define xstrdup strdup
#define _(a) (a)
+#define STACK stack_st_GENERAL_NAME
+
char* xasprintf(const char* msg, ...)
{
char* szResult = (char*)malloc(2048); // should be enough for all messages
@@ -1105,7 +1107,7 @@
#ifdef HAVE_OPENSSL
- SSL_METHOD *ssl_method = NULL;
+ const SSL_METHOD *ssl_method = NULL;
ssl_method = force_sslv3 ? SSLv3_client_method() : SSLv23_client_method();
Last edited by R0b1n (2012-02-18 13:27:08)
Offline
I left out the header
--- TLS.cpp.old 2010-01-30 21:38:12.000000000 +0100 +++ TLS.cpp 2012-01-28 17:18:02.000000000 +0100
Offline
Thanks you but now:
root@NAS:/mnt/HD_a2/ffpbuildenv_07/nzbget-0.7.0# patch TLS.cpp TLS.cpp.patch
(Stripping trailing CRs from patch.)
patching file TLS.cpp
patch: **** malformed patch at line 11: @@ -1105,7 +1107,7 @@
Offline
I don't know what goes wrong with the patch. But you can just apply the changes manually.
Around line 91, below
#define xstrdup strdup
#define _(a) (a)
Add the line
#define STACK stack_st_GENERAL_NAME
And around line 1105 exchange the line
SSL_METHOD *ssl_method = NULL;
with
const SSL_METHOD *ssl_method = NULL;
Offline
Thanks for your great help Mijzelf but it seems there is something wrong with libcrypto now:
root@NAS:/mnt/HD_a2/ffpbuildenv_07/nzbget-0.7.0# make
/ffp/bin/make all-am
/ffp/bin/sh: svnversion: command not found
make[1]: Entering directory `/mnt/HD/HD_a2/ffpbuildenv_07/nzbget-0.7.0'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I/ffp/include/libxml2 -I/usr/include -I/ffp/include/sigc++-2.0 -I/ffp/lib/sigc++-2.0/include -I/usr/include -I/usr/include -I/usr/include -g -O2 -MT TLS.o -MD -MP -MF ".deps/TLS.Tpo" -c -o TLS.o TLS.cpp; \
then mv -f ".deps/TLS.Tpo" ".deps/TLS.Po"; else rm -f ".deps/TLS.Tpo"; exit 1; fi
g++ -g -O2 -L/ffp/lib -lxml2 -L/usr/lib -L/ffp/lib -lsigc-2.0 -L/usr/lib -L/usr/lib -L/usr/lib -o nzbget ArticleDownloader.o BinRpc.o ColoredFrontend.o Connection.o Decoder.o DiskState.o DownloadInfo.o Frontend.o Log.o LoggableFrontend.o NCursesFrontend.o NNTPConnection.o NZBFile.o NetAddress.o NewsServer.o Observer.o Options.o ParChecker.o PrePostProcessor.o QueueCoordinator.o QueueEditor.o RemoteClient.o RemoteServer.o Scanner.o Scheduler.o ScriptController.o ServerPool.o svn_version.o TLS.o Thread.o Util.o XmlRpc.o nzbget.o -lssl -lpar2 -lncurses -lpthread
/ffp/bin/ld: TLS.o: undefined reference to symbol 'X509_free'
/ffp/bin/ld: note: 'X509_free' is defined in DSO /ffp/lib/libcrypto.so.1.0.0 so try adding it to the linker command line
/ffp/lib/libcrypto.so.1.0.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [nzbget] Error 1
make[1]: Leaving directory `/mnt/HD/HD_a2/ffpbuildenv_07/nzbget-0.7.0'
make: *** [all] Error 2
Offline