LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-25-2005, 08:12 AM   #1
mwales
LQ Newbie
 
Registered: Jan 2005
Location: Grant, FL
Distribution: Mandrake 10 and FC4-64
Posts: 19

Rep: Reputation: 0
Compiling MPlayer 32bit on Fedora 4 64bit


I've successfully been able to compile MPlayer as a 64bit application, but I'm having some trouble creating a 32bit one.

This is the command line I'm using to try to configure it:

./configure --enable-gui --cc="gcc32 -m32" --as="as --32" --target=athlon_xp --with-extralibdir=/usr/lib

At first it compained that I didn't have X11 support, so I installed the X11 development packages by doing this:

yum install xorg-x11-devel*

Now I'm having a problem with libpng. Thinking that libpng wasn't installed, I saw that yum had some packages available so I:

yum install libpng* (or something close to that, can't remember 100%)

So here is my configure output now:



Code:
[root@localhost MPlayer-1.0pre7]# ./configure --enable-gui --cc="gcc32 -m32" --as="as --32" --target=athlon_xp --with-extralibdir=/usr/lib
Detected operating system: athlon_xp
Detected host architecture: athlon-xp
Checking for gcc32 -m32 version ... 3.2.3, ok
Checking for host cc ... gcc32 -m32
Checking for CPU vendor ... AuthenticAMD (15:12:0)
Checking for CPU type ...  AMD Athlon(tm) 64 Processor 3200+
Checking for GCC & CPU optimization abilities ... athlon-xp
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of 3dnow ... yes
Checking for kernel support of 3dnowex ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for mtrr support ... yes
Checking for assembler support of -pipe option ... yes
Checking for assembler (as --32 2.15.94.0.2.2) ... ok
Checking for mplayer binary name ... mplayer
Checking for awk ... gawk
Checking for extra headers ... none
Checking for extra libs ... -L/usr/lib
Checking for -lposix ... no
Checking for -lm ... yes
Checking for i18n ... yes
Checking for iconv ... yes
Checking for langinfo ... yes
Checking for language ... using en (man pages:  en)
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lnsl)
Checking for inet_pton() ... yes (using -lnsl)
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for word size ... 32
Checking for stddef.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for sys/soundcard.h ... yes
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for BSDI dvd.h ... no
Checking for HPUX SCSI header ... no
Checking for userspace SCSI headers (Solaris) ... no
Checking for termcap ... no
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for strlcpy() ... no
Checking for strlcat() ... no
Checking for fseeko() ... yes
Checking for localtime_r() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for posix select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Mac OS X APIs ... no
Checking for Mac OS X Finder Support ... no
Checking for Mac OS X Bundle file locations ... no
Checking for Samba support (libsmbclient) ... yes
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for tdfxvid ... no
Checking for tga ... yes
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/X11R6/include)
Checking for X11 libs presence ... yes (using /usr/X11R6/lib)
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for XvMC ... no
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for XF86keysym ... yes
Checking for DGA ... yes (using DGA 2.0)
Checking for OpenGL ... yes
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... no
Checking for DVB ... no (specify path to DVB/ost/include with --with-dvbincdir=DIR)
Checking for DVB HEAD ... yes
Checking for PNG support ... no
Checking for JPEG support ... no
Checking for PNM support ... yes
Checking for md5sum support ... yes
Checking for GIF support ... no
Checking for VESA support ... no (not supported on this OS/architecture)
Checking for SDL ... no
Checking for Windows waveout ... no
Checking for Directx ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for libfame ... no
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... no
Checking for Polyp ... no
Checking for JACK ... no
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for Sun mediaLib ... no
Checking for SGI audio ... no
Checking for VCD support ... not supported on this OS
Checking for DVD support (libmpdvdkit) ... no
Checking for DVD support (libdvdread) ... no
Checking for cdparanoia ... yes
Checking for freetype >= 2.0.9 ... no
Checking for fontconfig ... no
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... no
Checking for mad support ... no
Checking for Toolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for OggTheora support (only the CVS version!) ... no
Checking for mp3lib support ... yes
Checking for liba52 support ... yes
Checking for libdts support ... no
Checking for libmpeg2 support ... yes
Checking for Matroska support ... yes
Checking for internal FAAD2 (AAC) support ... yes
Checking for external FAAD2 (AAC) support ... no
Checking for LADSPA plugin support ... no
Checking for Win32 codec DLL support ... yes (using /usr/local/lib/codecs)
Checking for Win32 loader support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... yes (using /usr/local/lib/codecs)
Checking for RealPlayer DLL ... no (tested only on Linux/FreeBSD/NetBSD/Cygwin/MinGW/Darwin)
Checking for LIVE.COM Streaming Media libraries ... no
Checking for FFmpeg libavcodec (static) ... yes
Checking for FFmpeg libavformat (static) ... yes
Checking for amr narrowband ... no
Checking for amr narrowband, fixed point ... no
Checking for amr wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for x264 ... no
Checking for DivX4linux/DivX5linux/OpenDivX decore ... no
Checking for libmp3lame (for mencoder) ... no
Checking for DivX4linux encore (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for EDL support ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... no
Checking for Video 4 Linux 2 TV interface ... no
Checking for audio select() ... yes
Checking for network ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for byte order ... little-endian
Checking for shared postprocess lib ... no
Checking for OSD menu ... no
Checking for QTX codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... yes

Error: PNG support required for GUI compilation, please install libpng and libpng-dev packages.

Check "configure.log" if you do not understand why it failed.
[root@localhost MPlayer-1.0pre7]#
Here is what is in configure.log about libpng:

Code:
============ Checking for PNG support ============

#include <png.h>
#include <string.h>
int main(void) {
  printf("png.h : %s\n", PNG_LIBPNG_VER_STRING);
  printf("libpng: %s\n", png_libpng_ver);
  return (strcmp(PNG_LIBPNG_VER_STRING, png_libpng_ver));
}

gcc32 -m32    -L/usr/lib /tmp/mplayer-conf-28919-11005.c -o /tmp/mplayer-conf-1$
/usr/bin/ld: skipping incompatible /usr/lib64/libpng.so when searching for -lpng
/usr/bin/ld: skipping incompatible /usr/lib64/libpng.a when searching for -lpng
/usr/bin/ld: cannot find -lpng
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-10475-11005.o
ldd: /tmp/mplayer-conf-10475-11005.o: No such file or directory

Result is: no
##########################################
And finally, I think I do have 32-bit libpng installed:

Code:
[root@localhost MPlayer-1.0pre7]# ls /usr/lib/libpng*
/usr/lib/libpng12.so.0        /usr/lib/libpng.so.2.1.0.18
/usr/lib/libpng12.so.0.1.2.8  /usr/lib/libpng.so.3
/usr/lib/libpng.so.2          /usr/lib/libpng.so.3.1.2.8
[root@localhost MPlayer-1.0pre7]#
Any help would be greatly appreciated.
 
Old 08-26-2005, 06:46 AM   #2
mwales
LQ Newbie
 
Registered: Jan 2005
Location: Grant, FL
Distribution: Mandrake 10 and FC4-64
Posts: 19

Original Poster
Rep: Reputation: 0
I've gotten past that step. I compared my Fedora setup to what I have on my 32-bit Mandrake system.

It looks like MPlayer needed a libpng.so file in the /usr/lib directory. On my Mandrake system it was just a link to another file.

So I did the following: ln libpng.so.3.1.2.8 libpng.so

There were a couple more files dealign with gtk like that too that I had to make links for. I'm not really sure if this is the best course of action though. I'm worried that there are more files that need this for the libpng stuff, besides just the one, and I'm just making a mess.

Anyways, I can get configure to complete, but now make fails:

Code:
/usr/bin/ld: skipping incompatible /usr/lib64/libpng.so when searching for -lpng
/usr/bin/ld: skipping incompatible /usr/lib64/libpng.a when searching for -lpng
/usr/bin/ld: skipping incompatible /usr/lib64/libpng.so when searching for -lpng
/usr/bin/ld: skipping incompatible /usr/lib64/libpng.a when searching for -lpng
/usr/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib64/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib64/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib64/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib64/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib64/libcdda_interface.so when searching for -lcdda_interface
/usr/bin/ld: skipping incompatible /usr/lib64/libcdda_interface.a when searching for -lcdda_interface
/usr/bin/ld: skipping incompatible /usr/lib64/libcdda_interface.so when searching for -lcdda_interface
/usr/bin/ld: skipping incompatible /usr/lib64/libcdda_interface.a when searching for -lcdda_interface
/usr/bin/ld: skipping incompatible /usr/lib64/libcdda_paranoia.so when searching for -lcdda_paranoia
/usr/bin/ld: skipping incompatible /usr/lib64/libcdda_paranoia.a when searching for -lcdda_paranoia
/usr/bin/ld: skipping incompatible /usr/lib64/libcdda_paranoia.so when searching for -lcdda_paranoia
/usr/bin/ld: skipping incompatible /usr/lib64/libcdda_paranoia.a when searching for -lcdda_paranoia
/usr/bin/ld: skipping incompatible /usr/lib64/libnsl.so when searching for -lnsl
/usr/bin/ld: skipping incompatible /usr/lib64/libnsl.a when searching for -lnsl
/usr/bin/ld: skipping incompatible /usr/lib64/libnsl.so when searching for -lnsl
/usr/bin/ld: skipping incompatible /usr/lib64/libnsl.a when searching for -lnsl
/usr/bin/ld: skipping incompatible /usr/lib64/libsmbclient.so when searching for -lsmbclient
/usr/bin/ld: skipping incompatible /usr/lib64/libsmbclient.a when searching for -lsmbclient
/usr/bin/ld: skipping incompatible /usr/lib64/libsmbclient.so when searching for -lsmbclient
/usr/bin/ld: skipping incompatible /usr/lib64/libsmbclient.a when searching for -lsmbclient
/usr/bin/ld: skipping incompatible /usr/lib64/libgtk.so when searching for -lgtk
/usr/bin/ld: skipping incompatible /usr/lib64/libgtk.a when searching for -lgtk
/usr/bin/ld: skipping incompatible /usr/lib64/libgtk.so when searching for -lgtk
/usr/bin/ld: skipping incompatible /usr/lib64/libgtk.a when searching for -lgtk
/usr/bin/ld: skipping incompatible /usr/lib64/libgdk.so when searching for -lgdk
/usr/bin/ld: skipping incompatible /usr/lib64/libgdk.a when searching for -lgdk
/usr/bin/ld: skipping incompatible /usr/lib64/libgdk.so when searching for -lgdk
/usr/bin/ld: skipping incompatible /usr/lib64/libgdk.a when searching for -lgdk
/usr/bin/ld: skipping incompatible /usr/lib64/libgmodule.so when searching for -lgmodule
/usr/bin/ld: skipping incompatible /usr/lib64/libgmodule.a when searching for -lgmodule
/usr/bin/ld: skipping incompatible /usr/lib64/libgmodule.so when searching for -lgmodule
/usr/bin/ld: skipping incompatible /usr/lib64/libgmodule.a when searching for -lgmodule
/usr/bin/ld: skipping incompatible /usr/lib64/libglib.so when searching for -lglib
/usr/bin/ld: skipping incompatible /usr/lib64/libglib.a when searching for -lglib
/usr/bin/ld: skipping incompatible /usr/lib64/libglib.so when searching for -lglib
/usr/bin/ld: skipping incompatible /usr/lib64/libglib.a when searching for -lglib
/usr/bin/ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib64/libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib64/libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libXi.so when searching for -lXi
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libXi.a when searching for -lXi
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libXext.so when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libXext.a when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libX11.so when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libX11.a when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libglib.so when searching for -lglib
/usr/bin/ld: skipping incompatible /usr/lib64/libglib.a when searching for -lglib
/usr/bin/ld: skipping incompatible /usr/lib64/libglib.so when searching for -lglib
/usr/bin/ld: skipping incompatible /usr/lib64/libglib.a when searching for -lglib
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libGL.a when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libXxf86dga.so when searching for -lXxf86dga
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libXxf86dga.a when searching for -lXxf86dga
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libXv.so when searching for -lXv
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libXv.a when searching for -lXv
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libXxf86vm.so when searching for -lXxf86vm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libXxf86vm.a when searching for -lXxf86vm
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libXinerama.so when searching for -lXinerama
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libXinerama.a when searching for -lXinerama
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libXext.so when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libXext.a when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libX11.so when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib64/libX11.a when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/lib64/libnsl.so when searching for -lnsl
/usr/bin/ld: skipping incompatible /usr/lib64/libnsl.a when searching for -lnsl
/usr/bin/ld: skipping incompatible /usr/lib64/libnsl.so when searching for -lnsl
/usr/bin/ld: skipping incompatible /usr/lib64/libnsl.a when searching for -lnsl
/usr/bin/ld: skipping incompatible /usr/lib64/libnsl.so when searching for -lnsl
/usr/bin/ld: skipping incompatible /usr/lib64/libnsl.a when searching for -lnsl
/usr/bin/ld: skipping incompatible /usr/lib64/libnsl.so when searching for -lnsl
/usr/bin/ld: skipping incompatible /usr/lib64/libnsl.a when searching for -lnsl
/usr/bin/ld: skipping incompatible /usr/lib64/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib64/libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib64/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib64/libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib64/libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib64/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib64/libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(app.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(interface.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(cfg.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(skin.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(font.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(cut.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(widgets.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(play.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(mw.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(sw.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(menu.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(pb.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(common.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(menu.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(mb.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(about.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(pl.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(sb.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(fs.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(opts.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(url.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(eq.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(common.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(ws.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(wsxdnd.o)' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `Gui/libgui.a(bitmap.o)' is incompatible with i386 output
Gui/libgui.a(interface.o)(.text+0x982): In function `guiLoadFont':
interface.c: undefined reference to `vo_image_height'
Gui/libgui.a(interface.o)(.text+0x988):interface.c: undefined reference to `vo_image_width'
Gui/libgui.a(interface.o)(.text+0xdf5): In function `guiGetEvent':
interface.c: undefined reference to `vcd_seek_to_track'
Gui/libgui.a(interface.o)(.text+0xe19):interface.c: undefined reference to `vcd_seek_to_track'
Gui/libgui.a(interface.o)(.text+0x1e1f): In function `gtkSet':
interface.c: undefined reference to `subtitle_font_thickness'
Gui/libgui.a(interface.o)(.text+0x1e39):interface.c: undefined reference to `subtitle_font_radius'
Gui/libgui.a(interface.o)(.text+0x1e43):interface.c: undefined reference to `text_font_scale_factor'
Gui/libgui.a(interface.o)(.text+0x1e4d):interface.c: undefined reference to `osd_font_scale_factor'
Gui/libgui.a(interface.o)(.text+0x1e56):interface.c: undefined reference to `subtitle_font_encoding'
Gui/libgui.a(interface.o)(.text+0x1e71):interface.c: undefined reference to `subtitle_font_encoding'
Gui/libgui.a(interface.o)(.text+0x1e7f):interface.c: undefined reference to `subtitle_font_encoding'
Gui/libgui.a(interface.o)(.text+0x1e8f):interface.c: undefined reference to `subtitle_autoscale'
Gui/libgui.a(interface.o)(.text+0x98d): In function `guiLoadFont':
interface.c: undefined reference to `load_font_ft'
Gui/libgui.a(opts.o)(.text+0x590): In function `ShowPreferences':
opts.c: undefined reference to `subtitle_font_radius'
Gui/libgui.a(opts.o)(.text+0x5b9):opts.c: undefined reference to `subtitle_font_thickness'
Gui/libgui.a(opts.o)(.text+0x5c9):opts.c: undefined reference to `text_font_scale_factor'
Gui/libgui.a(opts.o)(.text+0x5dd):opts.c: undefined reference to `osd_font_scale_factor'
Gui/libgui.a(opts.o)(.text+0x5f0):opts.c: undefined reference to `subtitle_font_encoding'
Gui/libgui.a(opts.o)(.text+0x616):opts.c: undefined reference to `subtitle_font_encoding'
Gui/libgui.a(opts.o)(.text+0x687):opts.c: undefined reference to `subtitle_autoscale'
Gui/libgui.a(cfg.o)(.data+0x8b8): undefined reference to `subtitle_font_encoding'
Gui/libgui.a(cfg.o)(.data+0x8f0): undefined reference to `text_font_scale_factor'
Gui/libgui.a(cfg.o)(.data+0x928): undefined reference to `osd_font_scale_factor'
Gui/libgui.a(cfg.o)(.data+0x960): undefined reference to `subtitle_font_radius'
Gui/libgui.a(cfg.o)(.data+0x998): undefined reference to `subtitle_font_thickness'
Gui/libgui.a(cfg.o)(.data+0x9d0): undefined reference to `subtitle_autoscale'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
[root@localhost MPlayer-1.0pre7]#
Any advice anyone...
 
Old 08-28-2006, 05:59 AM   #3
fozner
Member
 
Registered: Aug 2006
Posts: 147

Rep: Reputation: 16
I think you need to enable cross-compile with --enable-cross-compile or some junk like that. Would be interesting to see if anyone has got this working. I would like to know how to work on mplayer development on 64 bit Fedora myself. With wine it was easy. Just run a script provided on the winehq site for fedora which basically just creates additional links of all the libraries to a common location (/usr/local/lib). After running this script I notice a lot of apps compile 32 bit with no problems. So give it a try.

Code:
$ cat install/ldconfig32.bin
#! /bin/bash

# Create symlinks for libraries in TARGET_DIR for which there is
# no *.so link for the linker.  Make links to the shortest name - they
# are less likely to change on update.  Preserve local libraries.

: ${TARGET_DIR=/usr/local/lib}

# Clean up old links
for lib in $TARGET_DIR/lib*.so; do
        test -L $lib || continue
        link=$(readlink $lib)
        case $link in
                /lib/*.so.*) rm -f $lib ;;
                /usr/lib/*.so.*) rm -f $lib ;;
                /usr/X11R6/lib/*.so.*) rm -f $lib ;;
        esac
done

# Make new links
for lib in /usr/lib/lib*.so.* /lib/lib*.so.* /usr/X11R6/lib/lib*.so.*; do
        solib=${lib%.so*}.so

        # Linker already looks in /usr/lib
        test -e /usr/lib/${solib##*/} && continue

        solibmin=$(ls ${solib}.* | sort | head -1)
        test $lib != $solibmin && continue
        target=$TARGET_DIR/${solib##*/}

        # Never overwrite non-symlinks
        if test -e $target -a ! -L $target; then
                echo "Preserving $target - not a symlink"
                continue
        fi
        echo "Linking $solibmin"
        ln -nsf $solibmin $target
done
That said, I've just been reminded that yumex can be run with the --forcei386 option and you can use it to update your mis-matched 32 bit libs as well as installing 32 bit mplayer, plug-in and firefox. I tried it, along with the greasemonky cnn friendly video script and now I can watch cnn videos on my FC64. Yay and also boo to cnn for using proprietary 32bit codecs for which no 64 bit counterpart is available.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
installing 32bit firefox on 64bit fedora 4 status0 Fedora - Installation 13 08-29-2006 01:42 PM
can 64bit processor run both 64bit and 32bit computers? DJOtaku Linux - General 4 09-08-2005 08:14 PM
64bit or 32bit ginger.fish0 Ubuntu 3 09-01-2005 05:12 PM
32Bit or 64Bit? bchivers Mandriva 9 05-22-2005 12:28 PM
32bit to 64bit kirk1975 Linux - Newbie 1 10-20-2004 05:14 AM


All times are GMT -5. The time now is 08:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration