Page 1 of 1

problem for run vlc on arm

Posted: 10 Mar 2010 07:07
by eric.gl.CN
Hi pals,
I have successfully(maybe, I'm not sure, but it make and make install successfully).
Then I have run it on arm
it comes into erroc

Code: Select all

test@172 local]$ vlc VLC media player 1.0.1 Goldeneye [0x83170] main playlist fetcher error: cannot spawn secondary preparse thread [0x2c728] main playlist error: cannot create playlist fetcher [0x2c728] main playlist error: cannot spawn preparse thread [0x2c728] main playlist error: cannot create playlist preparser [0x2c728] main playlist error: cannot spawn playlist thread [0x831a8] main interface error: interface thread could not be created at interface/interface.c:151 (Operation not permitted) [0x831a8] main interface error: cannot spawn interface thread [0x122d8] main interface error: no suitable interface module [0x12170] main libvlc error: interface "signals" initialization failed [0x122d8] main interface error: no interface module matched "globalhotkeys,none" [0x122d8] main interface error: no suitable interface module [0x12170] main libvlc error: interface "globalhotkeys,none" initialization failed [0x12170] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Remote control interface initialized. Type `help' for help. [0x12320] main interface error: interface thread could not be created at interface/interface.c:151 (Operation not permitted) [0x12320] main interface error: cannot spawn interface thread *** LibVLC Exception not handled: Interface initialization failed Set a breakpoint in 'libvlc_exception_not_handled' to debug.
It seems create the thread is failed.
I'm confused. The make is successfully, and my crosstool have the libpthread. Why it say cannot spawn the secondary preparse thread.
maybe some step I'm wrong? can anybody give me a little hint on me. Thanks a lot

Re: problem for run vlc on arm

Posted: 10 Mar 2010 10:50
by eric.gl.CN
follow is a plus,
I use uclibc to crosscompile my vlc for arm. Any use this library successfully compile vlc and run it on arm?
this is the reason I got does this problem? I must ust libc?
or I cannot run vlc because the previlige is wrong? cause I see 'operation not permitted' report.

Re: problem for run vlc on arm

Posted: 12 Mar 2010 18:34
by xtophe
Your vlc install seems seriously screwed as it can't create threads and can't find its plugins.

Re: problem for run vlc on arm

Posted: 13 Mar 2010 09:41
by Rémi Denis-Courmont
VLC has no permission to create threads. It cannot work.

Re: problem for run vlc on arm

Posted: 17 Mar 2010 06:18
by eric.gl.CN
yes, I have see the source code.
the function pthread_create() is failed, the errno is 1. I use strerror(1) to printf and the error string is
"Operation not permitted".

but it confused me. why my vlc program can not create thread on my arm linux? it seems no relationship with my compile environment and library(I use the uclibc).
any ideas?

Re: problem for run vlc on arm

Posted: 26 Mar 2010 22:41
by Rémi Denis-Courmont
Sounds like a problem with the C run-time library, really.

Re: problem for run vlc on arm

Posted: 19 Jun 2010 13:32
by peejay1981
The problem is that pthreads is not implemented in uclibc - try a toolchain with eglibc/glibc instead.