[vlc-devel] - cross compile problems
Yiannis Yiakoumis
gyiakoumis at hotmail.com
Wed May 10 12:02:05 CEST 2006
Hey everybody,
Once again I have problems when cross-compiling vlc for arm. It seems that some libraries do not include specific definitions, and I cannot understand why.
I get a lot of errors. I just post here one case (with file vout_synchro.h), and I hope that if that is fixed, I can go further by myself.
lib/libvlc.a(lib_libvlc_a-modules.o)(.text+0xe94): In function `__module_LoadBuiltins':
: undefined reference to `vlc_entry__opie'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x344): In function `DecodeBlock':
: undefined reference to `vout_SynchroReset'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x478): In function `DecodeBlock':
: undefined reference to `vout_SynchroReset'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x4bc): In function `DecodeBlock':
: undefined reference to `vout_SynchroNewPicture'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x4c4): In function `DecodeBlock':
: undefined reference to `vout_SynchroDecode'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x4d4): In function `DecodeBlock':
: undefined reference to `vout_SynchroEnd'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x5a8): In function `DecodeBlock':
: undefined reference to `__vout_SynchroInit'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x5b8): In function `DecodeBlock':
: undefined reference to `vout_SynchroRelease'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x6a0): In function `DecodeBlock':
: undefined reference to `vout_SynchroNewPicture'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x704): In function `DecodeBlock':
: undefined reference to `vout_SynchroChoose'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x730): In function `DecodeBlock':
: undefined reference to `vout_SynchroDecode'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x778): In function `DecodeBlock':
: undefined reference to `vout_SynchroTrash'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x7fc): In function `DecodeBlock':
: undefined reference to `vout_SynchroNewPicture'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x804): In function `DecodeBlock':
: undefined reference to `vout_SynchroDecode'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x814): In function `DecodeBlock':
: undefined reference to `vout_SynchroEnd'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x870): In function `DecodeBlock':
: undefined reference to `vout_SynchroNewPicture'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x884): In function `DecodeBlock':
: undefined reference to `vout_SynchroTrash'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x890): In function `DecodeBlock':
: undefined reference to `vout_SynchroDecode'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x98c): In function `DecodeBlock':
: undefined reference to `vout_SynchroEnd'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0x9a8): In function `DecodeBlock':
: undefined reference to `vout_SynchroDate'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0xb4c): In function `DecodeBlock':
: undefined reference to `vout_SynchroNewPicture'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0xb54): In function `DecodeBlock':
: undefined reference to `vout_SynchroDecode'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0xb64): In function `DecodeBlock':
: undefined reference to `vout_SynchroEnd'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0xb6c): In function `DecodeBlock':
: undefined reference to `vout_SynchroReset'
/modules/codec/liblibmpeg2.a(liblibmpeg2_a-libmpeg2.o)(.text+0xfc0): In function `CloseDecoder':
: undefined reference to `vout_SynchroRelease'
However, in file ./modules/codec/libmpeg2.c file vout_synchro.h is included (which file have all these definitions, in terms of VLC_EXPORT(........).
I don't have any idea what can cause this error and where to search.
Any idea would be really helpful.
Thanks a lot,
Yiannis
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list