Error compiling libvlc

This forum is about all development around libVLC.
pecana
Cone that earned his stripes
Cone that earned his stripes
Posts: 145
Joined: 27 Dec 2015 20:30

Error compiling libvlc

Postby pecana » 17 Apr 2017 16:03

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....

pecana
Cone that earned his stripes
Cone that earned his stripes
Posts: 145
Joined: 27 Dec 2015 20:30

Re: Error compiling libvlc

Postby pecana » 25 Apr 2017 21:30

Hello, I tried again by cloning the sample project again but mips still fails :-(
Any idea?

Thank yuo

ssbmaccom
Cone that earned his stripes
Cone that earned his stripes
Posts: 184
Joined: 26 Nov 2015 15:21
Operating System: Mac OS, iOS, tvOS

Re: Error compiling libvlc

Postby ssbmaccom » 28 Apr 2017 07:23

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.

pecana
Cone that earned his stripes
Cone that earned his stripes
Posts: 145
Joined: 27 Dec 2015 20:30

Re: Error compiling libvlc

Postby pecana » 28 Apr 2017 22:31

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 ? :-(

ssbmaccom
Cone that earned his stripes
Cone that earned his stripes
Posts: 184
Joined: 26 Nov 2015 15:21
Operating System: Mac OS, iOS, tvOS

Re: Error compiling libvlc

Postby ssbmaccom » 01 May 2017 09:30

Well, i am also mostly a consumer of libvlc. I am sure there is a way, needs investigation.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Error compiling libvlc

Postby Jean-Baptiste Kempf » 11 Jun 2017 16:55

This is a regression from ffmpeg, I believe.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

pecana
Cone that earned his stripes
Cone that earned his stripes
Posts: 145
Joined: 27 Dec 2015 20:30

Re: Error compiling libvlc

Postby pecana » 28 Jul 2017 17:46

This is a regression from ffmpeg, I believe.
Any chance to compile new version for MIPS?

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Error compiling libvlc

Postby Rémi Denis-Courmont » 28 Jul 2017 21:15

Sorry but the concerned developers are not reading this forum. You have the wrong venue.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Error compiling libvlc

Postby Jean-Baptiste Kempf » 29 Jul 2017 13:37

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.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

pecana
Cone that earned his stripes
Cone that earned his stripes
Posts: 145
Joined: 27 Dec 2015 20:30

Re: Error compiling libvlc

Postby pecana » 29 Jul 2017 18:32

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 ?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 10 guests