Cross-Compilation 0.8.6a for Davinci

*nix specific usage questions
amareshram
Blank Cone
Blank Cone
Posts: 14
Joined: 06 Apr 2007 12:49

Cross-Compilation 0.8.6a for Davinci

Postby amareshram » 21 May 2007 11:16

I have successfully configured VLC 0.8.6a for cross compilation for TI's Davinci Platform. But compilation fails at the time of linking the various binary with following reason:

/usr/lib/libpng.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/home/amaresh/vlc-0.8.6a'
make[1]: *** [all-recursive] Error 1

I don't understand why it is picking the .so from /usr/lib. I tried to modify the LDFLAGS setting for PNG to the targets's "/usr/lib" i.e. "target/usr/lib" in vlc-config but still it gives the same error.

Can some one help me to resolve the error?

My configuration for the cross-compilation is as follows:

./bootstrap &&
PATH=$PATH:/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin: \
PATH=/opt/mv_pro_4.0/montavista/pro/bin:/opt/mv_pro_4.0/montavista/common/bin:$PATH \
PATH=/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/armv5tl-montavista-linuxeabi/bin:$PATH \
PATH=/usr/local/arm_v5t_le/contrib/freetype/bin:$PATH \
PATH=/usr/local/arm_v5t_le/contrib/fribidi/bin:$PATH \
CFLAGS="-I/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/usr/include" \
CFLAGS="$CFLAGS -I/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/include" \
CFLAGS="$CFLAGS -I/opt/mv_pro_4.0/montavista/pro/include" \
CFLAGS="$CFLAGS -I/opt/mv_pro_4.0/montavista/common/include" \
CPPFLAGS="-I/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/usr/include" \
LDFLAGS="-L/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/usr/lib" \
LDFLAGS="$LDFLAGS -L/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/lib" \
LDFLAGS="$LDFLAGS -L/opt/mv_pro_4.0/montavista/pro/lib" \
LDFLAGS="$LDFLAGS -L/opt/mv_pro_4.0/montavista/common/lib" \
CC=arm_v5t_le-gcc \
CXX=arm_v5t_le-g++ \
AR=arm_v5t_le-ar \
LD=arm_v5t_le-ld \
RANLIB=arm_v5t_le-ranlib \
STRIP=arm_v5t_le-strip \
./configure --host=i686-pc-linux-gnu --target=armv5tl-montavista-linuxeabi \
--build=armv5tl-montavista-linuxeabi --prefix=/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/usr/local/arm_v5t_le \
--with-ffmpeg-tree=/home/amaresh/vlc-lib/ffmpeg-20051126 \
--disable-sdl --disable-gtk --disable-dvdnav --disable-dvdread \
--disable-nls --disable-sout --disable-vlm --disable-wxwindows \
--disable-a52 --disable-libmpeg2 --disable-skins2 \
--disable-mad --disable-plugins --enable-optimize-memory \
--enable-fribidi --with-fribidi-config-path=/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/usr/local/arm_v5t_le/contrib/bin

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:

Postby Jean-Baptiste Kempf » 21 May 2007 11:20

Have you recompiled the contribs ?
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.

amareshram
Blank Cone
Blank Cone
Posts: 14
Joined: 06 Apr 2007 12:49

Cross-Compilation 0.8.6a for Davinci

Postby amareshram » 21 May 2007 12:18

yes. I have recompiled the contrib.

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:

Postby Jean-Baptiste Kempf » 21 May 2007 13:08

well, the thing is that you are trying to link libpng.so which is native with one crosscompiled. Have you set your lib_path correctly ? have you build png in the contribs ?
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.

amareshram
Blank Cone
Blank Cone
Posts: 14
Joined: 06 Apr 2007 12:49

Cross-Compilation 0.8.6a for Davinci

Postby amareshram » 04 Jun 2007 07:10

Hi Jean-Baptiste,

thanks for you suggestion. I have recompiled the contrib for Davinci and change the lib_path to the right folders. Now error referencing to wrong library is removed but still I am getting linking errors. Find below the error log:

