Page 1 of 1

Cross compiling at Red Hat 9

Posted: 06 Jun 2004 09:58
by bentzy
I download the sources,"vlc-0.7.2.tar.gz",
then
Quote:

./bootstrap && \
PATH=/usr/local/mingw/bin:$PATH \
CPPFLAGS=-I/usr/win32/include \
LDFLAGS=-L/usr/win32/lib \
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \


(Here I receive a NOTE about gettext old version)

then
Quote:

./configure --host=i586-mingw32msvc --build=i386-linux \
--disable-sdl --disable-gtk \
--enable-nls \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--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-debug

BUT I receive errors saying to disable dvd,mad but even disabling them I receive:
Quote:

checking for ffmpeg/avcodec.h... no
configure:error: Missing header file ffmmpeg/avcodec.h.


avcodec.h is present in my computer at /usr/win32/include/ffmpeg/

Any help will be appreciated!

Posted: 07 Jun 2004 16:18
by RĂ©mi Denis-Courmont
Hello,

You will probably find a more detailled error explanation in the config.log file.