OK this last thing and i realize also posted by OP is a linking error
nothing more than a bad Makefile or you could look at it as a bad gcc command
if you go to the directory the compiler was in when the link failed you can fix just copy past the gcc command back on the command line and add in xlib
something like this (not tested and you will have to play with it)
position is important so t might have to go further to the right -- i just put it to the right of the av stuff since that was the failure.
or you can go to the Makefile and alter it and add this stuff into a variable
try something like somewhere after the av stuff is added in.
EXTRALIBS+=-L/usr/X11R6/lib -lX11
Code:
gcc -Wl,--warn-common -rdynamic -g -o ffmpeg_g ffmpeg.o cmdutils.o -L./libavformat -lavformat -L./libavcodec -lavcodec -L./libavutil -lavutil -L/usr/X11R6/lib -lX11 -lm -lvorbis -lvorbisenc -lmp3lame -logg -lx264 -lz -llzo -ldl -lpthread
you can find missing objects like this
Code:
(10:51pm:02/18/06)
(gary) /usr/X11R6/lib $ objdump -t libX11.so | grep XSync
00031c90 l F .text 0000002b _XSyncFunction
00031b90 g F .text 000000fc XSync
00031cc0 g F .text 0000009f XSynchronize
(10:51pm:02/18/06)
(gary) /usr/X11R6/lib $ objdump -t libX11.so | grep XDrawPoint
00017a00 g F .text 00000180 XDrawPoint
00017b80 g F .text 000003cb XDrawPoints
might be more x libs we need ? but you get the picture