[MPlayer-users] linking problem

Meszaros Andras andrej at draconis.elte.hu
Sun Apr 21 12:36:02 CEST 2002


Hi!

charlie:MPlayer-0.90pre1$ fakeroot debian/rules  binary
dh_testdir
# Add here commands to configure the package.
./configure --prefix=/usr --confdir=/etc/mplayer --enable-gui 
Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 2.95.4, ok
Checking for CPU vendor ... GenuineIntel (6:8:6)
Checking for CPU type ...  Pentium III (Coppermine)
Checking for GCC & CPU optimization abilities ... i686
Checking for binutils ... no
Checking for assembler (as 2.12.90.0.1) ... ok
Checking for Linux kernel version ... 2.4.17-686, ok
Checking for awk ... mawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for i18n ... no
Checking for language ... using en
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... yes
Checking for kstat ... no
Checking for posix4 ... no
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 malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for pthread ... yes (using -lpthread)
Checking for sys/soundcard.h ... yes
Checking for termcap ... yes
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for X11 headers ... yes (using /usr/include)
Checking for X11 libs ... yes (using /usr/X11R6/lib)
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for DirectFB ... yes
Checking for DirectFB >= 0.9.9 ... no
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for Xinerama ... yes
Checking for Xxf86vm ... 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 ... yes
Checking for AA ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... no (driver source not in /usr/src/DVB/ost/include,
please add path with --with-extraincdir=DIR)
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for VESA support ... yes
Checking for SDL ... yes (using sdl-config)
Checking for NAS ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for OSS Audio ... yes
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for Sun mediaLib ... no
Checking for SGI Audio ... no
Checking for VCD support ... ok
Checking for DVD support (libcss - old style) ... no
Checking for DVD support (libdvdread - new style) ... no
Checking for libdvdnav ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for mad support ... no
Checking for OggVorbis support ... no
Checking for FAAD (AAC) support ... no
Checking for Win32 DLL support ... yes (using /usr/local/lib/win32)
Checking for DirectShow ... yes
Checking for XAnim DLL ... yes (using /usr/lib/xanim)
Checking for iconv ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for libdv-0.9.5 (for mencoder) ... no
Checking for zr ... no
Checking for XviD/DivX4linux/DivX5linux/OpenDivX decore ... no
Checking for libmp3lame (for mencoder) ... no
Checking for XviD/DivX4linux encore (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for TV interface ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... no
Checking for select ... yes
Checking for streaming ... yes
Checking for GUI ... yes
Checking for XShape extension ... yes
Checking for gtk version ... 1.2.10 (using gtk-config)
Checking for glib version ... 1.2.10 (using glib-config)
Creating Gui/config.mak
Checking for ftello() ... yes
Checking for vidix ... yes
Checking for new input ... yes
Checking for joystick ... no
Checking for lirc ... no
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libao2/config.mak
Creating help_mp.h
[..]
ar rc libgui.a skin/skin.o skin/font.o skin/cut.o bitmap/bitmap.o
bitmap/tga/tga.o bitmap/bmp/bmp.o bitmap/png/png.o                wm/ws.o
wm/wsconv.o app.o events.o interface.o mplayer/mplayer.o mplayer/widgets.o
mplayer/play.o mplayer/gtk/menu.o mplayer/gtk/mb.o mplayer/gtk/about.o
mplayer/gtk/pl.o mplayer/gtk/sb.o mplayer/gtk/fs.o mplayer/gtk/opts.o
make[2]: Leaving directory /home/andrej/download/MPlayer-0.90pre1/Gui'
gcc -O4 -march=i486 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -o
mplayer mplayer.o xacodec.o cpudetect.o mp_msg.o codec-cfg.o cfgparser.o
my_profile.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o
subreader.o find_sub.o lirc_mp.o mixer.o mp-opt-reg.o dll_init.o -Llibvo
-lvo  -Llibmpcodecs -lmpcodecs -Lmp3lib -lMP3 -Lliba52 -la52 -Llibmpeg2
-lmpeg2 -Llibavcodec -lavcodec -Llibfame -lfame -Llibmpdemux -lmpdemux
-Linput -linput  -Lloader -lloader -Lloader/dshow -lDS_Filter
-lpthread -ldl -rdynamic  -Lpostproc -lpostproc  -Llinux -losdep -ltermcap
-lnsl -lz -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib
-ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib -lpng -lz -ljpeg -lm  -Llibao2
-lao2 -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lXxf86dga -lXv -lXxf86vm
-lXinerama  -lnsl  -lggi  -L/usr/lib -lSDL -lpthread   -ldirectfb  -Lvidix
-lvidix -LGui -lgui    
libmpdemux/libmpdemux.a(demuxer.o): In function demux_seek':
demuxer.o(.text+0x1fba): undefined reference to demux_ogg_seek'
collect2: ld returned 1 exit status
make[1]: *** [mplayer] Error 1
make[1]: Leaving directory /home/andrej/download/MPlayer-0.90pre1'
make: *** [build-stamp] Error 2




charlie:MPlayer-0.90pre1$ cat /etc/debian_version 
3.0

charlie:MPlayer-0.90pre1$       uname -a 
Linux charlie 2.4.17-686 #2 Sat Dec 22 21:58:49 EST 2001 i686 unknown

charlie:MPlayer-0.90pre1$        ls -l /lib/libc[.-]*                                                                                                                          
-rwxr-xr-x    1 root     root      1153816 Mar 24 18:00 /lib/libc-2.2.5.so
lrwxrwxrwx    1 root     root           14 Mar 25 16:20 /lib/libc.so.5 ->
libc.so.5.4.46
-rw-r--r--    1 root     root       563068 Feb  4 22:30 /lib/libc.so.5.4.46
lrwxrwxrwx    1 root     root           13 Apr  8 12:17 /lib/libc.so.6 ->
libc-2.2.5.so

charlie:MPlayer-0.90pre1$ X -version 
This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86 at XFree86.Org and patches submitted
to fixes at XFree86.Org.  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 21 December 2001
	If the server is older than 6-12 months, or if your card is
	newer than the above date, look for a newer version before
	reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.13 i686 [ELF] 
Module Loader present

charlie:MPlayer-0.90pre1$ gcc -v 
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

charlie:MPlayer-0.90pre1$ ld -v
GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux

charlie:MPlayer-0.90pre1$ as --version
GNU assembler 2.12.90.0.1 20020307 Debian/GNU Linux
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of i386-linux'.

charlie:MPlayer-0.90pre1$  cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 8
model name	: Pentium III (Coppermine)
stepping	: 6
cpu MHz		: 797.981
cache size	: 256 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 mmx fxsr sse
bogomips	: 1592.52


charlie:MPlayer-0.90pre1$ cat /proc/pci 
[..]
  Bus  1, device   0, function  0:
    VGA compatible controller: nVidia Corporation Riva TnT2 [NV5] (rev 21).
      IRQ 9.
      Master Capable.  Latency=32.  Min Gnt=5.Max Lat=1.
      Non-prefetchable 32 bit memory at 0xd4000000 [0xd4ffffff].
      Prefetchable 32 bit memory at 0xd6000000 [0xd7ffffff].



-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.h
Type: text/x-chdr
Size: 8490 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020421/5778ce2f/attachment.h>
-------------- next part --------------
# -------- Generated by configure -----------

LANG = C
TARGET_OS = Linux
prefix = /usr
DATADIR = /usr/share/mplayer
CONFDIR = /etc/mplayer
LIBDIR = /usr/lib/mplayer
AR = ar
CC = gcc
AWK = mawk
# OPTFLAGS = -O4   -march=i486 -mcpu=i686 -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS = -O4 -march=i486 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
EXTRA_INC =  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
WIN32_PATH = -DWIN32_PATH=\"/usr/local/lib/win32\"

STREAMING = yes
STREAMING_LIB = -lnsl
VIDIX = yes

OPENDIVX = no

VO2 = no

PNG = yes
JPEG = yes

EXTRA_LIB = 
Z_LIB =   -lz
HAVE_MLIB = no
STATIC_LIB = 

X11_INC = 
X11DIR = -L/usr/X11R6/lib -lX11 -lXext -lnsl

# video output
X_LIB = -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama  -lnsl
GGI_LIB = -lggi
MLIB_LIB =  
MLIB_INC = 
DVB_INC = 
PNG_LIB = -lpng -lz
JPEG_LIB = -ljpeg
SDL_LIB = -L/usr/lib -lSDL -lpthread
SVGA_LIB = 
AA_LIB = 

# audio output
ALSA_LIB = 
NAS_LIB = 
MAD_LIB = 
VORBIS_LIB = 
FAAD_LIB = 
SGIAUDIO_LIB = 

# input
TERMCAP_LIB = -ltermcap
LIRC_LIB = 
CSS_USE = no
CSS_LIB = 
SDL_INC = -I/usr/include/SDL -D_REENTRANT
W32_DEP = loader/libloader.a
W32_LIB = -Lloader -lloader
DS_DEP = loader/dshow/libDS_Filter.a
DS_LIB = -Lloader/dshow -lDS_Filter
AV_DEP = libavcodec/libavcodec.a
AV_LIB = -Llibavcodec -lavcodec
MP1E_DEP = 
MP1E_LIB = 
ARCH_LIB =   -lpthread -ldl -rdynamic 
DIVX4LINUX = no
XVID = no
DECORE_LIB = 
MENCODER = yes
ENCORE_LIB =    
DIRECTFB_LIB = -ldirectfb
NEW_INPUT_LIB = -Linput -linput

# --- Some stuff for autoconfigure ----
TARGET_ARCH_X86 = yes
TARGET_CYGWIN = no
TARGET_CPU=686
TARGET_MMX = yes
TARGET_MMX2 = yes
TARGET_3DNOW = yes
TARGET_3DNOWEX = yes
TARGET_SSE = yes

BINUTILS = no

# --- GUI stuff ---
GTKLIB =  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
GLIBLIB =   -L/usr/lib -lglib
GTK_LIBS =   $(GTKLIB) $(GLIBLIB)
GUI = yes
DEBUG = -DDEBUG

-------------- next part --------------
include ../config.mak
OPTIONAL_SRCS =  vo_directfb.c vo_x11.c vo_xv.c vo_dga.c vo_gl.c vo_gl2.c vo_ggi.c vo_fbdev.c vo_png.c vo_jpeg.c vo_vesa.c vesa_lvo.c vo_sdl.c vo_xvidix.c
OPTIONAL_OBJS = vo_directfb.o vo_x11.o vo_xv.o vo_dga.o vo_gl.o vo_gl2.o vo_ggi.o vo_fbdev.o vo_png.o vo_jpeg.o vo_vesa.o vesa_lvo.o vo_sdl.o vo_xvidix.o


More information about the MPlayer-users mailing list