[Ffmpeg-devel] can't build cvs with x264 on amd64

Tuukka Toivonen tuukkat
Fri Aug 19 17:06:08 CEST 2005

I don't know what's wrong when trying to link dynamically, but...

On Fri, 19 Aug 2005, sean wrote:
> /usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libx264.a(display-x11.o):
> In function `disp_line':
> : undefined reference to `XDrawLine'
> /usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libx264.a(display-x11.o):
> In function `disp_rect':
> : undefined reference to `XDrawRectangle'

This should be fixed by configuring x264 without "--enable-visualize".
You probably won't need it anyway.

> Should an include for Xlib.h be stuck somewhere?

You probably mean to add "-lX11" during the linking. That should fix it 
too, but I don't think you can use visualization anyway from ffmpeg.

More information about the ffmpeg-devel mailing list