General NAS-Central Forums

Welcome to the NAS community
It is currently Mon Dec 18, 2017 1:29 am

All times are UTC




Post new topic Reply to topic  [ 69 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
PostPosted: Mon Mar 14, 2016 9:03 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
MrDini wrote:
The nas today jokes with me! I installed cmus but it says no modules loaded. And a lot of error answers the "why" question for each module. If I press enter the cmus gui shows up. So I typed ":add <music library>" and after it I Can show my musics. That's ok. The first (without ffmpeg) compilation also same situation. But when I open a music with enter it starts to play the music!!! That's amazing! :D But I can't change the volume and the default is too loud... I will read the manpage. :)

Thanks for your patience and support. I will change my signature to "Thanks barmalej2!" :D.


Sorry for the flood, but I have found one more interesting thing regarding cmus... I Can't see ffmpeg at the output of cmus --plugins..:

Code:
root@NSA320S:~# cmus --plugins

cmus: symbol 'avcodec_decode_audio4': can't resolve symbol

cmus: symbol 'avcodec_open2': can't resolve symbol

cmus: symbol 'av_opt_set_sample_fmt': can't resolve symbol

cmus: symbol 'avcodec_close': can't resolve symbol

cmus: symbol 'av_rescale_q': can't resolve symbol

cmus: symbol 'av_log_set_level': can't resolve symbol

cmus: symbol 'avcodec_flush_buffers': can't resolve symbol

cmus: symbol 'av_opt_set_int': can't resolve symbol

cmus: symbol 'av_dict_get': can't resolve symbol

cmus: symbol 'avcodec_find_decoder': can't resolve symbol

cmus: symbol 'av_new_packet': can't resolve symbol

cmus: symbol 'av_get_default_channel_layout': can't resolve symbol

cmus: symbol 'avcodec_alloc_frame': can't resolve symbol

cmus: symbol 'av_get_profile_name': can't resolve symbol

cmus: symbol 'av_free_packet': can't resolve symbol

cmus: symbol 'avcodec_free_frame': can't resolve symbol
Input Plugins: /ffp/lib/cmus/ip
  mad:
    Priority: 55
    File Types: mp3 mp2
    MIME Types: audio/mpeg audio/x-mp3 audio/x-mpeg
  opus:
    Priority: 50
    File Types: opus
    MIME Types:
  wav:
    Priority: 50
    File Types: wav
    MIME Types:
  cue:
    Priority: 50
    File Types:
    MIME Types: application/x-cue
  aac:
    Priority: 50
    File Types: aac
    MIME Types: audio/aac audio/aacp
  flac:
    Priority: 50
    File Types: flac fla
    MIME Types:
  vorbis:
    Priority: 50
    File Types: ogg oga ogx
    MIME Types: application/ogg audio/x-ogg

Output Plugins: /ffp/lib/cmus/op
  alsa
  jack
  ao


And a lot of error appears at the bigining of the output... The music play is works, because the mad didn't used the ffmpeg... :/ But if I try an aac plays I Can't hear it...

Ps: Have you got ffmpeg package with included ffplay? Because I cannot compile it for me... The --enable-ffplay not works...

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Tue Mar 15, 2016 12:47 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
I intensionally disabled ffplay server to reduce ffmpeg package size.

What is the output of:
Code:
ldd $(which cmus)

One more interesting source: Music Player Daemon, which has numerous clients for every platform including android.

Quote:
root@NSA320S:/i-data/bf835951/build/xmms2-0.8DrO_o# ./waf build
Waf: Entering directory `/i-data/bf835951/build/xmms2-0.8DrO_o/_build_'
[ 1/246] xsubpp: src/clients/lib/perl/XMMSClientCollection.xs -> _build_/src/clients/lib/perl/XMMSClientCollection.c
Undefined subroutine &ExtUtils::ParseXS::errors called at /ffp/lib/perl5/5.14.2/ExtUtils/xsubpp line 41.

Install br2:perl-modules package.

P.S. Please do not use my nickname in your signature. Change to something more abstract: nas-central for example.


Top
 Profile  
 
PostPosted: Tue Mar 15, 2016 2:02 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
Ok, I changed it. :) I'm much obliged!

Regarding ldd:

Code:
root@NSA320S:~# ldd $(which cmus)
        libpthread.so.0 => /ffp/lib/libpthread.so.0 (0x4000a000)        libncursesw.so.5 => /ffp/lib/libncursesw.so.5 (0x40026000)
        libiconv.so.2 => /ffp/lib/libiconv.so.2 (0x40086000)
        libdl.so.0 => /ffp/lib/libdl.so.0 (0x4016d000)
        libcue.so.1 => /ffp/lib/libcue.so.1 (0x40178000)
        libm.so.0 => /ffp/lib/libm.so.0 (0x4019a000)
        libc.so.0 => /ffp/lib/libc.so.0 (0x401b4000)
        ld-uClibc.so.0 => /ffp/lib/ld-uClibc.so.0 (0x2a000000)


Thanks for the link! I will try it! I've found an other interesting tool too. The MPlayer. It Can uses ffmpeg and lot of other popular codecpack! And it is Hungarian project. :D https://mplayerhq.hu

Regarding xmms2, UR package already installed. U tried a reintall, but output is the same. (Nothing changed)

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Tue Mar 15, 2016 3:17 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
Did you tried to compile the mpd? Because your ffmpeg doesn't contains the include/libavutil/macros.h . That's needed for the build... My ad-hoc package contains that, so the compile successfull with this, but I think your package is better than a one-hand made one... If I copy the include/libavutil folder from my package to include folder manually, when Your package installed is this works? What Do You think?

Mod: My package doesn't contains libresample... But Your package has... :evil:

And one more error... :o

Code:
root@NSA320S:/i-data/bf835951/build/mpd-0.19.13# make
make  all-am
make[1]: Entering directory '/i-data/bf835951/build/mpd-0.19.13'
g++ -std=gnu++0x -pthread -g -O2 -fvisibility=hidden -fno-threadsafe-statics -fmerge-all-constants -fno-exceptions -fno-rtti -ffast-math -ftree-vectorize -ffunction-sections -fdata-sections -Wall -Wextra -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare  -Wl,--gc-sections -o src/mpd src/Main.o libmpd.a -Wl,-rpath,/ffp/lib -lsmbclient  libneighbor.a  libdb_plugins.a   libstorage.a  -Wl,-rpath,/ffp/lib -lsmbclient  libplaylist_plugins.a -lexpat  -lFLAC -lm    -lwrap -lsqlite3  libdecoder.a -lvorbisfile -lvorbis -lm -logg   -lFLAC -lm          -lmad  -lopus -logg  libffmpeg.a -lavformat -ljack -lasound -lm -lbz2 -lz -pthread -lavcodec -ljack -lasound -lm -lbz2 -lz -pthread -lavresample -lm -lavutil -lm    -lfaad  libinput.a -lcurl  -Wl,-rpath,/ffp/lib -lsmbclient    libffmpeg.a -lavformat -ljack -lasound -lm -lbz2 -lz -pthread -lavcodec -ljack -lasound -lm -lbz2 -lz -pthread -lavresample -lm -lavutil -lm  -lmms -lm -lglib-2.0 -lintl  -lasound  libarchive.a -lbz2   libtag.a -lid3tag -lz liboutput_plugins.a -lwrap -lao  -lasound   -ljack -lpthread      libfilter_plugins.a libpcm.a   libencoder_plugins.a -lmp3lame -ltwolame  -lFLAC -lm  -lopus -logg   -lvorbisenc -lvorbis -lm -logg  libmixer_plugins.a -lasound   libconf.a libevent.a libthread.a libsystem.a libicu.a -licui18n -licuuc -licudata  libutil.a libfs.a -L/ffp/lib -lz   -lgthread-2.0 -pthread -lglib-2.0 -lintl   -lm
libsystem.a(fd_util.o): In function `accept_cloexec_nonblock':
/i-data/bf835951/build/mpd-0.19.13/src/system/fd_util.c:264: warning: accept4: this function is not implemented
/ffp/lib/libFLAC.so: warning: the use of OBSOLESCENT `utime' is discouraged, use `utimes'
/ffp/lib/libwrap.a(socket.o): In function `gethostbyname_dot':
socket.c:(.text+0x48): warning: gethostbyname is obsolescent, use getnameinfo() instead.
/ffp/lib/libssp.so.0: warning: the 'gets' function is dangerous and should not be used.
/ffp/lib/samba/libsamba-sockets.so: warning: gethostbyaddr is obsolescent, use getaddrinfo() instead.
/ffp/lib/libsmbconf.so.0: undefined reference to `talloc_total_blocks@TALLOC_2.0.2'
/ffp/lib/samba/libldb.so.1: undefined reference to `talloc_set_name@TALLOC_2.0.2'
/ffp/lib/libsamba-util.so.0: undefined reference to `talloc_asprintf_append_buffer@TALLOC_2.0.2'
/ffp/lib/libsamba-util.so.0: undefined reference to `talloc_pool@TALLOC_2.0.2'
/ffp/lib/samba/liblibsmb.so: undefined reference to `talloc_check_name@TALLOC_2.0.2'
/ffp/lib/libsamba-util.so.0: undefined reference to `talloc_autofree_context@TALLOC_2.0.2'
/ffp/lib/libsmbclient.so: undefined reference to `talloc_asprintf@TALLOC_2.0.2'
/ffp/lib/samba/liblibsmb.so: undefined reference to `_talloc_get_type_abort@TALLOC_2.0.2'
/ffp/lib/libsmbclient.so: undefined reference to `talloc_strdup@TALLOC_2.0.2'
/ffp/lib/libndr.so.0: undefined reference to `talloc_strdup_append@TALLOC_2.0.2'
/ffp/lib/libsamba-util.so.0: undefined reference to `_talloc_zero_array@TALLOC_2.0.2'
/ffp/lib/libsamba-util.so.0: undefined reference to `_talloc_realloc_array@TALLOC_2.0.2'
/ffp/lib/samba/liblibsmb.so: undefined reference to `talloc_get_size@TALLOC_2.0.2'
/ffp/lib/libglib-2.0.so: undefined reference to `fallocate64'
/ffp/lib/libsmbclient.so: undefined reference to `_talloc_free@TALLOC_2.0.2'
/ffp/lib/samba/liblibsmb.so: undefined reference to `talloc_reparent@TALLOC_2.0.2'
/ffp/lib/libndr.so.0: undefined reference to `talloc_vasprintf_append_buffer@TALLOC_2.0.2'
/ffp/lib/libsmbclient.so: undefined reference to `_talloc_memdup@TALLOC_2.0.2'
/ffp/lib/libsamba-util.so.0: undefined reference to `_talloc_zero@TALLOC_2.0.2'
/ffp/lib/samba/liblibsmb.so: undefined reference to `talloc_parent@TALLOC_2.0.2'
/ffp/lib/libsmbclient.so: undefined reference to `talloc_named_const@TALLOC_2.0.2'
/ffp/lib/libsmbconf.so.0: undefined reference to `talloc_report_depth_cb@TALLOC_2.0.2'
/ffp/lib/libsmbclient.so: undefined reference to `talloc_asprintf_append@TALLOC_2.0.2'
/ffp/lib/libsamba-util.so.0: undefined reference to `talloc_get_name@TALLOC_2.0.2'
/ffp/lib/samba/libldb.so.1: undefined reference to `talloc_vasprintf_append@TALLOC_2.0.2'
/ffp/lib/libsmbconf.so.0: undefined reference to `talloc_total_size@TALLOC_2.0.2'
/ffp/lib/libsamba-util.so.0: undefined reference to `_talloc_move@TALLOC_2.0.2'
/ffp/lib/samba/liblibsmb.so: undefined reference to `talloc_reference_count@TALLOC_2.0.2'
/ffp/lib/samba/libgse.so: undefined reference to `talloc_strndup_append_buffer@TALLOC_2.0.2'
/ffp/lib/libsamba-util.so.0: undefined reference to `_talloc_steal_loc@TALLOC_2.0.2'
/ffp/lib/libsmbconf.so.0: undefined reference to `_talloc_realloc@TALLOC_2.0.2'
/ffp/lib/libsamba-util.so.0: undefined reference to `_talloc_set_destructor@TALLOC_2.0.2'
/ffp/lib/libsamba-hostconfig.so.0: undefined reference to `talloc_vasprintf@TALLOC_2.0.2'
/ffp/lib/libsamba-util.so.0: undefined reference to `talloc_set_log_fn@TALLOC_2.0.2'
/ffp/lib/samba/libcli_smb_common.so: undefined reference to `_talloc_reference_loc@TALLOC_2.0.2'
/ffp/lib/libsamba-util.so.0: undefined reference to `talloc_named@TALLOC_2.0.2'
/ffp/lib/libsamba-util.so.0: undefined reference to `talloc_init@TALLOC_2.0.2'
/ffp/lib/samba/libgse.so: undefined reference to `talloc_strdup_append_buffer@TALLOC_2.0.2'
/ffp/lib/libsmbclient.so: undefined reference to `_talloc_array@TALLOC_2.0.2'
/ffp/lib/libsamba-util.so.0: undefined reference to `talloc_set_name_const@TALLOC_2.0.2'
/ffp/lib/libsamba-util.so.0: undefined reference to `talloc_strndup@TALLOC_2.0.2'
/ffp/lib/samba/liblibsmb.so: undefined reference to `talloc_unlink@TALLOC_2.0.2'
/ffp/lib/libsmbconf.so.0: undefined reference to `talloc_free_children@TALLOC_2.0.2'
collect2: error: ld returned 1 exit status
Makefile:6042: recipe for target 'src/mpd' failed
make[1]: *** [src/mpd] Error 1
make[1]: Leaving directory '/i-data/bf835951/build/mpd-0.19.13'
Makefile:4297: recipe for target 'all' failed
make: *** [all] Error 2

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Tue Mar 15, 2016 7:10 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
I saw You updated perl at your repo. Thanks for it, but the issue isn't solved... :(

Code:
root@NSA320S:/i-data/bf835951/build/xmms2-0.8DrO_o# ./waf build Waf: Entering directory `/i-data/bf835951/build/xmms2-0.8DrO_o/_build_'
[  1/246] output_ipc.c: src/ipc.xml src/xmms/output_ipc.py -> _build_/src/xmms/output_ipc.c
[  2/246] config_ipc.c: src/ipc.xml src/xmms/config_ipc.py -> _build_/src/xmms/config_ipc.c
[  7/246] bindata_ipc.c: src/ipc.xml src/xmms/bindata_ipc.py -> _build_/src/xmms/bindata_ipc.c
[  8/246] xsubpp: src/clients/lib/perl/XMMSClientCollection.xs -> _build_/src/clients/lib/perl/XMMSClientCollection.c
Undefined subroutine &ExtUtils::ParseXS::errors called at /ffp/lib/perl5/5.14.2/ExtUtils/xsubpp line 41.
Waf: Leaving directory `/i-data/bf835951/build/xmms2-0.8DrO_o/_build_'
Build failed
 -> task failed (exit status 255):
        {task 1086114000: xsubpp XMMSClientCollection.xs -> XMMSClientCollection.c}
' /ffp/bin/perl /ffp/lib/perl5/5.14.2/ExtUtils/xsubpp -noprototypes -typemap /ffp/lib/perl5/5.14.2/ExtUtils/typemap ../src/clients/lib/perl/XMMSClientCollection.xs > src/clients/lib/perl/XMMSClientCollection.c '


But I think that is not important because now I have 3 media player on my nas.

I think the mpd is more interesting than the other tools.

Thanks! :)

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Tue Mar 15, 2016 7:21 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
xmms2 short HOW TO:
Code:
mkdir /mnt/HD_a2/build
cd /mnt/HD_a2/build
git clone git://git.xmms2.org/xmms2/xmms2-devel.git
cd xmms2-devel
version=$(git rev-parse --short HEAD)
#Initialize submodules
git submodule update --init
# Adapt scripts to FFP prefix
find . -type f -iname "config.*" -exec sed -i -r 's/^#! ?\/bin\/sh/#!\/ffp\/bin\/sh/' {} \;
find . -type f -iname "config.*" -exec sed -i -r 's/^#! ?\/bin\/bash/#!\/ffp\/bin\/bash/' {} \;
find . -type f -iname "config.*" -exec sed -i -r 's/^#! ?\/usr\/bin\/env/#!\/ffp\/bin\/env/' {} \;
find . -type f -iname "configure" -exec sed -i -r 's/^#! ?\/bin\/sh/#!\/ffp\/bin\/sh/' {} \;
find . -type f -iname "configure" -exec sed -i -r 's/^#! ?\/bin\/bash/#!\/ffp\/bin\/bash/' {} \;
find . -type f -iname "configure" -exec sed -i -r 's/^#! ?\/usr\/bin\/env/#!\/ffp\/bin\/env/' {} \;
find . -type f -executable -exec sed -i -r 's/^#! ?\/bin\/sh/#!\/ffp\/bin\/sh/' {} \;
find . -type f -executable -exec sed -i -r 's/^#! ?\/bin\/bash/#!\/ffp\/bin\/bash/' {} \;
find . -type f -executable -exec sed -i -r 's/^#! ?\/usr\/bin\/env/#!\/ffp\/bin\/env/' {} \;
find . -type f -iname "*.py*" -exec sed -i -r 's/^#! ?\/usr\/bin\/python/#!\/ffp\/bin\/python/' {} \;
find . -type f -iname "*.py*" -exec sed -i -r 's/^#! ?\/usr\/bin\/env/#!\/ffp\/bin\/env/' {} \;
find . -type f -iname "*.py*" -exec sed -i -r 's/^#! ?\/bin\/python/#!\/ffp\/bin\/python/' {} \;
find . -type f -iname "*.py*" -exec sed -i -r 's/^#! ?\/bin\/env/#!\/ffp\/bin\/env/' {} \;
find . -type f -iname "*.pl*" -exec sed -i -r 's/^#! ?\/usr\/bin\/perl/#!\/ffp\/bin\/perl/' {} \;
find . -type f -iname "*.pl*" -exec sed -i -r 's/^#! ?\/usr\/bin\/env/#!\/ffp\/bin\/env/' {} \;
find . -type f -iname "*.pl*" -exec sed -i -r 's/^#! ?\/bin\/perl/#!\/ffp\/bin\/perl/' {} \;
find . -type f -iname "*.pl*" -exec sed -i -r 's/^#! ?\/bin\/env/#!\/ffp\/bin\/env/' {} \;
# Fix build
sed -i '/<xmms\/xmms_xformplugin.h>/i\#define _GNU_SOURCE 1' src/plugins/mp4/mp4.c
sed -i "/^ *includes\ =/a\        uselib = 'math'," src/lib/xmmstypes/wscript
./waf configure --prefix=/ffp --conf-prefix=/ffp --sysconfdir=/ffp/etc/xmms2 --boost-includes=/ffp/include
./waf build
./waf --destdir=/mnt/HD_a2/build install
mkdir -p /mnt/HD_a2/build/ffp/etc/xmms2
cd /mnt/HD_a2/build
rm -rf xmms2-devel
makepkg xmms2 git$version 1


Regarding MPD-I didn't tried yet. Maybe for testing worth to disable samba support?


Top
 Profile  
 
PostPosted: Tue Mar 15, 2016 7:31 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
barmalej2 wrote:
xmms2 short HOW TO:
Code:
mkdir /mnt/HD_a2/build
cd /mnt/HD_a2/build
git clone git://git.xmms2.org/xmms2/xmms2-devel.git
cd xmms2-devel
version=$(git rev-parse --short HEAD)
#Initialize submodules
git submodule update --init
# Adapt scripts to FFP prefix
find . -type f -iname "config.*" -exec sed -i -r 's/^#! ?\/bin\/sh/#!\/ffp\/bin\/sh/' {} \;
find . -type f -iname "config.*" -exec sed -i -r 's/^#! ?\/bin\/bash/#!\/ffp\/bin\/bash/' {} \;
find . -type f -iname "config.*" -exec sed -i -r 's/^#! ?\/usr\/bin\/env/#!\/ffp\/bin\/env/' {} \;
find . -type f -iname "configure" -exec sed -i -r 's/^#! ?\/bin\/sh/#!\/ffp\/bin\/sh/' {} \;
find . -type f -iname "configure" -exec sed -i -r 's/^#! ?\/bin\/bash/#!\/ffp\/bin\/bash/' {} \;
find . -type f -iname "configure" -exec sed -i -r 's/^#! ?\/usr\/bin\/env/#!\/ffp\/bin\/env/' {} \;
find . -type f -executable -exec sed -i -r 's/^#! ?\/bin\/sh/#!\/ffp\/bin\/sh/' {} \;
find . -type f -executable -exec sed -i -r 's/^#! ?\/bin\/bash/#!\/ffp\/bin\/bash/' {} \;
find . -type f -executable -exec sed -i -r 's/^#! ?\/usr\/bin\/env/#!\/ffp\/bin\/env/' {} \;
find . -type f -iname "*.py*" -exec sed -i -r 's/^#! ?\/usr\/bin\/python/#!\/ffp\/bin\/python/' {} \;
find . -type f -iname "*.py*" -exec sed -i -r 's/^#! ?\/usr\/bin\/env/#!\/ffp\/bin\/env/' {} \;
find . -type f -iname "*.py*" -exec sed -i -r 's/^#! ?\/bin\/python/#!\/ffp\/bin\/python/' {} \;
find . -type f -iname "*.py*" -exec sed -i -r 's/^#! ?\/bin\/env/#!\/ffp\/bin\/env/' {} \;
find . -type f -iname "*.pl*" -exec sed -i -r 's/^#! ?\/usr\/bin\/perl/#!\/ffp\/bin\/perl/' {} \;
find . -type f -iname "*.pl*" -exec sed -i -r 's/^#! ?\/usr\/bin\/env/#!\/ffp\/bin\/env/' {} \;
find . -type f -iname "*.pl*" -exec sed -i -r 's/^#! ?\/bin\/perl/#!\/ffp\/bin\/perl/' {} \;
find . -type f -iname "*.pl*" -exec sed -i -r 's/^#! ?\/bin\/env/#!\/ffp\/bin\/env/' {} \;
# Fix build
sed -i '/<xmms\/xmms_xformplugin.h>/i\#define _GNU_SOURCE 1' src/plugins/mp4/mp4.c
sed -i "/^ *includes\ =/a\        uselib = 'math'," src/lib/xmmstypes/wscript
./waf configure --prefix=/ffp --conf-prefix=/ffp --sysconfdir=/ffp/etc/xmms2 --boost-includes=/ffp/include
./waf build
./waf --destdir=/mnt/HD_a2/build install
mkdir -p /mnt/HD_a2/build/ffp/etc/xmms2
cd /mnt/HD_a2/build
rm -rf xmms2-devel
makepkg xmms2 git$version 1


Regarding MPD-I didn't tried yet. Maybe for testing worth to disable samba support?


I'm very thankful for the perfect howto, but the perl is not okay...:


Code:
[ 22/319] Compiling src/clients/lib/perl/XMMSClient.xs
Undefined subroutine &ExtUtils::ParseXS::errors called at /ffp/lib/perl5/5.14.2/ExtUtils/xsubpp line 41.

Waf: Leaving directory `/i-data/bf835951/build/xmms2-devel/_build_'
Build failed
 -> task in 'XMMSClient' failed (exit status 255):
        {task 1085650256: xsubpp XMMSClient.xs -> XMMSClient.c}
' /ffp/bin/perl /ffp/lib/perl5/5.14.2/ExtUtils/xsubpp -noprototypes -typemap /ffp/lib/perl5/5.14.2/ExtUtils/typemap ../src/clients/lib/perl/XMMSClient.xs > src/clients/lib/perl/XMMSClient.c '

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Tue Mar 15, 2016 7:56 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
Which perl version have you? it should correspond perl-modules version.
Try to install additionally
Code:
cpanm Getopt::Long


Top
 Profile  
 
PostPosted: Tue Mar 15, 2016 8:15 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
Code:
root@NSA320S:~# perl --version

This is perl 5, version 14, subversion 2 (v5.14.2) built for arm-linux-thread-multi-64int

Copyright 1987-2011, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

root@NSA320S:~# cpanm Getopt::Long
Getopt::Long is up to date. (2.48)

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Tue Mar 15, 2016 8:21 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
That is strange, I thought it was difference in perl-modules we had used, but seems like not.
More strange is that I didn't get the error like you. Lastly, try to update ExtUtils::ParseXS:
Code:
CFLAGS="$CFLAGS -Doff64_t=__off64_t" cpanm ExtUtils::ParseXS --force


Top
 Profile  
 
PostPosted: Tue Mar 15, 2016 9:02 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
:(

Code:
root@NSA320S:/i-data/bf835951/build/xmms2-devel# ./waf build
src/lib/s4: b46e5975 (up-to-date)
doc/tutorial: 8ff8c66d (up-to-date)
Waf: Entering directory `/i-data/bf835951/build/xmms2-devel/_build_'
[ 22/319] Compiling src/clients/lib/perl/XMMSClient.xs
Undefined subroutine &ExtUtils::ParseXS::errors called at /ffp/lib/perl5/5.14.2/ExtUtils/xsubpp line 41.

Waf: Leaving directory `/i-data/bf835951/build/xmms2-devel/_build_'
Build failed
 -> task in 'XMMSClient' failed (exit status 255):
        {task 1085706416: xsubpp XMMSClient.xs -> XMMSClient.c}
' /ffp/bin/perl /ffp/lib/perl5/5.14.2/ExtUtils/xsubpp -noprototypes -typemap /ffp/lib/perl5/5.14.2/ExtUtils/typemap ../src/clients/lib/perl/XMMSClient.xs > src/clients/lib/perl/XMMSClient.c '

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Wed Mar 16, 2016 8:15 am 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
Uploaded test package: http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/testing/xmms2-git20160315-arm-1.txz


Top
 Profile  
 
PostPosted: Wed Mar 16, 2016 1:38 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
Thanks!

If I tried to open the xmms2 console interface it said "xmms2: can't resolve symbol 'fallocate64'" . So I reinstalled the uClibc and now it's works. :)

But I Can't start the server:

Code:
admin@NSA320S:~$ xmms2d
 INFO in core: ../src/xmms/log.c:50: Initialized logging system :)
 INFO in core: ../src/xmms/config.c:702: No configfile specified, using default values.
13:32:49 ERROR in core: ../src/xmms/ipc.c:969: Couldn't setup IPC listening on 'unix:///tmp/xmms-ipc-admin'.
13:32:49 FATAL: ../src/xmms/main.c:646: IPC failed to init!


Yes, I'm using it with admin, because with root it says:

Code:
root@NSA320S:~# xmms2d
PLEASE DON'T RUN XMMS2D AS ROOT!

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Wed Mar 16, 2016 4:23 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
As root with --yes-run-as-root:

The av... undefined reference is true. The cmus also says this. But How Can I solve this? What package solve that? I have libav and your ffmpeg too...

Code:
root@NSA320S:/i-data/bf835951/build/mpd-0.19.13# xmms2d --yes-run-as-root
***************************************
Warning! You are running XMMS2D as root, this is a bad idea!
But I'll allow it since you asked nicely.
***************************************

 INFO in core: ../src/xmms/log.c:50: Initialized logging system :)