**********************************
arm_v5t_le-gcc -Wsign-compare -Wall -I/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/usr/include -I/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/include -I/opt/mv_pro_4.0/montavista/pro/include -I/opt/mv_pro_4.0/montavista/common/include -pipe -o vlc vlc-vlc.o -Wl,--rpath -Wl,/home/amaresh/vlc-0.8.6a/extras/contrib/lib /opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/usr/lib/libasound.so -L/home/amaresh/vlc-0.8.6a/extras/contrib/lib src/libvlc.a ./modules/codec/ffmpeg/libffmp
eg.a ./modules/misc/dummy/libdummy.a ./modules/misc/liblogger.a ./modules/misc/memcpy/libmemcpy.a ./modules/demux/mpeg/libmpgv.a ./modules/demux/mpeg/libmpga.a ./modules/demux/mpeg/libm4v.a ./modules/demux/mpeg/libm4a.a ./modules/demux/mpeg/libh264.a ./modules/demux/libps.a ./modules/demux/libpva.a ./modules/demux/avi/libavi.a ./modules/demux/asf/libasf.a ./modules/demux/mp4/libmp4.a ./modules/demux/librawdv.a ./modules/demux/libnsv.a ./modules/demux/libreal.a ./modules/demux/libaiff.a ./modules
/demux/libmjpeg.a ./modules/demux/libdemuxdump.a ./modules/demux/libflac.a ./modules/demux/libtta.a ./modules/codec/libcvdsub.a ./modules/codec/libsvcdsub.a ./modules/codec/spudec/libspudec.a ./modules/codec/libsubsdec.a ./modules/codec/libdvbsub.a ./modules/codec/libmpeg_audio.a ./modules/codec/liblpcm.a ./modules/codec/liba52.a ./modules/codec/libdts.a ./modules/codec/libcinepak.a ./modules/codec/libflacdec.a ./modules/video_filter/libdeinterlace.a ./modules/video_filter/libinvert.a ./modules/
video_filter/libadjust.a ./modules/video_filter/libtransform.a ./modules/video_filter/libdistort.a ./modules/video_filter/libmotionblur.a ./modules/video_filter/librv32.a ./modules/audio_filter/converter/libfixed32tos16.a ./modules/audio_filter/converter/libs16tofixed32.a ./modules/audio_filter/converter/libu8tofixed32.a ./modules/audio_filter/resampler/libtrivial_resampler.a ./modules/audio_filter/resampler/libugly_resampler.a ./modules/audio_filter/channel_mixer/libtrivial_channel_mixer.a ./mo
dules/audio_mixer/libtrivial_mixer.a ./modules/demux/playlist/libplaylist.a ./modules/misc/playlist/libexport.a ./modules/demux/libsgimb.a ./modules/demux/libm3u.a ./modules/demux/libnsc.a ./modules/misc/xml/libxtag.a ./modules/video_chroma/libi420_rgb.a ./modules/codec/librawvideo.a ./modules/video_filter/libblend.a ./modules/video_filter/libscale.a ./modules/video_output/libimage.a ./modules/video_filter/liblogo.a ./modules/video_filter/libmagnify.a ./modules/demux/libwav.a ./modules/codec/lib
araw.a ./modules/demux/libsubtitle.a ./modules/demux/libvobsub.a ./modules/codec/libadpcm.a ./modules/demux/liba52sys.a ./modules/demux/libdtssys.a ./modules/demux/libau.a ./modules/demux/libty.a ./modules/demux/libvoc.a ./modules/demux/libxa.a ./modules/demux/libnuv.a ./modules/access/libaccess_directory.a ./modules/access/libaccess_file.a ./modules/access/libaccess_udp.a ./modules/access/libaccess_tcp.a ./modules/access/libaccess_http.a ./modules/access/mms/libaccess_mms.a ./modules/access/lib
access_ftp.a ./modules/misc/network/libipv4.a ./modules/packetizer/libpacketizer_mpegvideo.a ./modules/packetizer/libpacketizer_h264.a ./modules/packetizer/libpacketizer_mpeg4video.a ./modules/packetizer/libpacketizer_mpeg4audio.a ./modules/access/libaccess_fake.a ./modules/access_filter/libaccess_filter_timeshift.a ./modules/access_filter/libaccess_filter_record.a ./modules/access_filter/libaccess_filter_dump.a ./modules/control/libgestures.a ./modules/control/librc.a ./modules/control/libtelne
t.a ./modules/control/libhotkeys.a ./modules/control/libnetsync.a ./modules/control/libshowintf.a ./modules/video_filter/libtime.a ./modules/video_filter/libmarq.a ./modules/services_discovery/libpodcast.a ./modules/services_discovery/libshout.a ./modules/services_discovery/libsap.a ./modules/codec/libfake.a ./modules/video_filter/librss.a ./modules/video_filter/libmosaic.a ./modules/video_filter/libwall.a ./modules/video_filter/libmotiondetect.a ./modules/video_filter/libclone.a ./modules/video
_filter/libcrop.a ./modules/video_chroma/libi420_yuy2.a ./modules/video_chroma/libi422_yuy2.a ./modules/video_chroma/libi420_ymga.a ./modules/audio_output/libaout_file.a ./modules/audio_filter/resampler/liblinear_resampler.a ./modules/audio_filter/resampler/libbandlimited_resampler.a ./modules/audio_mixer/libfloat32_mixer.a ./modules/audio_mixer/libspdif_mixer.a ./modules/audio_filter/channel_mixer/libsimple_channel_mixer.a ./modules/audio_filter/channel_mixer/libdolby_surround_decoder.a ./modul
es/audio_filter/channel_mixer/libheadphone_channel_mixer.a ./modules/audio_filter/libnormvol.a ./modules/audio_filter/libequalizer.a ./modules/audio_filter/libparam_eq.a ./modules/audio_filter/converter/libfixed32tofloat32.a ./modules/audio_filter/converter/libfloat32tos16.a ./modules/audio_filter/converter/libfloat32tos8.a ./modules/audio_filter/converter/libfloat32tou16.a ./modules/audio_filter/converter/libfloat32tou8.a ./modules/audio_filter/converter/liba52tospdif.a ./modules/audio_filter/c
onverter/libdtstospdif.a ./modules/audio_filter/converter/libs16tofloat32.a ./modules/audio_filter/converter/libs16tofloat32swab.a ./modules/audio_filter/converter/libs8tofloat32.a ./modules/audio_filter/converter/libu8tofloat32.a ./modules/audio_filter/libaudio_format.a ./modules/misc/libscreensaver.a ./modules/control/http/libhttp.a ./modules/misc/libgrowl.a ./modules/access/vcd/libvcd.a ./modules/access/libcdda.a ./modules/access/screen/libscreen.a ./modules/misc/network/libipv6.a ./modules/c
odec/libpng.a ./modules/video_filter/libosdmenu.a ./modules/codec/cmml/libcmml.a ./modules/video_output/x11/libx11.a ./modules/video_output/x11/libxvideo.a ./modules/misc/libfreetype.a ./modules/misc/xml/libxml.a ./modules/video_output/libfb.a ./modules/audio_output/liboss.a ./modules/audio_output/libalsa.a ./modules/visualization/visual/libvisual.a ./modules/misc/libgnutls.a -L/home/amaresh/arm_v5t/lib -lrt -lpthread /home/amaresh/vlc-0.8.6a/extras/contrib/lib/libiconv.so -L/opt/mv_pro_4.0/mont
avista/pro/devkit/arm/v5t_le/target/usr/lib -L/home/amaresh/vlc-lib/ffmpeg-20051126/libavformat /home/amaresh/vlc-lib/ffmpeg-20051126/libavformat/libavformat.a -L/home/amaresh/vlc-lib/ffmpeg-20051126/libavcodec /home/amaresh/vlc-lib/ffmpeg-20051126/libavcodec/libavcodec.a -L/home/amaresh/vlc-lib/ffmpeg-20051126/libavutil /home/amaresh/vlc-lib/ffmpeg-20051126/libavutil/libavutil.a -lsysfs /home/amaresh/vlc-0.8.6a/extras/contrib/lib/libpng12.so -lXxf86vm -lSM -lICE -lX11 -lXext -lXv /home/amaresh/
vlc-0.8.6a/extras/contrib/lib/libfribidi.so -L/opt/mv_pro_4.0/montavista/common/lib /home/amaresh/vlc-0.8.6a/extras/contrib/lib/libfreetype.so /home/amaresh/vlc-0.8.6a/extras/contrib/lib/libxml2.so -ldl -lm /home/amaresh/vlc-0.8.6a/extras/contrib/lib/libgnutls.so -lz /home/amaresh/vlc-0.8.6a/extras/contrib/lib/libgcrypt.so -lnsl /home/amaresh/vlc-0.8.6a/extras/contrib/lib/libgpg-error.so -Wl,--rpath -Wl,/home/amaresh/vlc-0.8.6a/extras/contrib/lib

