Page 1 of 1

New compile errors from fresh downloads on Aug-21 2015

Posted: 21 Aug 2015 21:42
by aliothliu
Hi everyone,

I followed the instructions on VideoLAN to compile vlc for android on a fresh native arch linux with android studio/sdk/ndk and I got this error:
  • Warning:warning: passing argument 2 of 'avpriv_request_sample' makes pointer from integer without a cast [enabled by default]
    user_data_type_code);
    ^
    ./libavutil/internal.h:202:6: note: expected 'const char *' but argument is of type 'int'
    void avpriv_request_sample(void *avc,
    ^
    Error:error: format not a string literal and no format arguments [-Werror=format-security]
    user_data_type_code);
    ^
    cc1: some warnings being treated as errors
    Makefile:44: recipe for target 'libavcodec/h264_sei.o' failed
Couple days ago, I did exactly the same thing on my Virtualbox and didn't get this error. Anyone has any clue?

Re: New compile errors from fresh downloads on Aug-21 2015

Posted: 22 Aug 2015 04:35
by aliothliu
I will try different version then...

Re: New compile errors from fresh downloads on Aug-21 2015

Posted: 27 Aug 2015 07:23
by edwardw
Works for me as of August 25, 2015. Try pulling, cleaning and re-compiling.