failed to compile libVLC for Android (Error: unknown register alias 'GP')

This forum is about all development around libVLC.
xrddd
New Cone
New Cone
Posts: 9
Joined: 03 Jun 2019 06:13

failed to compile libVLC for Android (Error: unknown register alias 'GP')

Postby xrddd » 24 Jul 2019 09:21

I am stucked in android libVLC compiling. This is the output:
{standard input}: Assembler messages:
{standard input}:146: Error: unknown register alias 'GP'
clang70: error: assembler command failed with exit code 1 (use -v to see invocation)
make[1]: *** [libavcodec/arm/ac3dsp_armv6.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/Users/peterdou/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/ffmpeg'
make: *** [.ffmpeg] Error 2

Thanks for any help!

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: failed to compile libVLC for Android (Error: unknown register alias 'GP')

Postby unidan » 24 Jul 2019 09:44

Hi, you didn't write what you did, it's hard to help you as a normal project configuration doesn't fail on this.

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

Re: failed to compile libVLC for Android (Error: unknown register alias 'GP')

Postby Rémi Denis-Courmont » 24 Jul 2019 18:34

Looks like a problem in FFmpeg build, so probably not the best venue to ask...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

xrddd
New Cone
New Cone
Posts: 9
Joined: 03 Jun 2019 06:13

Re: failed to compile libVLC for Android (Error: unknown register alias 'GP')

Postby xrddd » 26 Jul 2019 05:45

Hi, you didn't write what you did, it's hard to help you as a normal project configuration doesn't fail on this.
Hi,unidan. I want a libVLC to develop an media player on Android. I has cloned from https://code.videolan.org/videolan/vlc-android.git. But when running "sh compile.sh -l -a armeabi-v7a -r",the output currently is:
......
/Users/peterdou/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/harfbuzz/src/hb-coretext.h:32:10: fatal error:
'TargetConditionals.h' file not found
#include <TargetConditionals.h>
......
{standard input}: Assembler messages:
{standard input}:146: Error: unknown register alias 'GP'
clang70: error: assembler command failed with exit code 1 (use -v to see invocation)
make[1]: *** [libavcodec/arm/ac3dsp_armv6.o] Error 1
make[1]: *** Waiting for unfinished jobs....
{standard input}: Assembler messages:
{standard input}:436: Error: unknown register alias 'GP'
{standard input}:472: Error: unknown register alias 'GP'
{standard input}: {standard input}:508: Error: unknown register alias 'GP'
Assembler messages:
{standard input}:288: Error: unknown register alias 'GP'
{standard input}:544: Error: unknown register alias 'GP'
{standard input}:580: Error: unknown register alias 'GP'
{standard input}:616: Error: unknown register alias 'GP'
{standard input}:652: Error: unknown register alias 'GP'
{standard input}:422: Error: unknown register alias 'GP'
{standard input}:688: Error: unknown register alias 'GP'
{standard input}:459: Error: unknown register alias 'GP'
{standard input}:724: Error: unknown register alias 'GP'
{standard input}:760: Error: unknown register alias 'GP'
{standard input}:496: Error: unknown register alias 'GP'
{standard input}:533: Error: unknown register alias 'GP'
{standard input}:570: Error: unknown register alias 'GP'
{standard input}:796: Error: unknown register alias 'GP'
{standard input}:607: Error: unknown register alias 'GP'
{standard input}:832: Error: unknown register alias 'GP'
{standard input}:644: Error: unknown register alias 'GP'
{standard input}:681: Error: unknown register alias 'GP'
{standard input}:718: Error: unknown register alias 'GP'
{standard input}:755: Error: unknown register alias 'GP'
{standard input}:792: Error: unknown register alias 'GP'
{standard input}:829: Error: unknown register alias 'GP'
clang70: error: assembler command failed with exit code 1 (use -v to see invocation)
clang70: error: assembler command failed with exit code 1 (use -v to see invocation)
make[1]: *** [libavcodec/arm/fft_fixed_neon.o] Error 1
make[1]: *** [libavcodec/arm/fft_neon.o] Error 1
{standard input}: Assembler messages:
{standard input}:641: Error: unknown register alias 'GP'
{standard input}:820: Error: unknown register alias 'GP'
{standard input}:997: Error: unknown register alias 'GP'
{standard input}:1176: Error: unknown register alias 'GP'
{standard input}:1359: Error: unknown register alias 'GP'
{standard input}:1542: Error: unknown register alias 'GP'
{standard input}:1725: Error: unknown register alias 'GP'
{standard input}:1908: Error: unknown register alias 'GP'
{standard input}:2091: Error: unknown register alias 'GP'
{standard input}:2274: Error: unknown register alias 'GP'
{standard input}:2457: Error: unknown register alias 'GP'
{standard input}:2640: Error: unknown register alias 'GP'
clang70: error: assembler command failed with exit code 1 (use -v to see invocation)
make[1]: *** [libavcodec/arm/fft_vfp.o] Error 1
libavformat/utils.c:5541:42: warning: 'codec' is deprecated [-Wdeprecated-declarations]
const AVCodecContext *dec_ctx = ist->codec;
^
libavformat/avformat.h:875:5: note: 'codec' has been explicitly marked deprecated here
attribute_deprecated
^
./libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
# define attribute_deprecated __attribute__((deprecated))
^
libavformat/utils.c:5542:42: warning: 'codec' is deprecated [-Wdeprecated-declarations]
AVCodecContext *enc_ctx = ost->codec;
^
libavformat/avformat.h:875:5: note: 'codec' has been explicitly marked deprecated here
attribute_deprecated
^
./libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
# define attribute_deprecated __attribute__((deprecated))
^
2 warnings generated.
make[1]: Leaving directory `/Users/peterdou/Documents/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/ffmpeg'
make: *** [.ffmpeg] Error 2

quink
New Cone
New Cone
Posts: 1
Joined: 09 Nov 2019 15:22

Re: failed to compile libVLC for Android (Error: unknown register alias 'GP')

Postby quink » 09 Nov 2019 15:25

https://mailman.videolan.org/pipermail/vlc-devel/2019-November/129437.html


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 29 guests