gcc -c -std gnu99 x264 pkg-config --cflags vlc-plugin x264 -D__PLUGIN_

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
gcc -c -std=gnu99 x264.c `pkg-config --cflags vlc-plugin x264` -D__PLUGIN__ -DMODULE_STRING=\"x264\" -o libx264_plugin.o
x264.c:397: warning: implicit declaration of function ‘N_’
x264.c:397: error: initializer element is not constant
x264.c:397: error: (near initialization for ‘enc_me_list_text[0]’)
x264.c:397: error: initializer element is not constant
x264.c:397: error: (near initialization for ‘enc_me_list_text[1]’)
x264.c:397: error: initializer element is not constant
x264.c:397: error: (near initialization for ‘enc_me_list_text[2]’)
x264.c:397: error: initializer element is not constant
x264.c:397: error: (near initialization for ‘enc_me_list_text[3]’)
x264.c:397: error: initializer element is not constant
x264.c:397: error: (near initialization for ‘enc_me_list_text[4]’)
x264.c:403: error: initializer element is not constant
x264.c:403: error: (near initialization for ‘enc_analyse_list_text[0]’)
x264.c:403: error: initializer element is not constant
x264.c:403: error: (near initialization for ‘enc_analyse_list_text[1]’)
x264.c:403: error: initializer element is not constant
x264.c:403: error: (near initialization for ‘enc_analyse_list_text[2]’)
x264.c:403: error: initializer element is not constant
x264.c:403: error: (near initialization for ‘enc_analyse_list_text[3]’)
x264.c:403: error: initializer element is not constant
x264.c:403: error: (near initialization for ‘enc_analyse_list_text[4]’)
x264.c:409: error: initializer element is not constant
x264.c:409: error: (near initialization for ‘direct_pred_list_text[0]’)
x264.c:409: error: initializer element is not constant
x264.c:409: error: (near initialization for ‘direct_pred_list_text[1]’)
x264.c:409: error: initializer element is not constant
x264.c:409: error: (near initialization for ‘direct_pred_list_text[2]’)
x264.c:409: error: initializer element is not constant
x264.c:409: error: (near initialization for ‘direct_pred_list_text[3]’)
make: *** [libx264_plugin.o] Error 1