[vlc] Re: Cross Compile VLC for mips32

Arthur Chiu arthurchiu at gmail.com
Tue Oct 11 23:55:58 CEST 2005


The mips machine is an embedded system. :(
Very weak processing power and not much memory, therefore compiling on the
x86 system is a more viable way.

I tried to compile using --disable-plugins and make everything built in, and
I don't get the seg fault anymore. However, I am getting an error saying:

[00000178] access_file access error: read failed (Bad address)

Since I was using vlc-0.8.1, I go ahead and try to compile vlc-0.8.2.
However, on the last step, I get the following errors, I suspect it's
something to do with linking, but I cannot figure out what's wrong :(

./modules/demux/mp4/libmp4.a(libmp4_a-libmp4.o)(.text+0xb2b8): In function
`MP4_ReadBox_cmov':
: undefined reference to `__stream_MemoryNew'
./modules/demux/playlist/libplaylist.a(libplaylist_a-b4s.o)(.text+0x428): In
function `Close_B4S__playlist':
: undefined reference to `xml_Delete'
./modules/demux/playlist/libplaylist.a(libplaylist_a-b4s.o)(.text+0x638): In
function `Demux':
: undefined reference to `__xml_Create'
./modules/access/libaccess_http.a(libaccess_http_a-http.o)(.text+0x3884): In
function `Connect':
: undefined reference to `tls_ClientCreate'
./modules/access/libaccess_http.a(libaccess_http_a-http.o)(.text+0x4828): In
function `Disconnect':
: undefined reference to `tls_ClientDelete'
./modules/access_filter/libaccess_filter_record.a(libaccess_filter_record_a-
record.o)(.text+0xd18): In function `Notify':
: undefined reference to `__vout_OSDMessage'
./modules/control/libtelnet.a(libtelnet_a-telnet.o)(.text+0x648): In
function `Open':
: undefined reference to `__vlm_New'
./modules/control/libtelnet.a(libtelnet_a-telnet.o)(.text+0x8e4): In
function `Close':
: undefined reference to `vlm_Delete'
./modules/control/libtelnet.a(libtelnet_a-telnet.o)(.text+0x1534): In
function `Run':
: undefined reference to `vlm_ExecuteCommand'
./modules/control/libtelnet.a(libtelnet_a-telnet.o)(.text+0x1578): In
function `Run':
: undefined reference to `vlm_MessageDelete'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x1148): In
function `Run':
: undefined reference to `vout_OSDIcon'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x1674): In
function `Run':
: undefined reference to `vout_OSDIcon'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x16e8): In
function `Run':
: undefined reference to `vout_OSDIcon'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x1748): In
function `Run':
: undefined reference to `vout_OSDIcon'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x1f04): In
function `Run':
: undefined reference to `__vout_OSDMessage'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x1f88): In
function `Run':
: undefined reference to `__vout_OSDMessage'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x2014): In
function `Run':
: undefined reference to `__vout_OSDMessage'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x218c): In
function `Run':
: undefined reference to `__vout_OSDMessage'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x2f04): In
function `DisplayPosition':
: undefined reference to `__vout_OSDMessage'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x2f48): more
undefined references to `__vout_OSDMessage'
follow./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x2ff8):
In function `DisplayPosition':
: undefined reference to `vout_OSDSlider'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x30e8): In
function `DisplayVolume':
: undefined reference to `vout_OSDSlider'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x311c): In
function `DisplayVolume':
: undefined reference to `__vout_OSDMessage'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-
http.o)(.text+0xd18): In function `Open':
: undefined reference to `tls_ServerCreate'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-
http.o)(.text+0xdf4): In function `Open':
: undefined reference to `tls_ServerDelete'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-
http.o)(.text+0xec4): In function `Open':
: undefined reference to `httpd_TLSHostNew'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-
http.o)(.text+0xf28): In function `Open':
: undefined reference to `tls_ServerDelete'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-
http.o)(.text+0x10d0): In function `Open':
: undefined reference to `httpd_StreamNew'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-
http.o)(.text+0x1190): In function `Open':
: undefined reference to `httpd_HostDelete'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-
http.o)(.text+0x12fc): In function `Close':
: undefined reference to `httpd_StreamDelete'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-
http.o)(.text+0x1314): In function `Close':
: undefined reference to `httpd_HostDelete'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-
http.o)(.text+0x14b8): In function `Write':
: undefined reference to `httpd_StreamHeader'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-
http.o)(.text+0x14d8): In function `Write':
: undefined reference to `httpd_StreamSend'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x1cd4):
In function `Close':
: undefined reference to `httpd_FileDelete'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x1cf8):
In function `Close':
: undefined reference to `httpd_HostDelete'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x1d1c):
In function `Close':
: undefined reference to `httpd_UrlDelete'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x1d40):
In function `Close':
: undefined reference to `httpd_HostDelete'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x359c):
In function `Add':
: undefined reference to `httpd_UrlNewUnique'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x35d0):
In function `Add':
: undefined reference to `httpd_UrlCatch'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x3e60):
In function `Del':
: undefined reference to `httpd_UrlDelete'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x46a8):
In function `HttpSetup':
: undefined reference to `httpd_HostNew'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x4714):
In function `HttpSetup':
: undefined reference to `httpd_FileNew'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x4de8):
In function `RtspSetup':
: undefined reference to `httpd_HostNew'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x4ee8):
In function `RtspSetup':
: undefined reference to `httpd_UrlNewUnique'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x4f20):
In function `RtspSetup':
: undefined reference to `httpd_UrlCatch'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x4f4c):
In function `RtspSetup':
: undefined reference to `httpd_UrlCatch'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x4f78):
In function `RtspSetup':
: undefined reference to `httpd_UrlCatch'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x4fa4):
In function `RtspSetup':
: undefined reference to `httpd_UrlCatch'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x516c):
In function `RtspCallback':
: undefined reference to `httpd_MsgAdd'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x51e8):
In function `RtspCallback':
: undefined reference to `httpd_MsgGet'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x5714):
In function `RtspCallback':
: undefined reference to `httpd_MsgGet'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x5d80):
In function `RtspCallback':
: undefined reference to `httpd_MsgAdd'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x5db4):
In function `RtspCallback':
: undefined reference to `httpd_MsgAdd'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x5dd8):
In function `RtspCallback':
: undefined reference to `httpd_MsgGet'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x5e24):
In function `RtspCallback':
: undefined reference to `httpd_MsgAdd'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x5e60):
In function `RtspCallback':
: undefined reference to `httpd_MsgAdd'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x5ea0):
In function `RtspCallback':
: undefined reference to `httpd_MsgAdd'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x5fbc):
In function `RtspCallbackId':
: undefined reference to `httpd_MsgGet'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x60b4):
In function `RtspCallbackId':
: undefined reference to `httpd_MsgGet'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x6168):
In function `RtspCallbackId':
: undefined reference to `httpd_MsgAdd'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x61f0):
In function `RtspCallbackId':
: undefined reference to `httpd_ClientIP'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x6264):
In function `RtspCallbackId':
: undefined reference to `httpd_MsgGet'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x65ec):
In function `RtspCallbackId':
: undefined reference to `httpd_MsgAdd'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x6660):
In function `RtspCallbackId':
: undefined reference to `httpd_MsgAdd'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x6694):
In function `RtspCallbackId':
: undefined reference to `httpd_MsgAdd'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x66bc):
In function `RtspCallbackId':
: undefined reference to `httpd_MsgGet'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x6708):
In function `RtspCallbackId':
: undefined reference to `httpd_MsgAdd'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x6744):
In function `RtspCallbackId':
: undefined reference to `httpd_MsgAdd'
./modules/stream_out/libstream_out_rtp.a(libstream_out_rtp_a-rtp.o)(.text+0x677c):
In function `RtspCallbackId':
: undefined reference to `httpd_MsgAdd'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x884): In function
`Open':
: undefined reference to `httpd_HostNew'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0xa44): In function
`Open':
: undefined reference to `httpd_HostDelete'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0xb60): In function
`Close':
: undefined reference to `httpd_HostDelete'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0xc68): In function
`MediaNew':
: undefined reference to `httpd_UrlNewUnique'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0xd84): In function
`MediaNew':
: undefined reference to `httpd_UrlCatch'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0xdb0): In function
`MediaNew':
: undefined reference to `httpd_UrlCatch'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0xddc): In function
`MediaNew':
: undefined reference to `httpd_UrlCatch'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0xe08): In function
`MediaNew':
: undefined reference to `httpd_UrlCatch'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x1264): In
function `MediaDel':
: undefined reference to `httpd_UrlDelete'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x1ab8): In
function `MediaAddES':
: undefined reference to `httpd_UrlNewUnique'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x1b78): In
function `MediaAddES':
: undefined reference to `httpd_UrlCatch'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x1ba4): In
function `MediaAddES':
: undefined reference to `httpd_UrlCatch'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x1bd0): In
function `MediaAddES':
: undefined reference to `httpd_UrlCatch'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x1c00): In
function `MediaAddES':
: undefined reference to `httpd_UrlCatch'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x25fc): In
function `MediaDelES':
: undefined reference to `httpd_UrlDelete'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x2f14): In
function `RtspCallback':
: undefined reference to `httpd_MsgAdd'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x2f90): In
function `RtspCallback':
: undefined reference to `httpd_MsgGet'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x3064): In
function `RtspCallback':
: undefined reference to `httpd_ClientIP'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x335c): In
function `RtspCallback':
: undefined reference to `httpd_MsgGet'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x3484): In
function `RtspCallback':
: undefined reference to `httpd_MsgGet'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x3570): In
function `RtspCallback':
: undefined reference to `httpd_MsgAdd'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x35a4): In
function `RtspCallback':
: undefined reference to `httpd_MsgAdd'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x35c8): In
function `RtspCallback':
: undefined reference to `httpd_MsgGet'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x3614): In
function `RtspCallback':
: undefined reference to `httpd_MsgAdd'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x3650): In
function `RtspCallback':
: undefined reference to `httpd_MsgAdd'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x3688): In
function `RtspCallback':
: undefined reference to `httpd_MsgAdd'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x37cc): In
function `RtspCallbackES':
: undefined reference to `httpd_MsgGet'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x38c4): In
function `RtspCallbackES':
: undefined reference to `httpd_MsgGet'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x3974): In
function `RtspCallbackES':
: undefined reference to `httpd_MsgAdd'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x39e8): In
function `RtspCallbackES':
: undefined reference to `httpd_ClientIP'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x3aa4): In
function `RtspCallbackES':
: undefined reference to `httpd_MsgGet'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x3cc4): In
function `RtspCallbackES':
: undefined reference to `httpd_MsgAdd'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x3d38): In
function `RtspCallbackES':
: undefined reference to `httpd_MsgGet'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x4048): In
function `RtspCallbackES':
: undefined reference to `httpd_MsgGet'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x40d0): In
function `RtspCallbackES':
: undefined reference to `httpd_MsgGet'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x4230): In
function `RtspCallbackES':
: undefined reference to `httpd_MsgGet'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x4334): In
function `RtspCallbackES':
: undefined reference to `httpd_MsgAdd'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x4368): In
function `RtspCallbackES':
: undefined reference to `httpd_MsgAdd'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x4390): In
function `RtspCallbackES':
: undefined reference to `httpd_MsgGet'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x43dc): In
function `RtspCallbackES':
: undefined reference to `httpd_MsgAdd'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x441c): In
function `RtspCallbackES':
: undefined reference to `httpd_MsgAdd'
./modules/misc/libvod_rtsp.a(libvod_rtsp_a-rtsp.o)(.text+0x445c): In
function `RtspCallbackES':
: undefined reference to `httpd_MsgAdd'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0xc04): In function
`Open':
: undefined reference to `tls_ServerCreate'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0xd50): In function
`Open':
: undefined reference to `tls_ServerDelete'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0xdd4): In function
`Open':
: undefined reference to `httpd_TLSHostNew'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x10b4): In function
`Open':
: undefined reference to `httpd_HostDelete'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x1160): In function
`Close':
: undefined reference to `vlm_Delete'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x119c): In function
`Close':
: undefined reference to `httpd_FileDelete'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x11d4): In function
`Close':
: undefined reference to `httpd_RedirectDelete'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x120c): In function
`Close':
: undefined reference to `httpd_RedirectDelete'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x12d8): In function
`Close':
: undefined reference to `httpd_HostDelete'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x1b1c): In function
`ParseDirectory':
: undefined reference to `httpd_FileNew'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x1c68): In function
`ParseDirectory':
: undefined reference to `httpd_RedirectNew'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x1d4c): In function
`ParseDirectory':
: undefined reference to `httpd_RedirectNew'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x3d0c): In function
`mvar_VlmSetNew':
: undefined reference to `vlm_ExecuteCommand'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x3da8): In function
`mvar_VlmSetNew':
: undefined reference to `vlm_ExecuteCommand'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x3fb4): In function
`mvar_VlmSetNew':
: undefined reference to `vlm_MessageDelete'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x4020): In function
`mvar_VlmSetNew':
: undefined reference to `vlm_MessageDelete'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x6114): In function
`MacroDo':
: undefined reference to `__vlm_New'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x651c): In function
`MacroDo':
: undefined reference to `vlm_ExecuteCommand'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x6630): In function
`MacroDo':
: undefined reference to `vlm_MessageDelete'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x667c): In function
`MacroDo':
: undefined reference to `__vlm_New'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x671c): In function
`MacroDo':
: undefined reference to `vlm_ExecuteCommand'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x6754): In function
`MacroDo':
: undefined reference to `__vlm_New'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x692c): In function
`MacroDo':
: undefined reference to `vlm_ExecuteCommand'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x6964): In function
`MacroDo':
: undefined reference to `__vlm_New'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x6a5c): In function
`MacroDo':
: undefined reference to `vlm_ExecuteCommand'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x6a74): In function
`MacroDo':
: undefined reference to `vlm_MessageDelete'
./modules/control/libhttp.a(libhttp_a-http.o)(.text+0x7c74): In function
`Execute':
: undefined reference to `__vlm_New'

Any help would be greatly appreciated. Thanks a lot!

Arthur



On 10/11/05, Keir Vaughan-Taylor <keirvt at optusnet.com.au> wrote:
>
>
>
> Why not compile everything on the MIPS machine. Cross compiling
> introduces a whole realm of possible problems. If you compile everything
> on the MIPs you can be sure none of the libraries have accidentally been
> compiled for another machine and anything missing would be revealed when
> you do the make. One reason for the segmentation might be that library
> code from the non MIPs machine has found its way onto the MIPS machine.
>
>
>
> At the end
>
> Arthur Chiu wrote:
>
> > Hi,
> >
> > I am currently trying to get VLC to work on a little mips32 machine
> > running linux.
> > I successfully cross-compiled it (with many hacks in between), but
> > when I run it on the mips machine, I get a seg fault:
> >
> > # ./vlc --plugin-path=/usr/lib/vlc -vvv -I -rc
> > VLC media player 0.8.2 Janus
> > [00000001] main vlc debug: checking builtin modules
> > [00000001] main vlc debug: checking plugin modules
> > [00000001] main vlc debug: loading plugins cache file
> > /root/.vlc/cache/plugins-04041e.dat
> > [00000001] main vlc debug: recursively browsing `modules'
> > [00000001] main vlc debug: recursively browsing
> > `/home/mediadev/Arthur/blackWidow/vlc-configure/usr/local/lib/vlc'
> > [00000001] main vlc debug: recursively browsing `plugins'
> > [00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
> > Segmentation fault
> >
> >
> ----------------------------------------------------------------------------------------
> > What I did to compile it:
> >
> > OBJECTIVE: I want to disable ALL video and GUI related things. Just
> > want a pure command line mp3 player.
> >
> > I first cross compiled all the dependencies that I think I'll need.
> > All the files I got from the videolan homepage (I don't dare the try
> > newer ones as I hear some new versions of these libraries might break
> > vlc):
> > - libmad
> > - zlib
> > - libogg
> > - live media
> > - libid3tag
> > - mp3lame
> > - ffmpeg (./configure --prefix=<my install path> --enable-gpl
> > --enable-pp --enable-mp3lame --cc=mipsel-linux-gcc)
> >
> > Then I go ahead and configure vlc:
> > ./configure --host=mipsel-linux
> > --prefix=/home/mediadev/Arthur/blackWidow/vlc-configure/usr/local
> > --disable-libmpeg2 --disable-dvdnav --disable-dshow --disable-smb
> > --disable-libcdio --disable-libcddb --disable-cdda --disable-vcd
> > --disable-screen --disable-png --disable-xvideo --disable--x11
> > --disable-cmml --disable-x264 --disable-glx --disable-opengl
> > --disable-sdl --disable-hd1000v --disable-directx --disable-wingdi
> > --disable-alsa --disable-waveout --disable-coreaudio --disable-hd1000a
> > --disable-skins2 --disable-wxwindows --disable-macosx --disable-visual
> > --disable-daap --disable-joystick --disable-activex
> >
> --with-mad=/home/mediadev/Arthur/blackWidow/vlc-dependencies/libmad-configure/
> > --with-ffmpeg-mp3lame --with-ffmpeg-zlib
> >
> --with-ffmpeg-tree=/home/mediadev/Arthur/blackWidow/vlc-dependencies/ffmpeg-20041113/
> >
> --with-livedotcom-tree=/home/mediadev/Arthur/blackWidow/vlc-dependencies/live
> >
> > After, I edit vlc-config to remove the x11 and freetype from the
> > plugins part ( I am having trouble compiling with those parts on)
> >
> > Then I make and make install.
> > After copying all the libraries over to the mips32 linux machine, I
> > ran it and I got that segmentation fault. :(
> >
> > What might be wrong with this? Any help will be deeply appreciated.
> > Thanks!
> >
> > Cheers,
> >
> > Arthur
>
>
> --
> This is the vlc mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://www.videolan.org/support/lists.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20051011/274ae78b/attachment.html>


More information about the vlc mailing list