crosscompile for mips fails: "missing avcodec.h"

Discussion on the (deprecated) VideoLAN Server application as well as the miniSAPserver stream announcer. This is not about VLC!
Forum rules
Please do not post VLC related questions in this forum category. See the Forum Rules for more information.
jMCg

crosscompile for mips fails: "missing avcodec.h"

Postby jMCg » 24 Apr 2005 04:38

I'm currently trying to crosscompile VLS for the mips architecture [http://meshcube.org/ for more info].
I created a crosscompile eviroment with crosstool, compiled libdvbpsi3-0.1.4, and cvs version of ffmpeg which i received with this command:

Code: Select all

cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg login cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co -P ffmpeg/libavcodec
But when trying to compile vls with this configure line:

Code: Select all

./configure --prefix=/home/galic/crosstool/mipsel-unknown-linux-gnu/gcc-3.4.2-glibc-2.2.5/mipsel-unknown-linux-gnu/usr/local --host=mips --disable-dvd --enable-v4l --with-dvbpsi=/home/galic/crosstool/mipsel-unknown-linux-gnu/gcc-3.4.2-glibc-2.2.5/mipsel-unknown-linux-gnu/usr/local --with-ffmpeg=/home/galic/crosstool/mipsel-unknown-linux-gnu/gcc-3.4.2-glibc-2.2.5/mipsel-unknown-linux-gnu/usr/src/ffmpeg
make fails with the following error message:

Code: Select all

v4lreader.cpp:60:35: avcodec.h: No such file or directory v4lreader.cpp: In member function `virtual void C_v4lMpegReader::Init()': v4lreader.cpp:344: error: `PIX_FMT_YUV420P' undeclared (first use this function) v4lreader.cpp:344: error: (Each undeclared identifier is reported only once for each function it appears in.) v4lreader.cpp:348: error: `PIX_FMT_YUV422' undeclared (first use this function) v4lreader.cpp:353: error: `PIX_FMT_BGR24' undeclared (first use this function) make[6]: *** [v4lreader_la-v4lreader.lo] Error 1 make[6]: Leaving directory `/home/galic/crosstool/mipsel-unknown-linux-gnu/gcc-3.4.2-glibc-2.2.5/mipsel-unknown-linux-gnu/usr/src/vls/src/modules/v4lreader' make[5]: *** [all-local] Error 2 make[5]: Leaving directory `/home/galic/crosstool/mipsel-unknown-linux-gnu/gcc-3.4.2-glibc-2.2.5/mipsel-unknown-linux-gnu/usr/src/vls/src/modules/v4lreader' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/galic/crosstool/mipsel-unknown-linux-gnu/gcc-3.4.2-glibc-2.2.5/mipsel-unknown-linux-gnu/usr/src/vls/src/modules' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/galic/crosstool/mipsel-unknown-linux-gnu/gcc-3.4.2-glibc-2.2.5/mipsel-unknown-linux-gnu/usr/src/vls/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/galic/crosstool/mipsel-unknown-linux-gnu/gcc-3.4.2-glibc-2.2.5/mipsel-unknown-linux-gnu/usr/src/vls/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/galic/crosstool/mipsel-unknown-linux-gnu/gcc-3.4.2-glibc-2.2.5/mipsel-unknown-linux-gnu/usr/src/vls' make: *** [all] Error 2
if someone knows what causes the error, or how to avoid it, please tell me.

Thank You in advance.
So long,
Igor Galic

Return to “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 40 guests