Page 1 of 1

[compilin] xmplayer {solved}

Posted: Thu Sep 19, 2013 2:00 am
by mesmer
guys i try compile the xmplayer and i get this error, i already search and can't find the solution, or a patch to resolve, somebody can give the light?

filebrowser.cpp: In function 'int ParseDirectory()':
filebrowser.cpp:362:18: error: 'struct dirent' has no member named 'd_mtime'
filebrowser.cpp:363:39: error: 'struct dirent' has no member named 'd_mtime'

obs: i use gcc 4.7.3, with all libs and the 2 libs that xmplayer ask

sorry my bad english

Re: [compilin] xmplayer

Posted: Thu Sep 19, 2013 5:00 am
by Swizzy
Use my branch instead of the "master" branch for libxenon...

Re: [compilin] xmplayer

Posted: Thu Sep 19, 2013 5:35 pm
by medaved
i'm not compiling libiconv_1.13.1? mint 15(ubuntu 13.04)

Code: Select all

cd lib && make all
make[1]: ???? ? ??????? `/home/medaved/xmplayer/libs/libiconv_1.13.1/lib'
/bin/bash ../libtool --mode=link gcc  -g -O2 -fvisibility=hidden -o libiconv.la -rpath /usr/local/lib -version-info 7:0:5 -no-undefined iconv.lo localcharset.lo relocatable.lo  
libtool: Version mismatch error.  This is libtool 2.4.2.391-ebeb8a, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2.391-ebeb8a
libtool: and run autoconf again.
make[1]: *** [libiconv.la] ?????? 63
make[1]: ????? ?? ???????? `/home/medaved/xmplayer/libs/libiconv_1.13.1/lib'
make: *** [all] ?????? 2

Re: [compilin] xmplayer

Posted: Thu Sep 19, 2013 8:06 pm
by siz
Use these: https://docs.google.com/file/d/0B15oIdn ... edit?pli=1

Just "make install" them both

Re: [compilin] xmplayer

Posted: Sat Sep 21, 2013 4:12 am
by mesmer
[quote="Swizzy"]
Use my branch instead of the "master" branch for libxenon...
[/quote]

i don't get what branch,can u help me?
that's you git right? thx
https://github.com/Swizzy?tab=repositories

[quote="siz"]
Use these: https://docs.google.com/file/d/0B15oIdn ... edit?pli=1

Just "make install" them both
[/quote]

i download now, i'll try compile and post here thx

Re: [compilin] xmplayer

Posted: Sat Sep 21, 2013 4:18 am
by mesmer
[quote="siz"]
Use these: https://docs.google.com/file/d/0B15oIdn ... edit?pli=1

Just "make install" them both
[/quote]

i use your libs and same error of filebrowser show up " error: 'struct dirent' has no member named 'd_mtime'"

Re: [compilin] xmplayer

Posted: Sat Sep 21, 2013 4:24 am
by mesmer
[quote="medaved"]
i'm not compiling libiconv_1.13.1? mint 15(ubuntu 13.04)

Code: Select all

cd lib && make all
make[1]: ???? ? ??????? `/home/medaved/xmplayer/libs/libiconv_1.13.1/lib'
/bin/bash ../libtool --mode=link gcc  -g -O2 -fvisibility=hidden -o libiconv.la -rpath /usr/local/lib -version-info 7:0:5 -no-undefined iconv.lo localcharset.lo relocatable.lo  
libtool: Version mismatch error.  This is libtool 2.4.2.391-ebeb8a, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2.391-ebeb8a
libtool: and run autoconf again.
make[1]: *** [libiconv.la] ?????? 63
make[1]: ????? ?? ???????? `/home/medaved/xmplayer/libs/libiconv_1.13.1/lib'
make: *** [all] ?????? 2
[/quote]

i think you does the normal ./configure yes? thats the erro the libs already configured, so just make and install
delete the folder extract again and try  now with just

"make" and "make install"

or you need to do "./configure --prefix="/usr/local/xenon/" i think

Re: [compilin] xmplayer

Posted: Sat Sep 21, 2013 6:52 am
by Swizzy
[quote="mesmer"]
[quote="siz"]
Use these: https://docs.google.com/file/d/0B15oIdn ... edit?pli=1

Just "make install" them both
[/quote]

i use your libs and same error of filebrowser show up " error: 'struct dirent' has no member named 'd_mtime'"
[/quote]

That is because you're not using my libxenon branch, the "main" branch don't have those defined... switch to my branch of libxenon and compile libxenon again using "./build-xenon-toolchain libxenon"

to switch to my branch just go to the libxenon folder (where you downloaded the toolchain) and type in "git checkout Swizzy"

Re: [compilin] xmplayer

Posted: Sat Sep 21, 2013 5:28 pm
by mesmer
[quote="Swizzy"]
[quote="mesmer"]
[quote="siz"]
Use these: https://docs.google.com/file/d/0B15oIdn ... edit?pli=1

Just "make install" them both
[/quote]

i use your libs and same error of filebrowser show up " error: 'struct dirent' has no member named 'd_mtime'"
[/quote]

That is because you're not using my libxenon branch, the "main" branch don't have those defined... switch to my branch of libxenon and compile libxenon again using "./build-xenon-toolchain libxenon"

to switch to my branch just go to the libxenon folder (where you downloaded the toolchain) and type in "git checkout Swizzy"
[/quote]

thx man now i get this, i 'll try compile now, thx :)

Re: [compilin] xmplayer

Posted: Sat Sep 21, 2013 5:42 pm
by mesmer
thx Swizzy now that's all ok, your branch saves my day :)