[vlc] Re: How to compile VLC for Wince

Sigmund Augdal Helberg dnumgis at videolan.org
Thu May 11 08:25:03 CEST 2006


On Thu, 2006-05-11 at 07:50 +0800, #PHANG CHEE WOH,DERRICK# wrote:
> 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 
It would be better if you included the error message. That would be the
last couple of lines directly above what you included.
> 
> Has this got to do with my configure process? 
Most likely not. Most likely some problem has sneaked into the code
preventing it from building on wince. With the proper error message this
could (hopefully) be fixed.

Regards

Sigmund


-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list