[vlc] Re: How to compile VLC for Wince
#PHANG CHEE WOH,DERRICK#
PHAN0004 at ntu.edu.sg
Thu May 11 01:50:43 CEST 2006
Hi,
(Sorry if this email is repeated because I didn't seem to send out this email the last time)
I have been looking through the forum as well as the trunk files on the install.wince for the last few days but I am still unable to get the configure process right. Can anyone please help me?
The original configure suggested in install.wince is
./bootstrap &&
PATH=/usr/local/wince/cross-tools/bin:$PATH \
CFLAGS="-D__stdcall= -D_OFF_T_ -I/usr/local/wince/cross-tools/include" \
CFLAGS="$CFLAGS -I/usr/local/wince/contrib-xscale/include" \
LDFLAGS="-L/usr/local/wince/cross-tools/lib" \
LDFLAGS="-L/usr/local/wince/contrib-xscale/lib" \
CC="arm-wince-pe-gcc -mcpu=xscale" \
../configure --host=arm-wince-pe --target=arm-wince-pe \
--build=i686-linux --prefix=/usr/local/wince \
--disable-sdl --disable-gtk --disable-dvdnav --disable-dvdread \
--disable-nls --disable-sout --disable-vlm --disable-wxwindows \
--disable-a52 --disable-libmpeg2 --disable-freetype --disable-fribidi \
--disable-mad --disable-plugins --enable-optimize-memory \
--with-freetype-config-path=/usr/local/wince-xscale/bin \
--with-fribidi-config-path=/usr/local/wince-xscale/bin \
--enable-tremor --enable-faad
My observations from the file so far.
1. It should be ./configure not ../configure
2. The order may be --build --host --target instead of host target build
3. The build host and target should be specified at the end instead of before specifying what to disable.
4. The config path for freetype and fribidi probably should be
/usr/local/wince/contrib-xscale/bin instead.
5. The build is more likely to be build=i686-pc-linux-gnu
Below is a copy of my install.wince
./bootstrap &&
PATH=/usr/local/wince/cross-tools/bin:$PATH \
CFLAGS="-D__stdcall= -D_OFF_T_ -I/usr/local/wince/cross-tools/include" \
CFLAGS="$CFLAGS -I/usr/local/wince/contrib-xscale/include" \
LDFLAGS="-L/usr/local/wince/cross-tools/lib" \
LDFLAGS="-L/usr/local/wince/contrib-xscale/lib" \
CC="arm-wince-pe-gcc -mcpu=xscale" \
./configure --prefix=/usr/local/wince \
--disable-sdl --disable-gtk --disable-dvdnav --disable-dvdread \
--disable-nls --disable-sout --disable-vlm --disable-wxwidgets \
--disable-a52 --disable-libmpeg2 \
--disable-mad --disable-plugins --enable-optimize-memory \
--disable-ffmpeg --enable-tremor --disable-faad \
--enable-freetype --with-freetype-config-path=/usr/local/wince/contrib-xscale/bin \
--enable-fribidi --with-fribidi-config-path=/usr/local/wince/contrib-xscale/bin \
--enable-livedotcom --with-livedotcom-tree=/usr/win32/live.com
--build=i686-pc-linux-gnu --host=arm-wince-pe --target=arm-wince-pe
However, I am still encountering other problems which prevent me from doing the make.
The problems are
1. The configure process cannot find the ffmpeg and faad even though I can find them in one of the subdirectories within cygwin.
So I disabled both of them.
2. My next problem is experienced during make. It appears that make experience
other problems even if configure is done successfully.
The last few lines of the make process are:
make[4]: ***[libaccess_file_a-file.o] Error 1
make[4]: Leaving directory '/home/owner/vlc-0.8.4a/modules/access'
make[3]: ***[all-modules] Error 1
make[3]: Leaving directory '/home/owner/vlc-0.8.4a/modules/access'
make[2]: ***[all-recursive] Error 1
make[2]: Leaving directory '/home/owner/vlc-0.8.4a/modules'
make[1]: ***[all-recursive] Error 1
make[1]: Leaving directory '/home/owner/vlc-0.8.4a'
make: ***[all] Error 2
Has this got to do with my configure process?
I hope anyone can give me a reply.
Thanks.
Derrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3933 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20060511/74d54068/attachment.bin>
More information about the vlc
mailing list