Results 1 to 3 of 3
Hello.
I am trying to compile VLC media player for Windows CE. I am using a cross-compiler (built by the guys at the videolan project) in Ubuntu.
The problem is ...
- 07-27-2007 #1Just Joined!
- Join Date
- Jul 2007
- Posts
- 2
Compilation error
Hello.
I am trying to compile VLC media player for Windows CE. I am using a cross-compiler (built by the guys at the videolan project) in Ubuntu.
The problem is that i gets a compile errors when I run the make command.
The errors is:
Cannot export _vout_SynchroInit (_vout_SynchroInit): symbol not found
Cannot export _xc_a (_xc_a): symbol not found
Cannot export _xc_z (_xc_z): symbol not found
Cannot export _xi_a (_xi_a): symbol not found
Cannot export _xi_z (_xi_z): symbol not found
Cannot export _xml_Create (_xml_Create): symbol not found
Cannot export _xp_a (_xp_a): symbol not found
Cannot export _xp_z (_xp_z): symbol not found
Cannot export _xt_a (_xt_a): symbol not found
Cannot export _xt_z (_xt_z): symbol not found
Cannot export c_exit (c_exit): symbol not found
Cannot export cexit (cexit): symbol not found
Cannot export cinit (cinit): symbol not found
Cannot export exitflag (exitflag): symbol not found
Cannot export getopt_internal (getopt_internal): symbol not found
Cannot export getstdfilex (getstdfilex): symbol not found
Cannot export isctype (isctype): symbol not found
Cannot export mediacontrol_createRGBPicture (mediacontrol_createRGBPicture): symbol not found
Cannot export snprintf (snprintf): symbol not found
Cannot export vsnprintf (vsnprintf): symbol not found
collect2: ld returned 1 exit status
make[2]: *** [libvlc.dll] Error 1
make[2]: Leaving directory `/root/vlc-0.8.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/vlc-0.8.4'
make: *** [all] Error 2
And these are just the last of them. There as many to fill the whole bash.
What is wrong when these kind of error arise?
It might be that this forum isnt the right for this question but if you know any other good forum that might know i would be glad.
If you want to know my ./configure-vlc.sh file looks like
./bootstrap &&
PKG_CONFIG_PATH='/usr/local/wince/contrib-xscale/lib/pkgconfig/' \
PATH=/usr/local/wince/cross-tools/bin:$PATH \
CFLAGS="-D__stdcall= -D_OFF_T_ -I/usr/local/wince/cross-tools/include -I/usr/local/wince/contrib-xscale/include" \
CPPFLAGS="-D__stdcall= -D_OFF_T_ -I/usr/local/wince/cross-tools/include -I/usr/local/wince/contrib-xscale/include" \
CXXFLAGS="-D__stdcall= -D_OFF_T_ -I/usr/local/wince/cross-tools/include -I/usr/local/wince/contrib-xscale/include" \
CXXPPFLAGS="-D__stdcall= -D_OFF_T_ -I/usr/local/wince/cross-tools/include -I/usr/local/wince/contrib-xscale/include" \
LDFLAGS="-lstdc++ -L/usr/local/wince/cross-tools/lib -L/usr/local/wince/contrib-xscale/lib" \
CC="arm-wince-pe-gcc -mcpu=xscale" CXX="arm-wince-pe-g++ -lstdc++ -mcpu=xscale" \
./configure --host=arm-wince-pe --target=arm-wince-pe \
--build=i686-linux --prefix=/usr/local/wince \
--enable-shared-libvlc \
--enable-shared --enable-shared-pp --enable-pp --enable-gpl \
--disable-gnomevfs --disable-smb --disable-skins2 \
--disable-visual \
--enable-dshow \
--disable-sdl --disable-gtk --disable-dvdnav --disable-dvdread \
--disable-nls --disable-sout --disable-vlm --disable-wxwidgets \
--disable-a52 --disable-libmpeg2 --disable-freetype --disable-fribidi \
--disable-mad --disable-plugins --enable-optimize-memory \
--with-freetype-config-path=/usr/local/wince/contrib-xscale/bin \
--with-fribidi-config-path=/usr/local/wince/contrib-xscale/bin \
--enable-tremor \
--disable-ffmpeg \
Thanks in advance / fred.hild
- 07-27-2007 #2
Something isn't being linked properly I guess. I have never cross-compiled anything. vsnprintf is in stdarg, IDK if their compiler needs to link to that or what. I think in gcc you just include the headers and it auto links to the std libs.
Best place for software specific stuiff like this is the company's forum, or a support@ address. Chances are they have encountered this and know an easy fix.
- 08-01-2007 #3Just Joined!
- Join Date
- Jul 2007
- Posts
- 2
Thanks for your answer.
I have already tried the Videolan (VLC media player createors) forum but got no answer. The make file is also autogenerated with automake and autoconf so it is a bit tricky to know how to make the compiler link in the .h files or the libraries.
/fred.hild


Reply With Quote