16:18:36  INFO in core: ../src/xmms/ipc.c:981: IPC listening on 'unix:///tmp/xmms-ipc-root'.
16:18:36 ERROR in core: ../src/xmms/plugin.c:326: Setup function failed for plugin 'DAAP access plugin'!
16:18:36  FAIL in core: xmms_object_unref: assertion 'obj && XMMS_IS_OBJECT (obj)' failed

/usr/local/zy-pkgs/ffproot/ffp/bin/xmms2d: symbol 'av_frame_unref': can't resolve symbol

/usr/local/zy-pkgs/ffproot/ffp/bin/xmms2d: symbol 'av_get_bytes_per_sample': can't resolve symbol

/usr/local/zy-pkgs/ffproot/ffp/bin/xmms2d: symbol 'av_frame_free': can't resolve symbol

/usr/local/zy-pkgs/ffproot/ffp/bin/xmms2d: symbol 'av_freep': can't resolve symbol

/usr/local/zy-pkgs/ffproot/ffp/bin/xmms2d: symbol 'av_sample_fmt_is_planar': can't resolve symbol

/usr/local/zy-pkgs/ffproot/ffp/bin/xmms2d: symbol 'av_frame_alloc': can't resolve symbol

/usr/local/zy-pkgs/ffproot/ffp/bin/xmms2d: symbol 'av_free': can't resolve symbol

