Page 1 of 1

VLC cross compile problem

Posted: 18 Aug 2006 12:39
by virtualas
Hello,
I try to cross compile vlc 0.8.6 svn but i get this error:
/home/tuxbox/dreambox/cdk/bin/powerpc-tuxbox-linux-gnu-gcc -Wsign-compare -Wall -pipe -o vlc vlc-vlc.o src/libvlc.a ./modules/misc/dummy/libdummy.a ./modules/control/librc.a ./modules/misc/liblogger.a ./modules/misc/memcpy/libmemcpy.a ./modules/demux/mpeg/libmpga.a ./modules/demux/libps.a ./modules/demux/libts.a ./modules/codec/libmpeg_audio.a ./modules/codec/liba52.a ./modules/access/libaccess_file.a ./modules/access/libaccess_udp.a ./modules/misc/network/libipv4.a ./modules/access_output/libaccess_output_dummy.a ./modules/access_output/libaccess_output_udp.a ./modules/access_output/libaccess_output_file.a ./modules/access_output/libaccess_output_http.a ./modules/mux/mpeg/libmux_ts.a ./modules/mux/mpeg/libmux_ps.a ./modules/mux/libmux_dummy.a ./modules/packetizer/libpacketizer_mpegvideo.a ./modules/packetizer/libpacketizer_copy.a ./modules/stream_out/libstream_out_dummy.a ./modules/stream_out/libstream_out_standard.a ./modules/stream_out/libstream_out_es.a ./modules/stream_out/libstream_out_duplicate.a -L/home/tuxbox/dreambox-vlc/lib -lrt -lpthread -ldl -lm /home/tuxbox/libdvbpsi4-0.1.5/src/.libs/libdvbpsi.a
src/libvlc.a(libvlc_a-modules.o)(.text+0x5b2): In function `__module_LoadBuiltins':
: undefined reference to `vlc_entry__ts_dvbpsi'
src/libvlc.a(libvlc_a-modules.o)(.text+0x5b6): In function `__module_LoadBuiltins':
: undefined reference to `vlc_entry__ts_dvbpsi'
src/libvlc.a(libvlc_a-modules.o)(.text+0x606): In function `__module_LoadBuiltins':
: undefined reference to `vlc_entry__mux_ts_dvbpsi'
src/libvlc.a(libvlc_a-modules.o)(.text+0x60a): In function `__module_LoadBuiltins':
: undefined reference to `vlc_entry__mux_ts_dvbpsi'
src/libvlc.a(libvlc_a-modules.o)(.text+0x796): In function `__module_LoadBuiltins':
: undefined reference to `vlc_entry(...)(short)'
src/libvlc.a(libvlc_a-modules.o)(.text+0x79a): In function `__module_LoadBuiltins':
: undefined reference to `vlc_entry(...)(short)'
src/libvlc.a(libvlc_a-modules.o)(.text+0x836): In function `__module_LoadBuiltins':
: undefined reference to `vlc_entry__mpeg_system'
src/libvlc.a(libvlc_a-modules.o)(.text+0x83a): In function `__module_LoadBuiltins':
: undefined reference to `vlc_entry__mpeg_system'
src/libvlc.a(libvlc_a-modules.o)(.text+0x926): In function `__module_LoadBuiltins':
: undefined reference to `vlc_entry__demuxstream'
src/libvlc.a(libvlc_a-modules.o)(.text+0x92a): In function `__module_LoadBuiltins':
: undefined reference to `vlc_entry__demuxstream'
src/libvlc.a(libvlc_a-modules.o)(.text+0xf16): In function `__module_LoadBuiltins':
: undefined reference to `vlc_entry__satellite'
src/libvlc.a(libvlc_a-modules.o)(.text+0xf1a): In function `__module_LoadBuiltins':
: undefined reference to `vlc_entry__satellite'
./modules/control/librc.a(librc_a-rc.o)(.text+0x67c): In function `Activate':
: undefined reference to `__net_ListenTCP'
./modules/control/librc.a(librc_a-rc.o)(.text+0x904): In function `Deactivate':
: undefined reference to `net_ListenClose'
./modules/control/librc.a(librc_a-rc.o)(.text+0x34a0): In function `Volume':
: undefined reference to `__osd_Volume'
./modules/control/librc.a(librc_a-rc.o)(.text+0x3660): In function `VolumeMove':
: undefined reference to `__osd_Volume'
./modules/control/librc.a(librc_a-rc.o)(.text+0x36c4): In function `VolumeMove':
: undefined reference to `__osd_Volume'
./modules/control/librc.a(librc_a-rc.o)(.text+0x3ae8): In function `Menu':
: undefined reference to `__osd_MenuShow'
./modules/control/librc.a(librc_a-rc.o)(.text+0x3b68): In function `Menu':
: undefined reference to `__osd_MenuHide'
./modules/control/librc.a(librc_a-rc.o)(.text+0x3c4c): In function `Menu':
: undefined reference to `__osd_MenuActivate'
./modules/control/librc.a(librc_a-rc.o)(.text+0x3c74): In function `Menu':
: undefined reference to `__osd_MenuUp'
./modules/control/librc.a(librc_a-rc.o)(.text+0x3c80): In function `Menu':
: undefined reference to `__osd_MenuDown'
./modules/control/librc.a(librc_a-rc.o)(.text+0x3c8c): In function `Menu':
: undefined reference to `__osd_MenuPrev'
./modules/control/librc.a(librc_a-rc.o)(.text+0x3cdc): In function `Menu':
: undefined reference to `__osd_MenuNext'
./modules/control/librc.a(librc_a-rc.o)(.text+0x46a0): In function `Playlist':
: undefined reference to `playlist_RecursiveNodeSort'
./modules/control/librc.a(librc_a-rc.o)(.text+0x4b3c): In function `Run':
: undefined reference to `__net_Accept'
./modules/control/librc.a(librc_a-rc.o)(.text+0x54b0): In function `Run':
: undefined reference to `__update_New'
./modules/control/librc.a(librc_a-rc.o)(.text+0x54bc): In function `Run':
: undefined reference to `update_iterator_New'
./modules/control/librc.a(librc_a-rc.o)(.text+0x55d0): In function `Run':
: undefined reference to `update_Check'
./modules/control/librc.a(librc_a-rc.o)(.text+0x55dc): In function `Run':
: undefined reference to `update_iterator_Action'
./modules/control/librc.a(librc_a-rc.o)(.text+0x5604): In function `Run':
: undefined reference to `update_iterator_Action'
./modules/control/librc.a(librc_a-rc.o)(.text+0x56dc): In function `Run':
: undefined reference to `update_iterator_Delete'
./modules/control/librc.a(librc_a-rc.o)(.text+0x56e4): In function `Run':
: undefined reference to `update_Delete'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-http.o)(.text+0x554): In function `Open':
: undefined reference to `httpd_TLSHostNew'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-http.o)(.text+0x61c): In function `Open':
: undefined reference to `httpd_StreamNew'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-http.o)(.text+0x89c): In function `Open':
: undefined reference to `httpd_HostDelete'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-http.o)(.text+0x8fc): In function `Close':
: undefined reference to `httpd_StreamDelete'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-http.o)(.text+0x904): In function `Close':
: undefined reference to `httpd_HostDelete'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-http.o)(.text+0xa10): In function `Write':
: undefined reference to `httpd_StreamSend'
./modules/access_output/libaccess_output_http.a(libaccess_output_http_a-http.o)(.text+0xa64): In function `Write':
: undefined reference to `httpd_StreamHeader'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/home/tuxbox/vlc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tuxbox/vlc'
make: *** [all] Error 2

Could anyone advise me what to do. Cross compile host is i686 and target is tuxbox ppc. configure options are:
CXXCPP=/home/tuxbox/dreambox/cdk/bin/powerpc-tux
ox-linux-gnu-cpp CC=/home/tuxbox/dreambox/cdk/bin/powerpc-tuxbox-linux-gnu-gcc
PPFLAGS="-mpowerpc -mcpu=823 -msoft-float -mmultiple -mstring -I! -I/home/tuxbo
/tuxbox-cvs/driver/include" ./configure --prefix=/home/tuxbox/dreambox-vlc --di
able-dvd --disable-ffmpeg --disable-mad --disable-libmpeg2 --enable-satellite -
with-dvbpsi-tree=/home/tuxbox/libdvbpsi4-0.1.5 --disable-plugins --host="i686-l
nux-gnu" --target="powerpc-tuxbox-linux-gnu" --disable-gtk --disable-skins2 --d
sable-wxwidgets --disable-dvdnav --disable-x --disable-vcd --disable-cdda --dis
ble-libcddb --disable-libcdio --disable-opengl --disable-glx --without-x --disa
le-xvideo --disable-sdl --disable-fribidi --disable-freetype --enable-httpd --d
sable-vlm --disable-visual --disable-gui --disable-gnomevfs --disable-daap --di
able-notify --disable-dbus --disable-libxml2 --disable-hd1000v --disable-hd1000
--disable-hal --disable-xvideo --disable-activex

I lost any hope that it will be success :( Please advice me what to do.

Thanks.


P.S. Vlc will only be needed to stream dvb channels via udp protocol. Nothing else needed