Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5586 closed defect (worksforme)

error while compiling mythtv rev 17978

Reported by: Benoît LORAND <benoit.lorand@…> Owned by: Isaac Richards
Priority: major Milestone: 0.22
Component: mythtv Version: head
Severity: high Keywords:
Cc: Ticket locked: no

Description

I will try to compile mythtv rev 17978 with lirc support.

my settings.pro is in attachement.

error is :

g++ -Wl,-rpath,/opt/qt-4.3.4/lib -shared -Wl,-soname,libmythavcodec-0.22.so.0 -o libmythavcodec-0.22.so.0.22.0 bitstream.o utils.o allcodecs.o mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o resample.o resample2.o dsputil.o motion_est.o imgconvert.o mpeg12.o mpeg12data.o simple_idct.o ratecontrol.o eval.o error_resilience.o raw.o faandct.o parser.o rangecoder.o h263.o opt.o bitstream_filter.o audioconvert.o myth_utils.o aasc.o ac3dec.o ac3tab.o ac3.o ac3enc.o alac.o sp5xdec.o mjpegdec.o mjpeg.o apedec.o asv1.o atrac3.o mdct.o fft.o avs.o bethsoftvideo.o bmp.o bmpenc.o c93.o cavs.o cavsdec.o cavsdsp.o golomb.o cinepak.o cljr.o cook.o cscd.o cyuv.o dca.o dnxhddec.o dnxhddata.o dnxhdenc.o mpegvideo_enc.o dsicinav.o dvbsubdec.o dvbsub.o dvdsubdec.o dvdsubenc.o dv.o dxa.o 8bps.o ffv1.o huffyuv.o flac.o flacenc.o flashsv.o flashsvenc.o flicvideo.o h263dec.o 4xm.o fraps.o huffman.o gifdec.o lzw.o gif.o h261dec.o h261.o h261enc.o h264.o h264idct.o h264pred.o cabac.o idcinvideo.o imc.o indeo2.o indeo3.o interplayvideo.o dpcm.o jpeglsdec.o jpegls.o jpeglsenc.o kmvc.o ljpegenc.o mjpegenc.o loco.o mace.o mjpegbdec.o mmvideo.o mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o mpegaudioenc.o mpc7.o mpc.o mpc8.o mpeg12enc.o msmpeg4.o msmpeg4data.o msrle.o msvideo1.o lcldec.o nellymoserdec.o nuv.o rtjpeg.o pnmenc.o pnm.o png.o pngdec.o pngenc.o ptx.o qdm2.o qdrw.o qpeg.o qtrle.o qtrleenc.o ra144.o ra288.o rawdec.o rawenc.o roqvideodec.o roqvideo.o roqvideoenc.o elbg.o roqaudioenc.o rpza.o rv10.o sgidec.o sgienc.o rle.o shorten.o smacker.o smc.o snow.o sonic.o svq1dec.o svq1.o svq1enc.o targa.o targaenc.o vp3.o xiph.o vp3dsp.o tiertexseqv.o tiff.o tiffenc.o lzwenc.o truemotion1.o truemotion2.o truespeech.o tscc.o tta.o txd.o s3tc.o ulti.o vb.o vc1.o vc1data.o vc1dsp.o intrax8.o intrax8dsp.o vcr1.o vmdav.o vmnc.o vorbis_dec.o vorbis.o vorbis_data.o vorbis_enc.o vp5.o vp56.o vp56data.o vp6.o vqavideo.o wavpack.o wmadec.o wma.o wmaenc.o wmv2.o wnv1.o ws-snd1.o xan.o xl.o xsubdec.o lclenc.o zmbv.o zmbvenc.o pcm.o adpcm.o adxdec.o adxenc.o g726.o aac_parser.o aac_ac3_parser.o ac3_parser.o cavs_parser.o dca_parser.o dvbsub_parser.o dvdsub_parser.o h261_parser.o h263_parser.o h264_parser.o mjpeg_parser.o mpeg4video_parser.o mpegaudio_parser.o mpegvideo_parser.o pnm_parser.o vc1_parser.o dump_extradata_bsf.o h264_mp4toannexb_bsf.o remove_extradata_bsf.o noise_bsf.o mp3_header_compress_bsf.o mp3_header_decompress_bsf.o mjpega_dump_header_bsf.o imx_dump_header_bsf.o pthread.o xvmcvideo.o imgresample.o fdct_mmx.o cputest.o dsputil_mmx.o mpegvideo_mmx.o motion_est_mmx.o simple_idct_mmx.o idct_mmx_xvid.o fft_sse.o fft_3dn.o fft_3dn2.o idct_mmx.o cavsdsp_mmx.o vp3dsp_mmx.o vp3dsp_sse2.o -L/usr/X11R6/lib -L../libavutil -lmythavutil-0.22 -lm -lasound -llirc_client -lfftw3_threads -lfftw3 -ldl -lz -lXvMCNVIDIA -lXvMC -lpthread /usr/bin/ld: cannot find -llirc_client collect2: ld returned 1 exit status make[2]: * [libmythavcodec-0.22.so.0.22.0] Error 1 make[2]: Leaving directory `/home/revnew/mythtv/libs/libavcodec' make[1]: * [sub-libavcodec-make_default-ordered] Error 2 make[1]: Leaving directory `/home/revnew/mythtv/libs' make: * [sub-libs-make_default-ordered] Error 2

