Page 1 of 1

Missing header files

Posted: 23 Jan 2006 07:44
by yogeshsarda
I got the source code from http://nightlies.videolan.org/build/source/.

But it is missing files like faad.h, avcodec.h... Hence when I try configure my build, it fails for missing header files.

Initially I was planning to bootstrap then configure and then make. But I could never get bootstrap working. Then experts on videolan IRC tols me that since I am not adding/removing any modules, I can use bootstrapped code from http://nightlies.videolan.org/build/source/ and directly go for configure.

I have not modified any files yet and trying to build source code as it is. But it fails for missing header files. First it failed for dvdread module, then in my configure option I used --disable-dvdread, then it failed for ffmpeg so I tried --disable-ffmpeg. Now I am getting errors for faad. I think I am missing some step in getting these header files.

I really appreciate your answers.

Posted: 23 Jan 2006 08:06
by yogeshsarda
I found those header files under /usr/win32/include

Initial script I gor from howto doc is

./bootstrap && \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--enable-sdl --with-sdl-config-path=/usr/win32/bin --disable-gtk \
--enable-nls \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-livedotcom --with-livedotcom-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--disable-gnomevfs \
--enable-debug

Since I don't want to bootstrap, I removed all the lines before ./configure and then I was geetimg these missing header errors.

Now I put the lines
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \

under ./configure and i get error saying
checking for C compiler default output file name... configure: error: C compiler
cannot create executables
See `config.log' for more details.

I can send configlog if needed.