ffplay-ffplay.o: In function `main':
ffplay.c:(.text+0x4448): undefined reference to `XOpenDisplay'
ffplay.c:(.text+0x447b): undefined reference to `XCloseDisplay'
collect2: ld returned 1 exit status
make[7]: *** [ffplay] Error 1
make[7]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.10.1/work/gst-ffmpeg-0.10.1/gst-libs/ext/ffmpeg'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.10.1/work/gst-ffmpeg-0.10.1/gst-libs/ext/ffmpeg'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.10.1/work/gst-ffmpeg-0.10.1/gst-libs/ext/ffmpeg'
make[4]: *** [all-local] Error 2
make[4]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.10.1/work/gst-ffmpeg-0.10.1/gst-libs/ext'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.10.1/work/gst-ffmpeg-0.10.1/gst-libs/ext'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.10.1/work/gst-ffmpeg-0.10.1/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.10.1/work/gst-ffmpeg-0.10.1'
make: *** [all] Error 2
!!! ERROR: media-plugins/gst-plugins-ffmpeg-0.10.1 failed.
Call stack:
ebuild.sh, line 1525: Called dyn_compile
ebuild.sh, line 928: Called src_compile
gst-plugins-ffmpeg-0.10.1.ebuild, line 42: Called die
If anyone can point me in the right direction I'd be very grateful.
EDIT: Apparently I needed to remerge libsdl with USE="X".. Several hours wasted just trying to figure it out. Go figure.



