Page 1 of 1

Error compiling libvlc

Posted: 17 Apr 2017 16:03
by pecana
Hello I get an error trying to compile libvlc for "mips"
I built for x86 - OK
I built for armabi-v7a - OK
mips failed :

Code: Select all

configure: creating ./config.status CC libavcodec/microdvddec.o CC libavcodec/mimic.o CC libavcodec/mips/aacdec_mips.o libavcodec/mips/aacdec_mips.c:107:29: warning: unused function 'lcg_random' [-Wunused-function] static av_always_inline int lcg_random(unsigned previous_val) ^ libavcodec/mips/aacdec_mips.c:379:13: error: couldn't allocate output register for constraint 'r' ".set push \n\t" ^ 1 warning and 1 error generated. make[1]: *** [libavcodec/mips/aacdec_mips.o] Error 1 make[1]: Leaving directory `/home/pecana/cloni/libvlc-android-samples/vlc-android/vlc/contrib/contrib-android-mipsel-linux-android/ffmpeg' make: *** [.ffmpeg] Error 2 make: *** Waiting for unfinished jobs....

Re: Error compiling libvlc

Posted: 25 Apr 2017 21:30
by pecana
Hello, I tried again by cloning the sample project again but mips still fails :-(
Any idea?

Thank yuo

Re: Error compiling libvlc

Posted: 28 Apr 2017 07:23
by ssbmaccom
looks like a compilation issue within ffmpeg. Is this plain C or C with inline-assembler? Maybe the target triplet is not matching, the assembler code does not match the mips cpu you are targetting. I assume, mips is not built that often, so noone at ffmpeg knows about this - or it has been fixed there, but the contrib versuon libvlc uses is not up-to-date.

Re: Error compiling libvlc

Posted: 28 Apr 2017 22:31
by pecana
looks like a compilation issue within ffmpeg. Is this plain C or C with inline-assembler? Maybe the target triplet is not matching, the assembler code does not match the mips cpu you are targetting. I assume, mips is not built that often, so noone at ffmpeg knows about this - or it has been fixed there, but the contrib versuon libvlc uses is not up-to-date.
Thank you!
So I have no way to compile it ? :-(

Re: Error compiling libvlc

Posted: 01 May 2017 09:30
by ssbmaccom
Well, i am also mostly a consumer of libvlc. I am sure there is a way, needs investigation.

Re: Error compiling libvlc

Posted: 11 Jun 2017 16:55
by Jean-Baptiste Kempf
This is a regression from ffmpeg, I believe.

Re: Error compiling libvlc

Posted: 28 Jul 2017 17:46
by pecana
This is a regression from ffmpeg, I believe.
Any chance to compile new version for MIPS?

Re: Error compiling libvlc

Posted: 28 Jul 2017 21:15
by RĂ©mi Denis-Courmont
Sorry but the concerned developers are not reading this forum. You have the wrong venue.

Re: Error compiling libvlc

Posted: 29 Jul 2017 13:37
by Jean-Baptiste Kempf
This is a regression from ffmpeg, I believe.
Any chance to compile new version for MIPS?
We could have a look. But noone cared much, until a final 3.0 release.

Re: Error compiling libvlc

Posted: 29 Jul 2017 18:32
by pecana
This is a regression from ffmpeg, I believe.
Any chance to compile new version for MIPS?
We could have a look. But noone cared much, until a final 3.0 release.
Thank yuo for you interest!
Any plan for the release ?