./modules/demux/mp4/libmp4.a(libmp4_a-libmp4.o)(.text+0xbb04): In function `MP4_ReadBox_cmov':
libmp4.c: undefined reference to `__stream_MemoryNew'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x1914): In function `DoShuffle':
drms.c: undefined reference to `InitMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x1d38):drms.c: undefined reference to `AddMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x1d58):drms.c: undefined reference to `EndMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x226c):drms.c: undefined reference to `AddMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x2284):drms.c: undefined reference to `AddMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x3e50): In function `drms_init':
drms.c: undefined reference to `InitMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x3e6c):drms.c: undefined reference to `AddMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x3e7c):drms.c: undefined reference to `AddMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x3e84):drms.c: undefined reference to `EndMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x4104):drms.c: undefined reference to `InitMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x4114):drms.c: undefined reference to `AddMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x4138):drms.c: undefined reference to `AddMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x4148):drms.c: undefined reference to `AddMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x4158):drms.c: undefined reference to `AddMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x416c):drms.c: undefined reference to `AddMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x4174):drms.c: undefined reference to `EndMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x4334):drms.c: undefined reference to `InitMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x4344):drms.c: undefined reference to `AddMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x4354):drms.c: undefined reference to `AddMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x435c):drms.c: undefined reference to `EndMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x483c):drms.c: undefined reference to `AddMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x484c):drms.c: undefined reference to `AddMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x486c):drms.c: undefined reference to `InitMD5'
./modules/demux/mp4/libmp4.a(libmp4_a-drms.o)(.text+0x4874):drms.c: undefined reference to `EndMD5'
./modules/demux/playlist/libplaylist.a(libplaylist_a-b4s.o)(.text+0x1f4): In function `Close_B4S__playlist':
b4s.c: undefined reference to `xml_Delete'
./modules/demux/playlist/libplaylist.a(libplaylist_a-b4s.o)(.text+0x2ac): In function `Demux':
b4s.c: undefined reference to `__xml_Create'
./modules/demux/playlist/libplaylist.a(libplaylist_a-podcast.o)(.text+0x180): In function `Close_podcast__playlist':
podcast.c: undefined reference to `xml_Delete'
./modules/demux/playlist/libplaylist.a(libplaylist_a-podcast.o)(.text+0x22c): In function `Demux':
podcast.c: undefined reference to `__xml_Create'
./modules/demux/playlist/libplaylist.a(libplaylist_a-xspf.o)(.text+0x134): In function `xspf_import_Demux':
xspf.c: undefined reference to `__xml_Create'
./modules/demux/playlist/libplaylist.a(libplaylist_a-xspf.o)(.text+0x1b8):xspf.c: undefined reference to `xml_Delete'
./modules/demux/playlist/libplaylist.a(libplaylist_a-xspf.o)(.text+0x938): In function `set_item_info':
xspf.c: undefined reference to `resolve_xml_special_chars'
./modules/demux/playlist/libplaylist.a(libplaylist_a-xspf.o)(.text+0xf3c): In function `parse_tracklist_node':
xspf.c: undefined reference to `decode_URI_duplicate'
./modules/demux/playlist/libplaylist.a(libplaylist_a-shoutcast.o)(.text+0x194): In function `Close_Shoutcast__playlist':
shoutcast.c: undefined reference to `xml_Delete'
./modules/demux/playlist/libplaylist.a(libplaylist_a-shoutcast.o)(.text+0x204): In function `Demux':
shoutcast.c: undefined reference to `__xml_Create'
./modules/misc/playlist/libexport.a(libexport_a-xspf.o)(.text+0x238): In function `xspf_export_item':
xspf.c: undefined reference to `convert_xml_special_chars'
./modules/misc/playlist/libexport.a(libexport_a-xspf.o)(.text+0x280):xspf.c: undefined reference to `convert_xml_special_chars'
./modules/misc/playlist/libexport.a(libexport_a-xspf.o)(.text+0x3f8):xspf.c: undefined reference to `convert_xml_special_chars'
./modules/misc/playlist/libexport.a(libexport_a-xspf.o)(.text+0x6c4): In function `xspf_export_playlist__export':
xspf.c: undefined reference to `convert_xml_special_chars'
./modules/misc/playlist/libexport.a(libexport_a-xspf.o)(.text+0x70c):xspf.c: undefined reference to `convert_xml_special_chars'
./modules/access/libaccess_tcp.a(libaccess_tcp_a-tcp.o)(.text+0x30c): In function `Open':
tcp.c: undefined reference to `__net_ConnectTCP'
./modules/access/libaccess_http.a(libaccess_http_a-http.o)(.text+0x8d0): In function `Close':
http.c: undefined reference to `tls_ClientDelete'
./modules/access/libaccess_http.a(libaccess_http_a-http.o)(.text+0xeec): In function `Request':
http.c: undefined reference to `tls_ClientDelete'
./modules/access/libaccess_http.a(libaccess_http_a-http.o)(.text+0x17ac): In function `Connect':
http.c: undefined reference to `__net_ConnectTCP'
./modules/access/libaccess_http.a(libaccess_http_a-http.o)(.text+0x18c8):http.c: undefined reference to `tls_ClientCreate'
./modules/access/libaccess_http.a(libaccess_http_a-http.o)(.text+0x1988):http.c: undefined reference to `tls_ClientDelete'
./modules/access/libaccess_http.a(libaccess_http_a-http.o)(.text+0x1f4c): In function `Open':
http.c: undefined reference to `tls_ClientDelete'
./modules/access/libaccess_http.a(libaccess_http_a-http.o)(.text+0x2b20):http.c: undefined reference to `tls_ClientDelete'
./modules/access/libaccess_http.a(libaccess_http_a-http.o)(.text+0x2d90): In function `Seek':
http.c: undefined reference to `tls_ClientDelete'
./modules/access/libaccess_http.a(libaccess_http_a-http.o)(.text+0x3344): In function `Read':
http.c: undefined reference to `tls_ClientDelete'
./modules/access/mms/libaccess_mms.a(libaccess_mms_a-mmsh.o)(.text+0x1d8): In function `Start':
mmsh.c: undefined reference to `__net_ConnectTCP'
./modules/access/mms/libaccess_mms.a(libaccess_mms_a-mmsh.o)(.text+0xb54): In function `Describe':
mmsh.c: undefined reference to `__net_ConnectTCP'
./modules/access/mms/libaccess_mms.a(libaccess_mms_a-mmstu.o)(.text+0x1bb8): In function `MMSOpen':
mmstu.c: undefined reference to `__net_ConnectTCP'
./modules/access/libaccess_ftp.a(libaccess_ftp_a-ftp.o)(.text+0x9a0): In function `Connect':
ftp.c: undefined reference to `__net_ConnectTCP'
./modules/access/libaccess_ftp.a(libaccess_ftp_a-ftp.o)(.text+0x10c8): In function `ftp_StartStream':
ftp.c: undefined reference to `__net_ConnectTCP'
./modules/control/librc.a(librc_a-rc.o)(.text+0x79c): In function `Activate':
rc.c: undefined reference to `__net_ListenTCP'
./modules/control/librc.a(librc_a-rc.o)(.text+0xb38): In function `Deactivate':
rc.c: undefined reference to `net_ListenClose'
./modules/control/librc.a(librc_a-rc.o)(.text+0x2e80): In function `Volume':
rc.c: undefined reference to `__osd_Volume'
./modules/control/librc.a(librc_a-rc.o)(.text+0x3040): In function `VolumeMove':
rc.c: undefined reference to `__osd_Volume'
./modules/control/librc.a(librc_a-rc.o)(.text+0x3098):rc.c: undefined reference to `__osd_Volume'
./modules/control/librc.a(librc_a-rc.o)(.text+0x3870): In function `Menu':
rc.c: undefined reference to `__osd_MenuShow'
./modules/control/librc.a(librc_a-rc.o)(.text+0x38cc):rc.c: undefined reference to `__osd_MenuHide'
./modules/control/librc.a(librc_a-rc.o)(.text+0x3998):rc.c: undefined reference to `__osd_MenuActivate'
./modules/control/librc.a(librc_a-rc.o)(.text+0x39cc):rc.c: undefined reference to `__osd_MenuUp'
./modules/control/librc.a(librc_a-rc.o)(.text+0x39d8):rc.c: undefined reference to `__osd_MenuDown'
./modules/control/librc.a(librc_a-rc.o)(.text+0x39e4):rc.c: undefined reference to `__osd_MenuPrev'
./modules/control/librc.a(librc_a-rc.o)(.text+0x3a24):rc.c: undefined reference to `__osd_MenuNext'
./modules/control/librc.a(librc_a-rc.o)(.text+0x45b8): In function `checkUpdates':
rc.c: undefined reference to `__update_New'
./modules/control/librc.a(librc_a-rc.o)(.text+0x45c4):rc.c: undefined reference to `update_iterator_New'
./modules/control/librc.a(librc_a-rc.o)(.text+0x46d0):rc.c: undefined reference to `update_Check'
./modules/control/librc.a(librc_a-rc.o)(.text+0x46dc):rc.c: undefined reference to `update_iterator_Action'
./modules/control/librc.a(librc_a-rc.o)(.text+0x4704):rc.c: undefined reference to `update_iterator_Action'
./modules/control/librc.a(librc_a-rc.o)(.text+0x48d4):rc.c: undefined reference to `update_iterator_Action'
./modules/control/librc.a(librc_a-rc.o)(.text+0x48f4):rc.c: undefined reference to `update_iterator_Delete'
./modules/control/librc.a(librc_a-rc.o)(.text+0x48fc):rc.c: undefined reference to `update_Delete'
./modules/control/librc.a(librc_a-rc.o)(.text+0x4d44): In function `Run':
rc.c: undefined reference to `__net_Accept'
./modules/control/libtelnet.a(libtelnet_a-telnet.o)(.text+0x3c8): In function `Open':
telnet.c: undefined reference to `__vlm_New'
./modules/control/libtelnet.a(libtelnet_a-telnet.o)(.text+0x59c):telnet.c: undefined reference to `__net_ListenTCP'
./modules/control/libtelnet.a(libtelnet_a-telnet.o)(.text+0x818): In function `Close':
telnet.c: undefined reference to `net_ListenClose'
./modules/control/libtelnet.a(libtelnet_a-telnet.o)(.text+0x820):telnet.c: undefined reference to `vlm_Delete'
./modules/control/libtelnet.a(libtelnet_a-telnet.o)(.text+0xbdc): In function `Run':
telnet.c: undefined reference to `__net_Accept'
./modules/control/libtelnet.a(libtelnet_a-telnet.o)(.text+0x1770):telnet.c: undefined reference to `vlm_ExecuteCommand'
./modules/control/libtelnet.a(libtelnet_a-telnet.o)(.text+0x17c4):telnet.c: undefined reference to `vlm_MessageDelete'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x6d0): In function `DisplayPosition':
hotkeys.c: undefined reference to `vout_OSDSlider'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x1164): In function `Run':
hotkeys.c: undefined reference to `vout_OSDSlider'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x1410):hotkeys.c: undefined reference to `vout_OSDIcon'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x14dc):hotkeys.c: undefined reference to `vout_OSDIcon'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x16f0):hotkeys.c: undefined reference to `vout_OSDIcon'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x1708):hotkeys.c: undefined reference to `vout_OSDIcon'
./modules/control/libhotkeys.a(libhotkeys_a-hotkeys.o)(.text+0x2194):hotkeys.c: undefined reference to `vout_OSDIcon'
./modules/video_filter/librss.a(librss_a-rss.o)(.text+0xf5c): In function `FetchRSS':
rss.c: undefined reference to `__xml_Create'
./modules/video_filter/librss.a(librss_a-rss.o)(.text+0x15b8):rss.c: undefined reference to `xml_Delete'
./modules/control/http/libhttp.a(libhttp_a-http.o)(.text+0xb38): In function `Open':
http.c: undefined reference to `httpd_TLSHostNew'
./modules/control/http/libhttp.a(libhttp_a-http.o)(.text+0xc30):http.c: undefined reference to `httpd_HostDelete'
./modules/control/http/libhttp.a(libhttp_a-http.o)(.text+0x1030): In function `Close':
http.c: undefined reference to `httpd_HandlerDelete'
./modules/control/http/libhttp.a(libhttp_a-http.o)(.text+0x1114):http.c: undefined reference to `httpd_HostDelete'
./modules/control/http/libhttp.a(libhttp_a-http.o)(.text+0x115c):http.c: undefined reference to `httpd_FileDelete'
./modules/control/http/libhttp.a(libhttp_a-http.o)(.text+0x1174):http.c: undefined reference to `httpd_RedirectDelete'
./modules/control/http/libhttp.a(libhttp_a-http.o)(.text+0x118c):http.c: undefined reference to `httpd_RedirectDelete'
./modules/control/http/libhttp.a(libhttp_a-http.o)(.text+0x11a0):http.c: undefined reference to `vlm_Delete'
./modules/control/http/libhttp.a(libhttp_a-rpn.o)(.text+0x14f8): In function `EvaluateRPN__http':
rpn.c: undefined reference to `__vlm_New'
./modules/control/http/libhttp.a(libhttp_a-rpn.o)(.text+0x1828):rpn.c: undefined reference to `vlm_ExecuteCommand'
./modules/control/http/libhttp.a(libhttp_a-rpn.o)(.text+0x187c):rpn.c: undefined reference to `vlm_MessageDelete'
./modules/control/http/libhttp.a(libhttp_a-rpn.o)(.text+0x2608):rpn.c: undefined reference to `convert_xml_special_chars'
./modules/control/http/libhttp.a(libhttp_a-rpn.o)(.text+0x2738):rpn.c: undefined reference to `encode_URI_component'
./modules/control/http/libhttp.a(libhttp_a-rpn.o)(.text+0x2788):rpn.c: undefined reference to `decode_URI'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x924): In function `MacroDo__http':
macro.c: undefined reference to `decode_URI'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0xf70):macro.c: undefined reference to `vlm_ExecuteCommand'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0xf78):macro.c: undefined reference to `vlm_MessageDelete'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x1008):macro.c: undefined reference to `decode_URI'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x106c):macro.c: undefined reference to `decode_URI'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x113c):macro.c: undefined reference to `decode_URI'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x1190):macro.c: undefined reference to `decode_URI'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x11e4):macro.c: undefined reference to `decode_URI'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x1240):macro.c: undefined reference to `vlm_ExecuteCommand'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x127c):macro.c: undefined reference to `vlm_MessageDelete'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x14f4):macro.c: undefined reference to `decode_URI'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x151c):macro.c: undefined reference to `decode_URI'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x15d8):macro.c: undefined reference to `decode_URI'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x2338):macro.c: undefined reference to `__vlm_New'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x2358):macro.c: undefined reference to `__vlm_New'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x2378):macro.c: undefined reference to `__vlm_New'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x23d4):macro.c: undefined reference to `__vlm_New'
./modules/control/http/libhttp.a(libhttp_a-macro.o)(.text+0x3040): In function `Execute__http':
macro.c: undefined reference to `__vlm_New'
./modules/control/http/libhttp.a(libhttp_a-mvar.o)(.text+0x16b8): In function `mvar_VlmSetNew__http':
mvar.c: undefined reference to `vlm_ExecuteCommand'
./modules/control/http/libhttp.a(libhttp_a-mvar.o)(.text+0x1764):mvar.c: undefined reference to `vlm_ExecuteCommand'
./modules/control/http/libhttp.a(libhttp_a-mvar.o)(.text+0x1798):mvar.c: undefined reference to `vlm_MessageDelete'
./modules/control/http/libhttp.a(libhttp_a-mvar.o)(.text+0x17cc):mvar.c: undefined reference to `vlm_MessageDelete'
./modules/control/http/libhttp.a(libhttp_a-util.o)(.text+0x528): In function `ParseDirectory__http':
util.c: undefined reference to `__ACL_Create'
./modules/control/http/libhttp.a(libhttp_a-util.o)(.text+0x534):util.c: undefined reference to `ACL_LoadFile'
./modules/control/http/libhttp.a(libhttp_a-util.o)(.text+0x84c):util.c: undefined reference to `httpd_FileNew'
./modules/control/http/libhttp.a(libhttp_a-util.o)(.text+0x908):util.c: undefined reference to `httpd_RedirectNew'
./modules/control/http/libhttp.a(libhttp_a-util.o)(.text+0x98c):util.c: undefined reference to `httpd_RedirectNew'
./modules/control/http/libhttp.a(libhttp_a-util.o)(.text+0xae4):util.c: undefined reference to `ACL_Destroy'
./modules/control/http/libhttp.a(libhttp_a-util.o)(.text+0xb44):util.c: undefined reference to `httpd_HandlerNew'
./modules/control/http/libhttp.a(libhttp_a-util.o)(.text+0xb90):util.c: undefined reference to `ACL_Destroy'
./modules/misc/libgrowl.a(libgrowl_a-growl.o)(.text+0x444): In function `CheckAndSend':
growl.c: undefined reference to `InitMD5'
./modules/misc/libgrowl.a(libgrowl_a-growl.o)(.text+0x454):growl.c: undefined reference to `AddMD5'
./modules/misc/libgrowl.a(libgrowl_a-growl.o)(.text+0x45c):growl.c: undefined reference to `EndMD5'
./modules/video_filter/libosdmenu.a(libosdmenu_a-osdmenu.o)(.text+0x770): In function `CreateFilter':
osdmenu.c: undefined reference to `__osd_MenuCreate'
./modules/video_filter/libosdmenu.a(libosdmenu_a-osdmenu.o)(.text+0x918):osdmenu.c: undefined reference to `__osd_MenuDelete'
./modules/video_filter/libosdmenu.a(libosdmenu_a-osdmenu.o)(.text+0xa60): In function `DestroyFilter':
osdmenu.c: undefined reference to `__osd_MenuDelete'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/home/amaresh/vlc-0.8.6a'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/amaresh/vlc-0.8.6a'
make: *** [all] Error 2
[amaresh@localhost vlc-0.8.6a]$

**********************************

my understanding of the error log is that these missing function/macros should be available in libvlc.a and I observed that corresponding files for these funcitons are compiled too.

so can you help me to resolve the error?

rgds/Amaresh

X-h
Blank Cone
Blank Cone
Posts: 25
Joined: 07 Sep 2007 10:52

Re: Cross-Compilation 0.8.6a for Davinci

Postby X-h » 07 Sep 2007 10:59

Hi amareshram,
I'm trying to cross compil vlc for the mx31.
I have the same linkage problem than you (undefined reference to addMD5)
Did you find the solution or did you give up ?


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 12 guests