我連要mplayer 无GUI 都make不了怎麼這樣哩....
出現這些錯誤
arm-linux-gcc -I../libavcodec -I../libavformat -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -pipe -ffast-math -fomit-frame-pointer -DHAVE_CONFIG_H -c -o ad_libmad.o ad_libmad.c
ad_libmad.c:21:17: error: mad.h: No such file or directory
ad_libmad.c:25: error: field 'synth' has incomplete type
ad_libmad.c:26: error: field 'stream' has incomplete type
ad_libmad.c:27: error: field 'frame' has incomplete type
ad_libmad.c: In function 'preinit':
ad_libmad.c:43: warning: implicit declaration of function 'mad_synth_init'
ad_libmad.c:44: warning: implicit declaration of function 'mad_stream_init'
ad_libmad.c:45: warning: implicit declaration of function 'mad_frame_init'
ad_libmad.c: In function 'read_frame':
ad_libmad.c:58: warning: pointer targets in passing argument 2 of 'demux_read_data' differ in signedness
ad_libmad.c:62: warning: implicit declaration of function 'mad_stream_buffer'
ad_libmad.c:63: warning: implicit declaration of function 'mad_frame_decode'
ad_libmad.c:73: error: 'MAD_ERROR_BUFLEN' undeclared (first use in this function)
ad_libmad.c:73: error: (Each undeclared identifier is reported only once
ad_libmad.c:73: error: for each function it appears in.)
ad_libmad.c: In function 'init':
ad_libmad.c:86: error: 'MAD_MODE_SINGLE_CHANNEL' undeclared (first use in this function)
ad_libmad.c: In function 'uninit':
ad_libmad.c:96: warning: implicit declaration of function 'mad_synth_finish'
ad_libmad.c:97: warning: implicit declaration of function 'mad_frame_finish'
ad_libmad.c:98: warning: implicit declaration of function 'mad_stream_finish'
ad_libmad.c: At top level:
ad_libmad.c:103: error: expected ')' before 'sample'
ad_libmad.c: In function 'decode_audio':
ad_libmad.c:126: warning: implicit declaration of function 'mad_synth_frame'
ad_libmad.c:129: error: 'mad_fixed_t' undeclared (first use in this function)
ad_libmad.c:129: error: expected ';' before 'const'
ad_libmad.c:133: error: dereferencing pointer to incomplete type
ad_libmad.c:134: error: dereferencing pointer to incomplete type
ad_libmad.c:135: error: 'left_ch' undeclared (first use in this function)
ad_libmad.c:135: error: dereferencing pointer to incomplete type
ad_libmad.c:136: error: 'right_ch' undeclared (first use in this function)
ad_libmad.c:136: error: dereferencing pointer to incomplete type
ad_libmad.c:144: warning: implicit declaration of function 'scale'