Any guide to cross compiling Libx264 for WinCE?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
tdeepabh
New Cone
New Cone
Posts: 3
Joined: 13 Oct 2010 13:02

Any guide to cross compiling Libx264 for WinCE?

Postby tdeepabh » 13 Oct 2010 13:30

Hi,

Can any one provide steps to create libx264 library for WinCE on ubuntu ?

many search lead to cross compiling FFMPEG , but none for Libx264. Has anyone did it, i will be a great support.

thanks in adv,
Deepabh

Rémi Denis-Courmont
Developer
Developer
Posts: 15326
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Any guide to cross compiling Libx264 for WinCE?

Postby Rémi Denis-Courmont » 13 Oct 2010 17:07

It should be similar to FFmpeg. But given that WinCE does not support ARM NEON, the result will most likely be ridiculously slow and therefore useless.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

tdeepabh
New Cone
New Cone
Posts: 3
Joined: 13 Oct 2010 13:02

Re: Any guide to cross compiling Libx264 for WinCE?

Postby tdeepabh » 15 Oct 2010 12:45

I have installed Minw32ce on my system(ubuntu), and my configure looks like following

./configure --host=arm-mingw32ce --cross-prefix=/opt/mingw32ce/bin/arm-mingw32ce- --extra-cflags="-I/opt/mingw32ce/include" --extra-ldflags="-L/opt/mingw32ce/lib" --enable-shared --disable-asm

and when i run 'make', following error is reported

../../bin/arm-mingw32ce-gcc -O3 -fno-fast-math -Wall -I. -I/opt/mingw32ce/include -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/mc.o common/mc.c
common/mc.c:166: warning: alignment of 'weight_none' is greater than maximum object file alignment. Using 8
/tmp/cc8WPxAA.s: Assembler messages:
/tmp/cc8WPxAA.s:999: Error: undefined symbol `_GLOBAL_OFFSET_TABLE_' in operation
/tmp/cc8WPxAA.s:2054: Error: undefined symbol `_GLOBAL_OFFSET_TABLE_' in operation
/tmp/cc8WPxAA.s:2293: Error: undefined symbol `_GLOBAL_OFFSET_TABLE_' in operation
/tmp/cc8WPxAA.s:4948: Error: attempt to get value of unresolved symbol `L0'
/tmp/cc8WPxAA.s:4948: Error: attempt to get value of unresolved symbol `L0'
/tmp/cc8WPxAA.s:4948: Error: attempt to get value of unresolved symbol `L0'
make: *** [common/mc.o] Error 1

Can anyone tell what could be the reason for this error

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Any guide to cross compiling Libx264 for WinCE?

Postby Jean-Baptiste Kempf » 16 Oct 2010 07:29

compiling x264 ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

tdeepabh
New Cone
New Cone
Posts: 3
Joined: 13 Oct 2010 13:02

Re: Any guide to cross compiling Libx264 for WinCE?

Postby tdeepabh » 18 Oct 2010 06:43

Yes..has anyone tried cross compiling this for wince?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 38 guests