/usr/local/zy-pkgs/ffproot/ffp/bin/xmms2d: symbol 'av_get_sample_fmt_name': can't resolve symbol
16:18:37 ERROR in core: ../src/xmms/plugin.c:388: Failed to open plugin /ffp/lib/xmms2/libxmms_avcodec.so: unknown dl-error

/usr/local/zy-pkgs/ffproot/ffp/bin/xmms2d: symbol 'lp_unix_charset': can't resolve symbol

/usr/local/zy-pkgs/ffproot/ffp/bin/xmms2d: symbol 'db_open': can't resolve symbol

/usr/local/zy-pkgs/ffproot/ffp/bin/xmms2d: symbol 'lp_parm_int': can't resolve symbol

/usr/local/zy-pkgs/ffproot/ffp/bin/xmms2d: symbol 'lp_use_mmap': can't resolve symbol

/usr/local/zy-pkgs/ffproot/ffp/bin/xmms2d: symbol 'lp_dos_charset': can't resolve symbol

/usr/local/zy-pkgs/ffproot/ffp/bin/xmms2d: symbol 'state_path': can't resolve symbol
16:18:41 ERROR in core: ../src/xmms/plugin.c:388: Failed to open plugin /ffp/lib/xmms2/libxmms_samba.so: unknown dl-error
16:18:41  FAIL in core: xmms_object_ref: assertion 'obj && XMMS_IS_OBJECT (obj)' failed
Segmentation fault (core dumped)

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Wed Mar 16, 2016 5:26 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
The mpd isn't works with the utf-8 special characters support because the fallocate64 is missing from this version. So I said Goodbye to the nice mc and the á,é,ő and etc. ...and I upgraded to Your latest uClibc.

But a variable undefined error shows up when I try to make the mpd:

Code:
/ffp/lib/libFLAC.so: warning: the use of OBSOLESCENT `utime' is discouraged, use `utimes'
/ffp/lib/libwrap.a(socket.o): In function `gethostbyname_dot':
socket.c:(.text+0x48): warning: gethostbyname is obsolescent, use getnameinfo() instead.
libsystem.a(fd_util.o): In function `accept_cloexec_nonblock':
/i-data/bf835951/build/mpd-0.19.13/src/system/fd_util.c:264: undefined reference to `accept4'
collect2: error: ld returned 1 exit status
Makefile:6042: recipe for target 'src/mpd' failed
make[1]: *** [src/mpd] Error 1
make[1]: Leaving directory '/i-data/bf835951/build/mpd-0.19.13'
Makefile:4297: recipe for target 'all' failed
make: *** [all] Error 2

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 69 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 39 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group