[vlc-devel] Compiling for Win CE
Fredrik Hildorsson
Fredrik.Hildorsson at cc-systems.se
Mon Jul 9 12:48:16 CEST 2007
Hello.
I am trying to compile libvlc.dll for Windows CE.
I have managed to compile VLC with the lib built in but when I try to
compile the dll I get an error I don't know what to do about.
I have searched a lot but haven't been able to find any solution.
This is the error.
........
./modules/gui/wince/libwince_pic.a(libwince_pic_a-subtitles.o):subtitles
.cpp:(.text$_ZN14SubsFileDialogD1Ev[SubsFileDialog::~SubsFileDialog()]+0
x624): undefined reference to `operator delete(void*)'
./modules/gui/wince/libwince_pic.a(libwince_pic_a-subtitles.o):subtitles
.cpp:(.text$_ZN14SubsFileDialogD1Ev[SubsFileDialog::~SubsFileDialog()]+0
x648): undefined reference to `__gxx_personality_sj0'
./modules/gui/wince/libwince_pic.a(libwince_pic_a-subtitles.o):subtitles
.cpp:(.text$_ZN14SubsFileDialogD1Ev[SubsFileDialog::~SubsFileDialog()]+0
x654): undefined reference to `std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::_Rep::_S_empty_rep_storage'
./modules/gui/wince/libwince_pic.a(libwince_pic_a-subtitles.o):subtitles
.cpp:(.rdata$_ZTI14SubsFileDialog[typeinfo for SubsFileDialog]+0x0):
undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/usr/local/wince/cross-tools/lib/gcc/arm-wince-pe/4.1.0/../../../../arm-
wince-pe/lib/crt0.o(obj/ARMV4/retail/pegwmain.obj): In function
`WinMainCRTStartup':
c:\mckendric\priva:7: undefined reference to `WinMain'
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
How do I get rid of the error?
I am using 0.8.4 as the VLC-source and the latest contrib for Windows CE
and the latest crosscompiler.
I am running the compilation on Ubuntu (Dapper).
This is the content of my configure-vlc.sh file
./bootstrap &&
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" \
LDFLAGS="-L/usr/local/wince/cross-tools/lib
-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 \
--enable-shared-libvlc \
--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-wxwindows \
--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 --enable-faad
Thanks in advance.
/Fredrik Hildorsson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070709/bf3c6054/attachment.html>
-------------- next part --------------
_______________________________________________
vlc-devel mailing list
vlc-devel at videolan.org
http://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list