As per summary, check attached build log. And _please_ try not to fix it in the wrong way: http://blog.flameeyes.eu/2009/07/02/how-_not_-to-fix-gcc-4-4-bugs
Created attachment 199433 [details] Build log
doesn't seem to be a gcc issue. qt4.cpp: In function 'int Open(vlc_object_t*)': qt4.cpp:268: error: 'XOpenDisplay' was not declared in this scope qt4.cpp:275: error: 'XCloseDisplay' was not declared in this scope make[6]: *** [libqt4_plugin_la-qt4.lo] Error 1
imho a qt problem, fixed in qt-gui-4.5.2-r1 at least. If it defines Q_WS_X11 it should RDEPEND on Xlib...
(In reply to comment #3) > imho a qt problem, fixed in qt-gui-4.5.2-r1 at least. > If it defines Q_WS_X11 it should RDEPEND on Xlib... added the dep to vlc anyway
Uh, what version is this fixed in? This is still happening to me with vlc-1.0.2 (the version currently marked as stable).
Sorry, I should probably add: I'm installing on a headless system that has minimal X / qt / graphics libraries installed: $ grep USE /etc/make.conf USE="network-cron -ipv6 doc vim-syntax offensive nethack examples mp4 ffmpeg x264 curl jpeg png raw truetype libssh2 mp3 vorbis xvid ogg quicktime mmx sse sse2 mpeg exif sensord xml -gpm -java aac samba encode dts dvdnav rar schroedinger win32codecs extra-tools md5sum gif mad dvd css dvdr matroska ogm a52 amr spell theora inotify qt3support -semantic-desktop -symlink" $ grep qt /etc/portage/* /etc/portage/package.use:x11-libs/qt-gui dbus /etc/portage/package.use:x11-libs/qt-qt3support kde /etc/portage/package.use:x11-libs/qt-webkit kde /etc/portage/package.use:#x11-libs/qt-sql postgres -mysql $
Still happenning in vlc-1.0.4
See #310169, I've found solution.