Opened 14 years ago

Closed 13 years ago

#1839 closed defect (invalid)

libmp3lame is not found by configure

Reported by: bugzzzz@… Owned by: diego@…
Priority: normal Component: build system
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

When I run ./configure on mplayer-export-2010-12-22, libmp3lame is not found by the script. configure displays :
Checking for libmp3lame ... no (in FFmpeg: no)

An error appears in configure.log during the check :

============ Checking for libmp3lame ============

#include <lame/lame.h>
int main(void) { lame_set_VBR_quality(NULL, 0); return 0; }

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer /tmpmplayer-configure-10015-30501/tmp.c -Ilibdvdread4 -I. -Iffmpeg -D_REENTRANT -I/usr/include/directfb -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/dirac -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -ffast-math -lncurses -lpng -lz -lmng -lz -ljpeg -lasound -ldl -lpthread -lfreetype -lz -lfontconfig -lfribidi -lz -lmad -lspeex -ltheora -logg -lmpg123 -la52 -lmpcdec -ldirac_encoder -ldirac_decoder -lstdc++ -lschroedinger-1.0 -lpthread -lm -lorc-0.4 -ldirectfb -lXext -lX11 -lpthread -lXv -lXinerama -lXxf86vm -lXxf86dga -lggi -laa -lSDL -lpulse -ljack -lfaac -ltwolame -lfaac -o /tmpmplayer-configure-10015-30501/tmp -lmp3lame -lm
/tmpmplayer-configure-10015-30501/tmp.c: In function 'main':
/tmp
mplayer-configure-10015-30501/tmp.c:2: warning: implicit declaration of function 'lame_set_VBR_quality'
/tmpccbI7csi.o: In function `main':
tmp.c:(.text+0xb): undefined reference to `lame_set_VBR_quality'
collect2: ld returned 1 exit status

Result is: no (in FFmpeg: no)

This problem did not happen with older versions like mplayer-checkout-2010-08-09 where mp3lame was located in libavcodec

Attachments (1)

config.log (223.0 KB ) - added by bugzzzz@… 14 years ago.
My full config.log file

Download all attachments as: .zip

Change History (2)

by bugzzzz@…, 14 years ago

Attachment: config.log added

My full config.log file

comment:1 by diego@…, 13 years ago

op_sys: LinuxAll
rep_platform: PC (x86_64)All
Resolution: invalid
Status: newclosed

You need a new enough version of LAME with that function.

Note: See TracTickets for help on using tickets.