[MPlayer-users] LIRC SUpport with MPlayer dev-CVS-060417-03:25-4.0.2

Guillaume POIRIER poirierg at gmail.com
Wed Apr 19 23:43:43 CEST 2006


Hi,

On 4/19/06, Mario Ohnewald <mario at bortal.de> wrote:
> Hi,
>
>
> On Wed, 2006-04-19 at 20:41 +0200, Guillaume POIRIER wrote:
> > Hi,
> >
> > On 4/19/06, Mario Ohnewald <mario at bortal.de> wrote:
> > > Hello!
> > >
> > > I am running SuSE 10.0 with gcc version 4.0.2 and i get this error if i
> > > want to compile  it with lirc support:
> >
> > [..]
> >
> >
> > > cannot find -llircc
> > > collect2: ld returned 1 exit status
> > > make: *** [mplayer] Error 1
> > >
> > >
> > >
> > > I also attached the configure log file.
> > >
> > > Any tips hints would be great!
> >
> > That means that you're missing lirc dev header and/or you're missing
> > the necessary libs.
> >
>
> make -C libmpdvdkit2
> make[1]: Entering directory `/home/lansintv/main/libmpdvdkit2'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/lansintv/main/libmpdvdkit2'
> cc -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4
> -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer
> -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I.
> -I/usr/include/freetype2  -I/usr/include/SDL -D_REENTRANT
> -I/usr/X11/include   -I./libavutil -I./libavcodec   -o mplayer mplayer.o
> m_property.o mp_msg.o asxparser.o codec-cfg.o cpudetect.o edl.o
> find_sub.o m_config.o m_option.o m_struct.o parser-cfg.o playtree.o
> playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o  unrarlib.o
> mixer.o parser-mpcmd.o subopt-helper.o  libvo/libvo.a libao2/libao2.a
> vidix/libvidix.a  libmpcodecs/libmpcodecs.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
> libavutil/libavutil.a  libavcodec/libpostproc/libpostproc.a   -ldv
> -lpng -lz -lz -ljpeg -lasound -ldl -lpthread      -lfreetype -lz
> -lncurses -lcdda_interface -lcdda_paranoia -lnsl   -lungif
> -lfontconfig   libfaad2/libfaad2.a  mp3lib/libMP3.a liba52/liba52.a
> libmpeg2/libmpeg2.a tremor/libvorbisidec.a  -laa -lGL -ldl -lXxf86dga
> -lXv  -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl -lpthread
> -lnsl -L/usr/lib -lSDL -lpthread         -L/opt/kde3/lib -ldl -lartsc
> -lpthread -L/opt/gnome/lib -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0
> -L/usr/lib -lesd -laudiofile -lm -lasound -ljack      -Wl,-z,noexecstack
> -llirc_client   -lpthread -ldl -rdynamic  -lm
> mplayer.o:(.data+0xea4): undefined reference to `lirc_configfile'
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1
>
>
>
> I installed some stuff, is this the same error source?

Did you recompile it all?

You should try to do a simple
"./configure" and see if configure script does detect lirc. Our
configure script doesn't work the same way as most other projects.
When you specify --enable-xx what you're really doing is forcing it
(i.e, it skips detection).
If configure doesn't detect lirc, it means that you're still missing
something (lirc headers and/or libraries).

If it does detect lirc, (but compilation fails), it means that lirc
support is broken, and should be fixed.

Guillaume
--
I am disillusioned enough to know that no man's opinion on any subject
is worth a damn unless backed up with enough genuine information to
make him really know what he's talking about.

-- H. P. Lovecraft (about the flamewars on FFmpeg and MPlayer-dev mailing lists)
http://www.brainyquote.com/quotes/quotes/h/hplovecr278144.html




More information about the MPlayer-users mailing list