Hi,

I'm really newby to Linux. I'm trying to install Kdenlive from source and I stop to the MLT installation step. I run Kubuntu 9.10 and this is what I get:

1. MLT configure command:
    ./configure --prefix=/usr --enable-gpl --qimage-libdir=/usr/lib/ --qimage-includedir=/usr/include/qt4 --libs jack --avformat-ldextra=-lm

2. Last few rows dipslays the console after "make" command:
cc -shared -o ../libmltavformat.so factory.o filter_avcolour_space.o filter_avresample.o filter_avdeinterlace.o filter_swscale.o producer_avformat.o consumer_avformat.o -L../../framework -lmlt -lpthread -Wl,--no-undefined -Wl,--as-needed -L/usr/local/lib   -lavformat -lavcodec -lavutil -lavdevice -lm -lswscale
/usr/local/lib/libavcodec.a(cscd.o): In function `decode_frame':                                       
/root/ffmpeg/libavcodec/cscd.c:170: undefined reference to `uncompress'                                
/usr/local/lib/libavcodec.a(dxa.o): In function `decode_frame':                                        
/root/ffmpeg/libavcodec/dxa.c:236: undefined reference to `uncompress'                                 
/usr/local/lib/libavcodec.a(flashsv.o): In function `flashsv_decode_frame':                            
/root/ffmpeg/libavcodec/flashsv.c:189: undefined reference to `inflateReset'                           
/root/ffmpeg/libavcodec/flashsv.c:199: undefined reference to `inflate'                                
/root/ffmpeg/libavcodec/flashsv.c:203: undefined reference to `inflateSync'                            
/root/ffmpeg/libavcodec/flashsv.c:204: undefined reference to `inflate'                                
/usr/local/lib/libavcodec.a(flashsv.o): In function `flashsv_decode_end':                              
/root/ffmpeg/libavcodec/flashsv.c:233: undefined reference to `inflateEnd'                             
/usr/local/lib/libavcodec.a(flashsv.o): In function `flashsv_decode_init':                             
/root/ffmpeg/libavcodec/flashsv.c:91: undefined reference to `inflateInit_'                            
/usr/local/lib/libavcodec.a(flashsvenc.o): In function `encode_bitstream':                             
/root/ffmpeg/libavcodec/flashsvenc.c:176: undefined reference to `compress2'                           
/usr/local/lib/libavcodec.a(flashsvenc.o): In function `flashsv_encode_end':                           
/root/ffmpeg/libavcodec/flashsvenc.c:274: undefined reference to `deflateEnd'                          
/usr/local/lib/libavcodec.a(lcldec.o): In function `zlib_decomp':                                      
/root/ffmpeg/libavcodec/lcldec.c:131: undefined reference to `inflateReset'                            
/root/ffmpeg/libavcodec/lcldec.c:140: undefined reference to `inflate'                                 
/usr/local/lib/libavcodec.a(lcldec.o): In function `decode_end':                                       
/root/ffmpeg/libavcodec/lcldec.c:605: undefined reference to `inflateEnd'                              
/usr/local/lib/libavcodec.a(lcldec.o): In function `decode_init':                                      
/root/ffmpeg/libavcodec/lcldec.c:579: undefined reference to `inflateInit_'                            
/usr/local/lib/libavcodec.a(pngdec.o): In function `decode_frame':                                     
/root/ffmpeg/libavcodec/pngdec.c:421: undefined reference to `inflateInit_'                            
/root/ffmpeg/libavcodec/pngdec.c:622: undefined reference to `inflateEnd'                              
/usr/local/lib/libavcodec.a(pngdec.o): In function `png_decode_idat':                                  
/root/ffmpeg/libavcodec/pngdec.c:373: undefined reference to `inflate'                                 
/usr/local/lib/libavcodec.a(pngenc.o): In function `png_write_chunk':                                  
/root/ffmpeg/libavcodec/pngenc.c:199: undefined reference to `crc32'                                   
/root/ffmpeg/libavcodec/pngenc.c:201: undefined reference to `crc32'                                   
/root/ffmpeg/libavcodec/pngenc.c:204: undefined reference to `crc32'                                   
/usr/local/lib/libavcodec.a(pngenc.o): In function `encode_frame':                                     
/root/ffmpeg/libavcodec/pngenc.c:287: undefined reference to `deflateInit2_'                           
/usr/local/lib/libavcodec.a(pngenc.o): In function `png_write_row':                                    
/root/ffmpeg/libavcodec/pngenc.c:219: undefined reference to `deflate'                                 
/usr/local/lib/libavcodec.a(pngenc.o): In function `encode_frame':                                     
/root/ffmpeg/libavcodec/pngenc.c:396: undefined reference to `deflate'                                 
/root/ffmpeg/libavcodec/pngenc.c:418: undefined reference to `deflateEnd'                              
/usr/local/lib/libavcodec.a(pngenc.o): In function `png_write_row':                                    
/root/ffmpeg/libavcodec/pngenc.c:219: undefined reference to `deflate'                                 
/usr/local/lib/libavcodec.a(svq3.o): In function `svq3_decode_init':                                   
/root/ffmpeg/libavcodec/svq3.c:899: undefined reference to `uncompress'                                
/usr/local/lib/libavcodec.a(tiff.o): In function `tiff_uncompress':                                    
/root/ffmpeg/libavcodec/tiff.c:90: undefined reference to `inflateInit_'                               
/root/ffmpeg/libavcodec/tiff.c:95: undefined reference to `inflate'                                    
/root/ffmpeg/libavcodec/tiff.c:96: undefined reference to `inflateEnd'                                 
/usr/local/lib/libavcodec.a(tscc.o): In function `decode_frame':                                       
/root/ffmpeg/libavcodec/tscc.c:92: undefined reference to `inflateReset'                               
/root/ffmpeg/libavcodec/tscc.c:101: undefined reference to `inflate'                                   
/usr/local/lib/libavcodec.a(tscc.o): In function `decode_end':                                         
/root/ffmpeg/libavcodec/tscc.c:195: undefined reference to `inflateEnd'                                
/usr/local/lib/libavcodec.a(tscc.o): In function `decode_init':                                        
/root/ffmpeg/libavcodec/tscc.c:171: undefined reference to `inflateInit_'                              
/usr/local/lib/libavcodec.a(lclenc.o): In function `encode_frame':                                     
/root/ffmpeg/libavcodec/lclenc.c:87: undefined reference to `deflateReset'                             
/root/ffmpeg/libavcodec/lclenc.c:98: undefined reference to `deflate'                                  
/root/ffmpeg/libavcodec/lclenc.c:104: undefined reference to `deflate'                                 
/usr/local/lib/libavcodec.a(lclenc.o): In function `encode_end':                                       
/root/ffmpeg/libavcodec/lclenc.c:176: undefined reference to `deflateEnd'                              
/usr/local/lib/libavcodec.a(lclenc.o): In function `encode_init':                                      
/root/ffmpeg/libavcodec/lclenc.c:157: undefined reference to `deflateInit_'                            
/usr/local/lib/libavcodec.a(zmbv.o): In function `decode_frame':                                       
/root/ffmpeg/libavcodec/zmbv.c:500: undefined reference to `inflate'                                   
/root/ffmpeg/libavcodec/zmbv.c:474: undefined reference to `inflateReset'                              
/usr/local/lib/libavcodec.a(zmbv.o): In function `decode_end':                                         
/root/ffmpeg/libavcodec/zmbv.c:648: undefined reference to `inflateEnd'                                
/usr/local/lib/libavcodec.a(zmbv.o): In function `decode_init':                                        
/root/ffmpeg/libavcodec/zmbv.c:624: undefined reference to `inflateInit_'                              
/usr/local/lib/libavcodec.a(zmbvenc.o): In function `encode_frame':                                    
/root/ffmpeg/libavcodec/zmbvenc.c:144: undefined reference to `deflateReset'                           
/root/ffmpeg/libavcodec/zmbvenc.c:233: undefined reference to `deflate'                                
/usr/local/lib/libavcodec.a(zmbvenc.o): In function `encode_end':                                      
/root/ffmpeg/libavcodec/zmbvenc.c:320: undefined reference to `deflateEnd'                             
/usr/local/lib/libavcodec.a(zmbvenc.o): In function `encode_init':                                     
/root/ffmpeg/libavcodec/zmbvenc.c:297: undefined reference to `deflateInit_'                           
/usr/local/lib/libavcodec.a(libfaac.o): In function `Faac_encode_frame':                               
/root/ffmpeg/libavcodec/libfaac.c:128: undefined reference to `faacEncEncode'                          
/usr/local/lib/libavcodec.a(libfaac.o): In function `Faac_encode_close':                               
/root/ffmpeg/libavcodec/libfaac.c:144: undefined reference to `faacEncClose'                           
/usr/local/lib/libavcodec.a(libfaac.o): In function `Faac_encode_init':                                
/root/ffmpeg/libavcodec/libfaac.c:46: undefined reference to `faacEncOpen'                             
/root/ffmpeg/libavcodec/libfaac.c:51: undefined reference to `faacEncGetCurrentConfiguration'          
/root/ffmpeg/libavcodec/libfaac.c:54: undefined reference to `faacEncClose'                            
/root/ffmpeg/libavcodec/libfaac.c:75: undefined reference to `faacEncClose'                            
/root/ffmpeg/libavcodec/libfaac.c:102: undefined reference to `faacEncGetDecoderSpecificInfo'          
/root/ffmpeg/libavcodec/libfaac.c:114: undefined reference to `faacEncSetConfiguration'                
/usr/local/lib/libavcodec.a(libfaad.o): In function `faac_decode_init':                                
/root/ffmpeg/libavcodec/libfaad.c:252: undefined reference to `NeAACDecOpen'                           
/root/ffmpeg/libavcodec/libfaad.c:253: undefined reference to `NeAACDecClose'                          
/root/ffmpeg/libavcodec/libfaad.c:254: undefined reference to `NeAACDecGetCurrentConfiguration'        
/root/ffmpeg/libavcodec/libfaad.c:255: undefined reference to `NeAACDecSetConfiguration'               
/root/ffmpeg/libavcodec/libfaad.c:256: undefined reference to `NeAACDecInit'                           
/root/ffmpeg/libavcodec/libfaad.c:257: undefined reference to `NeAACDecInit2'                          
/root/ffmpeg/libavcodec/libfaad.c:258: undefined reference to `NeAACDecDecode'                         
/root/ffmpeg/libavcodec/libfaad.c:260: undefined reference to `NeAACDecGetErrorMessage'                
/root/ffmpeg/libavcodec/libfaad.c:274: undefined reference to `NeAACDecOpen'                           
/usr/local/lib/libavcodec.a(libmp3lame.o): In function `MP3lame_encode_frame':                         
/root/ffmpeg/libavcodec/libmp3lame.c:160: undefined reference to `lame_encode_buffer'                  
/root/ffmpeg/libavcodec/libmp3lame.c:152: undefined reference to `lame_encode_buffer_interleaved'      
/root/ffmpeg/libavcodec/libmp3lame.c:170: undefined reference to `lame_encode_flush'                   
/usr/local/lib/libavcodec.a(libmp3lame.o): In function `MP3lame_encode_close':                         
/root/ffmpeg/libavcodec/libmp3lame.c:212: undefined reference to `lame_close'                          
/usr/local/lib/libavcodec.a(libmp3lame.o): In function `MP3lame_encode_init':                          
/root/ffmpeg/libavcodec/libmp3lame.c:48: undefined reference to `lame_init'                            
/root/ffmpeg/libavcodec/libmp3lame.c:50: undefined reference to `lame_set_in_samplerate'               
/root/ffmpeg/libavcodec/libmp3lame.c:51: undefined reference to `lame_set_out_samplerate'              
/root/ffmpeg/libavcodec/libmp3lame.c:52: undefined reference to `lame_set_num_channels'                
/root/ffmpeg/libavcodec/libmp3lame.c:54: undefined reference to `lame_set_quality'                     
/root/ffmpeg/libavcodec/libmp3lame.c:56: undefined reference to `lame_set_quality'                     
/root/ffmpeg/libavcodec/libmp3lame.c:59: undefined reference to `lame_set_mode'                        
/root/ffmpeg/libavcodec/libmp3lame.c:60: undefined reference to `lame_set_brate'                       
/root/ffmpeg/libavcodec/libmp3lame.c:62: undefined reference to `lame_set_brate'                       
/root/ffmpeg/libavcodec/libmp3lame.c:63: undefined reference to `lame_set_VBR'                         
/root/ffmpeg/libavcodec/libmp3lame.c:64: undefined reference to `lame_set_VBR_q'                       
/root/ffmpeg/libavcodec/libmp3lame.c:66: undefined reference to `lame_set_bWriteVbrTag'                
/root/ffmpeg/libavcodec/libmp3lame.c:67: undefined reference to `lame_set_disable_reservoir'           
/root/ffmpeg/libavcodec/libmp3lame.c:68: undefined reference to `lame_init_params'                     
/root/ffmpeg/libavcodec/libmp3lame.c:71: undefined reference to `lame_get_framesize'                   
/root/ffmpeg/libavcodec/libmp3lame.c:79: undefined reference to `lame_close'                           
/usr/local/lib/libavcodec.a(libopencore-amr.o): In function `amr_wb_decode_frame':                     
/root/ffmpeg/libavcodec/libopencore-amr.c:300: undefined reference to `D_IF_decode'                    
/usr/local/lib/libavcodec.a(libopencore-amr.o): In function `amr_wb_decode_close':                     
/root/ffmpeg/libavcodec/libopencore-amr.c:309: undefined reference to `D_IF_exit'                      
/usr/local/lib/libavcodec.a(libopencore-amr.o): In function `amr_nb_encode_frame':                     
/root/ffmpeg/libavcodec/libopencore-amr.c:208: undefined reference to `Encoder_Interface_Encode'       
/usr/local/lib/libavcodec.a(libopencore-amr.o): In function `amr_nb_decode_frame':                     
/root/ffmpeg/libavcodec/libopencore-amr.c:136: undefined reference to `Decoder_Interface_Decode'       
/usr/local/lib/libavcodec.a(libopencore-amr.o): In function `amr_wb_decode_init':                      
/root/ffmpeg/libavcodec/libopencore-amr.c:263: undefined reference to `D_IF_init'                      
/usr/local/lib/libavcodec.a(libopencore-amr.o): In function `amr_nb_encode_close':                     
/root/ffmpeg/libavcodec/libopencore-amr.c:191: undefined reference to `Encoder_Interface_exit'         
/usr/local/lib/libavcodec.a(libopencore-amr.o): In function `amr_nb_encode_init':                      
/root/ffmpeg/libavcodec/libopencore-amr.c:173: undefined reference to `Encoder_Interface_init'         
/usr/local/lib/libavcodec.a(libopencore-amr.o): In function `amr_nb_decode_close':                     
/root/ffmpeg/libavcodec/libopencore-amr.c:105: undefined reference to `Decoder_Interface_exit'         
/usr/local/lib/libavcodec.a(libopencore-amr.o): In function `amr_nb_decode_init':                      
/root/ffmpeg/libavcodec/libopencore-amr.c:85: undefined reference to `Decoder_Interface_init'          
/usr/local/lib/libavcodec.a(libtheoraenc.o): In function `submit_stats':                               
/root/ffmpeg/libavcodec/libtheoraenc.c:136: undefined reference to `th_encode_ctl'                     
/usr/local/lib/libavcodec.a(libtheoraenc.o): In function `get_stats':                                  
/root/ffmpeg/libavcodec/libtheoraenc.c:95: undefined reference to `th_encode_ctl'                      
/usr/local/lib/libavcodec.a(libtheoraenc.o): In function `encode_frame':                               
/root/ffmpeg/libavcodec/libtheoraenc.c:296: undefined reference to `th_encode_ycbcr_in'                
/root/ffmpeg/libavcodec/libtheoraenc.c:319: undefined reference to `th_encode_packetout'               
/root/ffmpeg/libavcodec/libtheoraenc.c:276: undefined reference to `th_encode_packetout'               
/usr/local/lib/libavcodec.a(libtheoraenc.o): In function `encode_close':                               
/root/ffmpeg/libavcodec/libtheoraenc.c:351: undefined reference to `th_encode_free'                    
/usr/local/lib/libavcodec.a(libtheoraenc.o): In function `encode_init':                                
/root/ffmpeg/libavcodec/libtheoraenc.c:164: undefined reference to `th_info_init'                      
/root/ffmpeg/libavcodec/libtheoraenc.c:216: undefined reference to `th_encode_alloc'                   
/root/ffmpeg/libavcodec/libtheoraenc.c:224: undefined reference to `th_info_clear'                     
/root/ffmpeg/libavcodec/libtheoraenc.c:226: undefined reference to `th_encode_ctl'                     
/root/ffmpeg/libavcodec/libtheoraenc.c:251: undefined reference to `th_comment_init'                   
/root/ffmpeg/libavcodec/libtheoraenc.c:253: undefined reference to `th_encode_flushheader'             
/root/ffmpeg/libavcodec/libtheoraenc.c:257: undefined reference to `th_comment_clear'                  
/usr/local/lib/libavcodec.a(libx264.o): In function `X264_frame':                                      
/root/ffmpeg/libavcodec/libx264.c:105: undefined reference to `x264_encoder_encode'                    
/usr/local/lib/libavcodec.a(libx264.o): In function `X264_close':                                      
/root/ffmpeg/libavcodec/libx264.c:143: undefined reference to `x264_encoder_close'                     
/usr/local/lib/libavcodec.a(libx264.o): In function `X264_init':                                       
/root/ffmpeg/libavcodec/libx264.c:153: undefined reference to `x264_param_default'                     
/root/ffmpeg/libavcodec/libx264.c:286: undefined reference to `x264_encoder_open_85'                   
/root/ffmpeg/libavcodec/libx264.c:296: undefined reference to `x264_encoder_headers'                   
/usr/local/lib/libavcodec.a(libxvidff.o): In function `ff_xvid_encode_frame':                          
/root/ffmpeg/libavcodec/libxvidff.c:431: undefined reference to `xvid_encore'                          
/usr/local/lib/libavcodec.a(libxvidff.o): In function `ff_xvid_encode_close':                          
/root/ffmpeg/libavcodec/libxvidff.c:481: undefined reference to `xvid_encore'                          
/usr/local/lib/libavcodec.a(libxvidff.o): In function `ff_xvid_encode_init':                           
/root/ffmpeg/libavcodec/libxvidff.c:184: undefined reference to `xvid_global'                          
/root/ffmpeg/libavcodec/libxvidff.c:255: undefined reference to `xvid_plugin_2pass2'                   
/root/ffmpeg/libavcodec/libxvidff.c:264: undefined reference to `xvid_plugin_single'                   
/root/ffmpeg/libavcodec/libxvidff.c:271: undefined reference to `xvid_plugin_lumimasking'              
/root/ffmpeg/libavcodec/libxvidff.c:349: undefined reference to `xvid_encore'                          
/usr/local/lib/libavformat.a(mov.o): In function `mov_read_cmov':                                      
/root/ffmpeg/libavformat/mov.c:1992: undefined reference to `uncompress'                               
/usr/local/lib/libavformat.a(matroskadec.o): In function `matroska_decode_buffer':                     
/root/ffmpeg/libavformat/matroskadec.c:898: undefined reference to `inflateInit_'                      
/root/ffmpeg/libavformat/matroskadec.c:907: undefined reference to `inflate'                           
/root/ffmpeg/libavformat/matroskadec.c:910: undefined reference to `inflateEnd'                        
/usr/local/lib/libavcodec.a(tiffenc.o): In function `encode_strip':                                    
/root/ffmpeg/libavcodec/tiffenc.c:160: undefined reference to `compress'                               
/usr/local/lib/libavcodec.a(libxvid_rc.o): In function `ff_xvid_rate_control_uninit':                  
/root/ffmpeg/libavcodec/libxvid_rc.c:146: undefined reference to `xvid_plugin_2pass2'                  
/usr/local/lib/libavcodec.a(libxvid_rc.o): In function `ff_xvid_rate_estimate_qscale':                 
/root/ffmpeg/libavcodec/libxvid_rc.c:127: undefined reference to `xvid_plugin_2pass2'                  
/root/ffmpeg/libavcodec/libxvid_rc.c:119: undefined reference to `xvid_plugin_2pass2'                  
/usr/local/lib/libavcodec.a(libxvid_rc.o): In function `ff_xvid_rate_control_init':                    
/root/ffmpeg/libavcodec/libxvid_rc.c:80: undefined reference to `xvid_plugin_2pass2'                   
/usr/local/lib/libavdevice.a(jack_audio.o): In function `xrun_callback':                               
/root/ffmpeg/libavdevice/jack_audio.c:117: undefined reference to `ff_timefilter_reset'                
/usr/local/lib/libavdevice.a(jack_audio.o): In function `process_callback':                            
/root/ffmpeg/libavdevice/jack_audio.c:70: undefined reference to `jack_frames_since_cycle_start'       
/root/ffmpeg/libavdevice/jack_audio.c:73: undefined reference to `ff_timefilter_update'                
/root/ffmpeg/libavdevice/jack_audio.c:91: undefined reference to `jack_port_get_total_latency'         
/root/ffmpeg/libavdevice/jack_audio.c:92: undefined reference to `jack_port_get_buffer'                
/usr/local/lib/libavdevice.a(jack_audio.o): In function `stop_jack':                                   
/root/ffmpeg/libavdevice/jack_audio.c:213: undefined reference to `jack_client_close'                  
/root/ffmpeg/libavdevice/jack_audio.c:219: undefined reference to `ff_timefilter_destroy'              
/root/ffmpeg/libavdevice/jack_audio.c:212: undefined reference to `jack_deactivate'                    
/usr/local/lib/libavdevice.a(jack_audio.o): In function `start_jack':                                  
/root/ffmpeg/libavdevice/jack_audio.c:147: undefined reference to `jack_client_open'                   
/root/ffmpeg/libavdevice/jack_audio.c:155: undefined reference to `jack_get_sample_rate'               
/root/ffmpeg/libavdevice/jack_audio.c:158: undefined reference to `jack_get_buffer_size'               
/root/ffmpeg/libavdevice/jack_audio.c:164: undefined reference to `jack_port_register'                 
/root/ffmpeg/libavdevice/jack_audio.c:176: undefined reference to `jack_set_process_callback'          
/root/ffmpeg/libavdevice/jack_audio.c:177: undefined reference to `jack_on_shutdown'                   
/root/ffmpeg/libavdevice/jack_audio.c:178: undefined reference to `jack_set_xrun_callback'             
/root/ffmpeg/libavdevice/jack_audio.c:183: undefined reference to `ff_timefilter_new'                  
/root/ffmpeg/libavdevice/jack_audio.c:170: undefined reference to `jack_client_close'                  
/root/ffmpeg/libavdevice/jack_audio.c:190: undefined reference to `jack_client_close'                  
/usr/local/lib/libavdevice.a(jack_audio.o): In function `audio_read_packet':                           
/root/ffmpeg/libavdevice/jack_audio.c:264: undefined reference to `jack_activate'                      
/usr/local/lib/libavdevice.a(x11grab.o): In function `x11grab_read_close':                             
/root/ffmpeg/libavdevice/x11grab.c:425: undefined reference to `XCloseDisplay'                         
/root/ffmpeg/libavdevice/x11grab.c:413: undefined reference to `XShmDetach'                            
/usr/local/lib/libavdevice.a(x11grab.o): In function `xget_zpixmap':                                   
/root/ffmpeg/libavdevice/x11grab.c:323: undefined reference to `_XReply'                               
/usr/local/lib/libavdevice.a(x11grab.o): In function `x11grab_read_packet':                            
/root/ffmpeg/libavdevice/x11grab.c:381: undefined reference to `XShmGetImage'
/usr/local/lib/libavdevice.a(x11grab.o): In function `paint_mouse_pointer':
/root/ffmpeg/libavdevice/x11grab.c:263: undefined reference to `XFixesGetCursorImage'
/root/ffmpeg/libavdevice/x11grab.c:285: undefined reference to `XFree'
/usr/local/lib/libavdevice.a(x11grab.o): In function `xget_zpixmap':
/root/ffmpeg/libavdevice/x11grab.c:330: undefined reference to `_XReadPad'
/root/ffmpeg/libavdevice/x11grab.c:312: undefined reference to `_XFlush'
/usr/local/lib/libavdevice.a(x11grab.o): In function `x11grab_read_header':
/root/ffmpeg/libavdevice/x11grab.c:107: undefined reference to `XOpenDisplay'
/root/ffmpeg/libavdevice/x11grab.c:124: undefined reference to `XShmQueryExtension'
/root/ffmpeg/libavdevice/x11grab.c:152: undefined reference to `XGetImage'
/root/ffmpeg/libavdevice/x11grab.c:128: undefined reference to `XDefaultScreen'
/root/ffmpeg/libavdevice/x11grab.c:129: undefined reference to `XShmCreateImage'
/root/ffmpeg/libavdevice/x11grab.c:146: undefined reference to `XShmAttach'
collect2: ld returned 1 exit status
make[2]: *** [../libmltavformat.so] Errore 1
make[2]: uscita dalla directory «/home/gcestaro/Work/0down/mlt-0.5.0/src/modules/avformat»
make[1]: *** [all] Errore 1
make[1]: uscita dalla directory «/home/gcestaro/Work/0down/mlt-0.5.0/src/modules»
make: *** [all] Errore 1
root@gcestaro:/home/gcestaro/Work/0down/mlt-0.5.0#



What's wrong?

Thank you for help.