#10 closed defect (fixed)
libmad chunk additionaly pushed into X_LIBS during configure
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | vo |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
gmake[2]: Entering directory `/big2/temp/MPlayer-20040705/vidix/drivers'
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium4
-mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -fPIC -I. -I..
-o cyberblade_vid.o cyberblade_vid.c
cc -shared cyberblade_vid.o -L../../libdha -ldha -lm
-Wl,-soname,cyberblade_vid.so -o cyberblade_vid.so
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium4
-mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -fPIC -I. -I..
-o radeon_vid.o radeon_vid.c
cc -shared radeon_vid.o -L../../libdha -ldha -lm -lGL -lXxf86dga -lXv -lXxf86vm
-lXinerama -L/usr/X11R6/lib -lXext -lX11 -lmad -Wl,-soname,radeon_vid.so -o
radeon_vid.so
/usr/bin/ld: cannot find -lmad
gmake[2]: * [radeon_vid.so] Ошибка 1
gmake[2]: Leaving directory `/big2/temp/MPlayer-20040705/vidix/drivers'
gmake[1]: * [all] Ошибка 2
gmake[1]: Leaving directory `/big2/temp/MPlayer-20040705/vidix'
gmake: * [vidix/libvidix.a] Ошибка 2
aquatique# grep mad config.mak
X_LIB = -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11
-lmad
MAD_LIB = -lmad
aquatique# ldconfig -r | grep mad
282:-lmad.2 => /usr/local/lib/libmad.so.2
aquatique# ls -l /usr/local/lib/libmad*
-rw-r--r-- 1 root wheel 95262 27 фев 11:04 /usr/local/lib/libmad.a
lrwxr-xr-x 1 root wheel 11 27 фев 11:04 /usr/local/lib/libmad.so ->
libmad.so.2
-rwxr-xr-x 1 root wheel 93531 27 фев 11:04 /usr/local/lib/libmad.so.2
Patch for configure