Opened 20 years ago

Closed 20 years ago

Last modified 18 years ago

#79 closed defect (fixed)

Could not compile when configured with JACK support

Reported by: burmuley@… Owned by: alex@…
Priority: very important Component: build system
Version: 1.0pre5 Severity: critical
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Distro: Slackware Linux 10.0
gcc 3.3.4
Kernel 2.6.7
GNU assembler 2.15.90.0.3

Have configured mplayer with following options:

./configure --disable-gui --language=ru --enable-3dnow --enable-mmx --enable-sse --enable-sse2 --
with-win32libdir=/usr/local/share/win32 --with-bio2jack=/usr/local/lib

All seems fine, but when starting compiling:

cc -I../libvo -I../../libvo -I/usr/X11/include -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -
fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -
Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -I/usr/
X11/include -I/usr/X11R6/include -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o
spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o
m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a
libao2/libao2.a vidix/libvidix.a libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a
libmpeg2/libmpeg2.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a
libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a -
Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a -lmad -lvorbis -logg -lpng -lz -lz -ljpeg -
lasound -ldl -lpthread -lfreetype -lz -ltermcap -lcdda_interface -lcdda_paranoia -lnsl -lungif -
lsmbclient -L/usr/X11R6/lib -lfontconfig libfaad2/libfaad2.a -lGL -lXxf86dga -lXv -lXxf86vm -
lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl -lnsl -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -
lvgagl -lvga -lm -L/usr/lib -lesd -laudiofile -lm -lasound -L "/usr/local/lib" -lbio2jack -ljack -
lpthread -ldl -rdynamic -lm
libao2/libao2.a(ao_jack.o)(.text+0x34): In function `control':
: undefined reference to `JACK_SetVolume'
libao2/libao2.a(ao_jack.o)(.text+0x8b): In function `control':
: undefined reference to `JACK_GetVolume'
collect2: ld returned 1 exit status
make: * [mplayer] Error 1

libbio2jack compiled and installed in /usr/local/lib.

config.h

/* -------- This file has been automatically generated by configure ---------

Note: Any changes in it will be lost when you run configure again. */

/* Protect against multiple inclusion */
#ifndef MPLAYER_CONFIG_H
#define MPLAYER_CONFIG_H 1

/* use GNU internationalization */
#define USE_I18N 1

/* missing mmap function on libc5 systems */
#ifndef MAP_FAILED
# define MAP_FAILED ((void *) -1)
#endif

/* use setlocale() function */
#define USE_SETLOCALE 1

/* Runtime CPU detection */
#undef RUNTIME_CPUDETECT

/* Dynamic a/v plugins */

config.mak
/* -------- This file has been automatically generated by configure ---------

Note: Any changes in it will be lost when you run configure again. */

/* Protect against multiple inclusion */
#ifndef MPLAYER_CONFIG_H
#define MPLAYER_CONFIG_H 1

/* use GNU internationalization */
#define USE_I18N 1

/* missing mmap function on libc5 systems */
#ifndef MAP_FAILED
# define MAP_FAILED ((void *) -1)
#endif

/* use setlocale() function */
#define USE_SETLOCALE 1

/* Runtime CPU detection */
#undef RUNTIME_CPUDETECT

/* Dynamic a/v plugins */

Change History (2)

comment:1 by reimar, 20 years ago

Resolution: fixed
Status: newclosed

Your libio2jack is too new for your MPlayer version. Either upgrade to MPlayer
CVS or get an older libio2jack version.

comment:2 by diego@…, 18 years ago

Component: ao-pluginsbuild system
Note: See TracTickets for help on using tickets.