usually this work but in this case, /home/revnew/mythtv/libs/libavcodec/Makefile doesn't show lirc path anywhere :

############################################################################# # Makefile for building: libmythavcodec-0.22.so.0.22.0 # Generated by qmake (2.01a) (Qt 4.3.4) on: mer. juil. 30 11:51:22 2008 # Project: libavcodec.pro # Template: lib # Command: /opt/qt/bin/qmake -unix QMAKE=/opt/qt/bin/qmake -o Makefile libavcodec.pro #############################################################################

####### Compiler, tools and options

CC = gcc CXX = g++ DEFINES = -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DHAVE_XVMC CFLAGS = -pipe -march=pentiumpro -fomit-frame-pointer -O3 -I/srv/xorg/include -I/srv/lirc/include -I/usr/include -I/usr/local/include -I/srv/mysql/inc lude -I/srv/samba/include -I/opt/qt/include -I/opt/xine/include -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-poi nter-sign -funit-at-a-time -w -D_REENTRANT $(DEFINES) CXXFLAGS = -pipe -march=pentiumpro -fomit-frame-pointer -O3 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time - DSTDC_CONSTANT_MACROS -w -D_REENTRANT -DPIC -fPIC $(DEFINES) INCPATH = -I/opt/qt-4.3.4/mkspecs/linux-g++ -I. -I. -I.. -I../.. -I../libavutil -I../libswscale -I. LINK = g++ LFLAGS = -Wl,-rpath,/opt/qt-4.3.4/lib -shared -Wl,-soname,libmythavcodec-0.22.so.0 LIBS = $(SUBLIBS) -L/usr/X11R6/lib -L../libavutil -lmythavutil-0.22 -lm -lasound -llirc_client -lfftw3_threads -lfftw3 -ldl -lz -lXvMCNVIDIA -lXvM C -lpthread AR = ar cqs RANLIB = QMAKE = /opt/qt/bin/qmake TAR = tar -cf COMPRESS = gzip -9f COPY = cp -f SED = sed COPY_FILE = $(COPY) COPY_DIR = $(COPY) -r INSTALL_FILE = install -m 644 -p INSTALL_DIR = $(COPY_DIR) INSTALL_PROGRAM = install -m 755 -p DEL_FILE = rm -f SYMLINK = ln -sf DEL_DIR = rmdir MOVE = mv -f CHK_DIR_EXISTS= test -d MKDIR = mkdir -p

####### Output directory

OBJECTS_DIR = ./

####### Files

...

Attachments (1)

settings.pro (3.9 KB) - added by Benoît LORAND <benoit.lorand@…> 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Benoît LORAND <benoit.lorand@…>

Attachment: settings.pro added

comment:1 Changed 11 years ago by danielk

Resolution: worksforme
Status: newclosed

We don't set an LIRC path, it should be in your standard link path.

comment:2 Changed 11 years ago by Benoît LORAND <benoit.lorand@…>

but that's work before ??

Note: See TracTickets for help on using tickets.