[vlc-devel] Re: - cross compile problems

Yiannis Yiakoumis gyiakoumis at hotmail.com
Thu May 11 10:55:32 CEST 2006


Thank you very much Juan Antonio,

I had all the link-problems that you mentioned in your script. I get some
extra errors with the same problem and I am searching their definitions (
they are referring to qte's QdirectPainter ). I believe that it will be
something similar.

Thanks once more,
Yiannis

>-----Original Message-----
>From: vlc-devel-bounce at videolan.org [mailto:vlc-devel-bounce at videolan.org]
>On Behalf Of Juan Antonio Martinez Navarro
>Sent: ?et??t?, 10 ?a??? 2006 1:16 µµ
>To: vlc-devel at videolan.org
>Subject: [vlc-devel] Re: - cross compile problems
>
>Hi Yiannis Yiakoumis,
>
>The problem you have is because when you use arm-linux-ar to join some
>objects into a file. Some files aren't included and you have the
>definition of the methods in that file but you don't have the
>implementation of them.
>
>To solve the problem, i make an script. The script adds those files that
>you need with arm-linux-ar.
>
>What you have to do is the next.
>
>You have to find where is the implementation of the method undefined.
>You have to go to the directory where you compile
>liblibmpeg2_a-libmpeg2.o.
>
>Remove it, and type make.
>
>You will see how it builds liblibmpeg2_a-libmpeg2.o.
>
>Copy the line where appears arm-linux-ar and add the object of the
>implementation of the method. And after that you have to type the other
>command, arm-linux-ranlib ...
>
>I send you the script I've made. I hope you find it useful.
>
>
>
>El mié, 10-05-2006 a las 13:02 +0300, Yiannis Yiakoumis escribió:
>> 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
>
>--
>Juan Antonio Martínez Navarro <juanantonio at dif.um.es>
>Departamento de Ingeniería de la Información y las Comunicaciones
>Facultad de Informática
>Universidad de Murcia
>Teléfono: +34-968-367938

-- 
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