[vlc] Compiling limpeg2 - Error

Ariel Fritz duin at tutopia.com
Mon Jul 21 17:06:12 CEST 2003


Hi Videolan Group

've downloaded mpeg2dec-20030612.tar.bz2 
<http://www.videolan.org/pub/videolan/vlc/0.6.0/contrib/mpeg2dec-20030612.tar.bz2> 
(MPEG-2 video decoder) from vlc web page. When I try to compile it , 
compiler show me the folowing message:


/bin/sh ../libtool --mode=link gcc      -o mpeg2dec  mpeg2dec.o 
dump_state.o getopt.o gettimeofday.o ../libmpeg2/libmpeg2.la 
../libvo/libvo.a
mkdir .libs
gcc -o .libs/mpeg2dec mpeg2dec.o dump_state.o getopt.o gettimeofday.o 
../libmpeg2/.libs/libmpeg2.so ../libvo/libvo.a -Wl,--rpath 
-Wl,/usr/local/lib
../libvo/libvo.a(video_out_x11.o): In function `open_display':
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:87: 
undefined reference to `XOpenDisplay'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:93: 
undefined reference to `XShmQueryVersion'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:100: 
undefined reference to `XShmGetEventBase'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:110: 
undefined reference to `XGetVisualInfo'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:125: 
undefined reference to `XFree'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:132: 
undefined reference to `XCreateColormap'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:136: 
undefined reference to `XCreateWindow'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:145: 
undefined reference to `XCreateGC'
../libvo/libvo.a(video_out_x11.o): In function `x11_alloc_frames':
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:263: 
undefined reference to `XShmCreateImage'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:176: 
undefined reference to `XSync'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:177: 
undefined reference to `XSetErrorHandler'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:180: 
undefined reference to `XShmAttach'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:183: 
undefined reference to `XSync'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:184: 
undefined reference to `XSetErrorHandler'
../libvo/libvo.a(video_out_x11.o): In function `x11_close':
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:207: 
undefined reference to `XNextEvent'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:196: 
undefined reference to `XShmDetach'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:301: 
undefined reference to `XFreeGC'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:302: 
undefined reference to `XDestroyWindow'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:303: 
undefined reference to `XCloseDisplay'
../libvo/libvo.a(video_out_x11.o): In function `xv_check_yv12':
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:340: 
undefined reference to `XvListImageFormats'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:344: 
undefined reference to `XFree'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:347: 
undefined reference to `XFree'
../libvo/libvo.a(video_out_x11.o): In function `xv_check_extension':
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:361: 
undefined reference to `XvQueryExtension'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:379: 
undefined reference to `XvFreeAdaptorInfo'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:368: 
undefined reference to `XvQueryAdaptors'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:374: 
undefined reference to `XvGrabPort'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:383: 
undefined reference to `XvFreeAdaptorInfo'
../libvo/libvo.a(video_out_x11.o): In function `xv_alloc_frames':
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:176: 
undefined reference to `XSync'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:177: 
undefined reference to `XSetErrorHandler'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:180: 
undefined reference to `XShmAttach'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:183: 
undefined reference to `XSync'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:184: 
undefined reference to `XSetErrorHandler'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:401: 
undefined reference to `XvShmCreateImage'
../libvo/libvo.a(video_out_x11.o): In function `xv_close':
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:207: 
undefined reference to `XNextEvent'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:425: 
undefined reference to `XFree'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:196: 
undefined reference to `XShmDetach'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:428: 
undefined reference to `XvUngrabPort'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:429: 
undefined reference to `XFreeGC'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:430: 
undefined reference to `XDestroyWindow'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:431: 
undefined reference to `XCloseDisplay'
../libvo/libvo.a(video_out_x11.o): In function `x11_setup':
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:498: 
undefined reference to `XMapWindow'
../libvo/libvo.a(video_out_x11.o): In function `xv_setup':
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:498: 
undefined reference to `XMapWindow'
../libvo/libvo.a(video_out_x11.o): In function `x11_start_fbuf':
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:207: 
undefined reference to `XNextEvent'
../libvo/libvo.a(video_out_x11.o): In function `x11_draw_frame':
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:246: 
undefined reference to `XShmPutImage'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:249: 
undefined reference to `XFlush'
../libvo/libvo.a(video_out_x11.o): In function `xv_draw_frame':
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:326: 
undefined reference to `XvShmPutImage'
/videolan/librerias/mpeg2dec-20030612/libvo/video_out_x11.c:330: 
undefined reference to `XFlush'
collect2: ld returned 1 exit status
make[1]: *** [mpeg2dec] Error 1
make[1]: Leaving directory `/videolan/librerias/mpeg2dec-20030612/src'
make: *** [all-recursive] Error 1
<http://www.videolan.org/pub/videolan/vlc/0.6.0/contrib/mpeg2dec-20030612.tar.bz2>

What's wrong? any help please

Thanks a lots again and regards

Ariel



-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list