[vlc-devel] Build issues on Ubuntu 8.04

Dave Still dave at stilldesigning.com
Thu Jul 10 21:32:57 CEST 2008

I'm running Ubuntu 8.04 on AMD64, and I'm getting the following  
compile error:

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -I../../../include - 
I../../../include -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 - 
D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=avformat - 
DMODULE_NAME_IS_avformat -DMODULE_STRING=\"avformat\" -O2 -ffast-math - 
funroll-loops -mtune=athlon64 -fomit-frame-pointer -I/include -Wall - 
Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast - 
Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register- 
var -MT libavformat_plugin_la-demux.lo -MD -MP -MF .deps/ 
libavformat_plugin_la-demux.Tpo -c demux.c  -fPIC -DPIC -o .libs/ 
demux.c: In function \u2018OpenDemux\u2019:
demux.c:99: warning: passing argument 2 of \u2018stream_Peek\u2019  
from incompatible pointer type
demux.c:247: error: \u2018CODEC_TYPE_ATTACHMENT\u2019 undeclared  
(first use in this function)
demux.c:247: error: (Each undeclared identifier is reported only once
demux.c:247: error: for each function it appears in.)
demux.c: In function \u2018Control\u2019:
demux.c:374: warning: cast from function call of type \u2018int64_t 
\u2019 to non-matching type \u2018double\u2019
make[6]: *** [libavformat_plugin_la-demux.lo] Error 1
make[6]: Leaving directory `/home/stealthdave/Source/vlc/modules/demux/ 
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/stealthdave/Source/vlc/modules/demux/ 
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/stealthdave/Source/vlc/modules/demux'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/stealthdave/Source/vlc/modules/demux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/stealthdave/Source/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stealthdave/Source/vlc'
make: *** [all] Error 2

According to a post in the web forum ( http://forum.videolan.org/viewtopic.php?f=13&p=153209 
  ), this is not an isolated occurance.  My last successful build on  
Ubuntu was several weeks ago, but I hadn't tried in quite a while.   
Any ideas as to what might be causing this, or perhaps a fix /  

- Dave

David E. Still
Senior Developer
Still Designing

More information about the vlc-devel mailing list