vlc 0.6.2-r1 build fails with missing header files: if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin satellite` -Wsign-compare -Wall -finline-limit-30000 -pipe -MT libsatellite_plugin_a-dvb.o -MD -MP -MF ".deps/libsatellite_plugin_a-dvb.Tpo" \ -c -o libsatellite_plugin_a-dvb.o `test -f 'dvb.c' || echo './'`dvb.c; \ then mv -f ".deps/libsatellite_plugin_a-dvb.Tpo" ".deps/libsatellite_plugin_a-dvb.Po"; \ else rm -f ".deps/libsatellite_plugin_a-dvb.Tpo"; exit 1; \ fi dvb.c:41:21: ost/sec.h: No such file or directory dvb.c:42:21: ost/dmx.h: No such file or directory dvb.c:43:26: ost/frontend.h: No such file or directory dvb.c: In function `ioctl_SECControl': dvb.c:55: error: storage size of `scmd' isn't known dvb.c:56: error: storage size of `scmds' isn't known dvb.c:66: error: `SEC_TONE_OFF' undeclared (first use in this function) dvb.c:66: error: (Each undeclared identifier is reported only once dvb.c:66: error: for each function it appears in.) dvb.c:66: error: `SEC_TONE_ON' undeclared (first use in this function) dvb.c:70: error: `SEC_VOLTAGE_18' undeclared (first use in this function) dvb.c:70: error: `SEC_VOLTAGE_13' undeclared (first use in this function) dvb.c:81: error: `SEC_MINI_NONE' undeclared (first use in this function) dvb.c:87: error: `SEC_SEND_SEQUENCE' undeclared (first use in this function) dvb.c:55: warning: unused variable `scmd' dvb.c:56: warning: unused variable `scmds' dvb.c: In function `ioctl_SetQPSKFrontend': dvb.c:106: error: `FrontendParameters' undeclared (first use in this function) dvb.c:106: error: syntax error before "fep" dvb.c:118: error: `fep' undeclared (first use in this function) dvb.c:122: error: `FEC_AUTO' undeclared (first use in this function) dvb.c:125: error: `FE_SET_FRONTEND' undeclared (first use in this function) dvb.c: In function `check_qpsk': dvb.c:147: error: `FrontendEvent' undeclared (first use in this function) dvb.c:147: error: syntax error before "event" dvb.c:156: error: `FE_GET_EVENT' undeclared (first use in this function) dvb.c:156: error: `event' undeclared (first use in this function) dvb.c:156: error: `EBUFFEROVERFLOW' undeclared (first use in this function) dvb.c:163: error: `FE_UNEXPECTED_EV' undeclared (first use in this function) dvb.c:165: error: `FE_FAILURE_EV' undeclared (first use in this function) dvb.c:167: error: `FE_COMPLETION_EV' undeclared (first use in this function) dvb.c: In function `ioctl_SetDMXFilter': dvb.c:192: error: storage size of `s_filter_params' isn't known dvb.c:202: error: `DMX_IN_FRONTEND' undeclared (first use in this function) dvb.c:203: error: `DMX_OUT_TS_TAP' undeclared (first use in this function) dvb.c:207: error: `DMX_PES_VIDEO' undeclared (first use in this function) dvb.c:210: error: `DMX_PES_AUDIO' undeclared (first use in this function) dvb.c:213: error: `DMX_PES_OTHER' undeclared (first use in this function) dvb.c:216: error: `DMX_IMMEDIATE_START' undeclared (first use in this function) dvb.c:219: error: `DMX_SET_PES_FILTER' undeclared (first use in this function) dvb.c:192: warning: unused variable `s_filter_params' dvb.c: In function `ioctl_UnsetDMXFilter': dvb.c:232: error: `DMX_STOP' undeclared (first use in this function) make[6]: *** [libsatellite_plugin_a-dvb.o] Error 1 make[6]: Leaving directory `/var/tmp/portage/vlc-0.6.2-r1/work/vlc-0.6.2/modules/access/satellite' make[5]: *** [all-satellite] Error 1 make[5]: Leaving directory `/var/tmp/portage/vlc-0.6.2-r1/work/vlc-0.6.2/modules/access/satellite' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/vlc-0.6.2-r1/work/vlc-0.6.2/modules/access' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/vlc-0.6.2-r1/work/vlc-0.6.2/modules/access' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/vlc-0.6.2-r1/work/vlc-0.6.2/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/vlc-0.6.2-r1/work/vlc-0.6.2' make: *** [all] Error 2 !!! ERROR: media-video/vlc-0.6.2-r1 failed. !!! Function src_compile, Line 225, Exitcode 2 !!! make failed Reproducible: Always Steps to Reproduce: 1. emerge vlc 2. 3. Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.4.23) ================================================================= System uname: 2.4.23 i686 mobile AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.3.12 distcc 2.12 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /lib/modules /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://builda http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acl acpi afs alsa apache2 apm arts avi berkdb bonobo cdr crypt cscope cups curl dga directfb doc dvb dvd emacs encode esd ethereal evo fbcon firebird flash foomaticdb freetds gb gd gdbm ggi gif gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile imap imlib informix innodb ipv6 jack java jikes joystick jpeg kde kerberos krb4 ladcca lcm ldap leim libg++ libgda libwww lirc mad maildir mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi mule mysql nas ncurses nhc98 nls oci8 odbc oggvorbis opengl oss pam pcmcia pda pdflib perl plotutils png pnp postgres ppds prelude python qt quicktime readline ruby18 samba sasl scanner sdl slang slp snmp socks5 spell ssl svga tcltk tcpd tetex tiff truetype usb wmf wxwindows x86 xface xinerama xml2 xmms xosd xv zeo zlib"
just compile vlc without dvb, then it works
*** This bug has been marked as a duplicate of 31850 ***