Hi All, I think I have got all the dependencies configured using the CFLAGS and LDFLAGS variables. But I am running into undefined reference now. Please see below.
Am I using the wrong version of faac or compiled something wrong? I am using version faac-1.28 for this compile. thanks -simon ============================= make all-recursive make[1]: Entering directory `/local/home/build/cinelerra/my_cinelerra' Making all in libmpeg3 make[2]: Entering directory `/local/home/build/cinelerra/my_cinelerra/libmpeg3' Making all in audio make[3]: Entering directory `/local/home/build/cinelerra/my_cinelerra/libmpeg3/audio' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/local/home/build/cinelerra/my_cinelerra/libmpeg3/audio' Making all in video make[3]: Entering directory `/local/home/build/cinelerra/my_cinelerra/libmpeg3/video' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/local/home/build/cinelerra/my_cinelerra/libmpeg3/video' make[3]: Entering directory `/local/home/build/cinelerra/my_cinelerra/libmpeg3' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/local/home/build/cinelerra/my_cinelerra/libmpeg3' make[2]: Leaving directory `/local/home/build/cinelerra/my_cinelerra/libmpeg3' Making all in quicktime make[2]: Entering directory `/local/home/build/cinelerra/my_cinelerra/quicktime' Making all in encore50 make[3]: Entering directory `/local/home/build/cinelerra/my_cinelerra/quicktime/encore50' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/local/home/build/cinelerra/my_cinelerra/quicktime/encore50' Making all in ffmpeg make[3]: Entering directory `/local/home/build/cinelerra/my_cinelerra/quicktime/ffmpeg' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/local/home/build/cinelerra/my_cinelerra/quicktime/ffmpeg' make[3]: Entering directory `/local/home/build/cinelerra/my_cinelerra/quicktime' /bin/sh ../libtool --tag=CC --tag=CC --mode=link gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MMX -DUSE_MMX -DX86_CPU -I/local/home/tools/libtheora/libtheora-1.1.1/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include -I/local/home/tools/mjpegtools/mjpegtools-2.0.0/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include/mjpegtools -I/local/home/tools/mjpegtools/mjpegtools-2.0.0/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include/mjpegtools/mpeg2enc -I/local/home/tools/mjpegtools/mjpegtools-2.0.0/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include/mjpegtools/mplex -I/local/home/tools/libdv/libdv-1.0.0/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include -DENCORE_INCLUDE=\"encore50/encore.h\" -I../quicktime/ffmpeg -I/local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include -I/local/home/tools/liba52/liba52-0.7.4/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include -I/local/home/tools/faac/faac-1.28/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include -I/local/home/tools/lame/lame-3.98.4/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include -I/local/home/tools/fftw/fftw-3.2.2/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include -L/local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -lx264 -lpthread -L/local/home/tools/liba52/liba52-0.7.4/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -la52 -L/local/home/tools/faac/faac-1.28/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -lfaac -L/local/home/tools/fftw/fftw-3.2.2/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -lfftw3 -L/local/home/tools/lame/lame-3.98.4/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -lmp3lame -o libquicktimehv.la -rpath /usr/local/lib -version-info 1:0:0 -release 1.6.0 -Wl,--no-undefined atom.lo avcc.lo avi_hdrl.lo avi_idx1.lo avi_movi.lo avi_strl.lo avi_odml.lo avi_ix.lo avi_indx.lo avi_riff.lo cmodel_default.lo cmodel_float.lo cmodel_yuv420p.lo cmodel_yuv422.lo codecs.lo colormodels.lo ctab.lo dinf.lo dref.lo edts.lo elst.lo esds.lo graphics.lo hdlr.lo ima4.lo interlacemodes.lo jpeg.lo libdv.lo libmjpeg.lo matrix.lo mdat.lo mdhd.lo mdia.lo minf.lo moov.lo mp4a.lo mvhd.lo plugin.lo qtcache.lo qtdv.lo qtffmpeg.lo qth264.lo qtpng.lo qtmp3.lo quicktime.lo raw.lo rawaudio.lo rle.lo smhd.lo sowt.lo stbl.lo stco.lo stsc.lo stsd.lo stsdtable.lo stss.lo stsz.lo stts.lo tkhd.lo trak.lo twos.lo udta.lo ulaw.lo util.lo v308.lo v408.lo v410.lo vmhd.lo vbraudio.lo vorbis.lo workarounds.lo yuv2.lo yuv4.lo yv12.lo wmx2.lo wma.lo mpeg4.lo -L../quicktime/ffmpeg/libavcodec -lavcodec-cinelerra -L../quicktime/ffmpeg/libavutil -lavutil-cinelerra -logg -lvorbis -lm -logg -lvorbisenc -lvorbis -lm -logg -lvorbisfile -lvorbis -lm -logg -L/local/home/tools/libtheora/libtheora-1.1.1/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -ltheora -logg -lmp3lame -lfaac encore50/libencore.la ../libmpeg3/ libmpeg3hv.la-L/local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -lx264 -lpthread -L/local/home/tools/libdv/libdv-1.0.0/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -ldv -lm -ljpeg -lpng -lz -lpthread -lm -lm -ldl -lpthread gcc -shared .libs/atom.o .libs/avcc.o .libs/avi_hdrl.o .libs/avi_idx1.o .libs/avi_movi.o .libs/avi_strl.o .libs/avi_odml.o .libs/avi_ix.o .libs/avi_indx.o .libs/avi_riff.o .libs/cmodel_default.o .libs/cmodel_float.o .libs/cmodel_yuv420p.o .libs/cmodel_yuv422.o .libs/codecs.o .libs/colormodels.o .libs/ctab.o .libs/dinf.o .libs/dref.o .libs/edts.o .libs/elst.o .libs/esds.o .libs/graphics.o .libs/hdlr.o .libs/ima4.o .libs/interlacemodes.o .libs/jpeg.o .libs/libdv.o .libs/libmjpeg.o .libs/matrix.o .libs/mdat.o .libs/mdhd.o .libs/mdia.o .libs/minf.o .libs/moov.o .libs/mp4a.o .libs/mvhd.o .libs/plugin.o .libs/qtcache.o .libs/qtdv.o .libs/qtffmpeg.o .libs/qth264.o .libs/qtpng.o .libs/qtmp3.o .libs/quicktime.o .libs/raw.o .libs/rawaudio.o .libs/rle.o .libs/smhd.o .libs/sowt.o .libs/stbl.o .libs/stco.o .libs/stsc.o .libs/stsd.o .libs/stsdtable.o .libs/stss.o .libs/stsz.o .libs/stts.o .libs/tkhd.o .libs/trak.o .libs/twos.o .libs/udta.o .libs/ulaw.o .libs/util.o .libs/v308.o .libs/v408.o .libs/v410.o .libs/vmhd.o .libs/vbraudio.o .libs/vorbis.o .libs/workarounds.o .libs/yuv2.o .libs/yuv4.o .libs/yv12.o .libs/wmx2.o .libs/wma.o .libs/mpeg4.o -Wl,--whole-archive encore50/.libs/libencore.a -Wl,--no-whole-archive -Wl,--rpath -Wl,/local/home/tools/liba52/liba52-0.7.4/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -Wl,--rpath -Wl,/local/home/tools/libtheora/libtheora-1.1.1/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -Wl,--rpath -Wl,/local/home/tools/lame/lame-3.98.4/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -Wl,--rpath -Wl,/local/home/tools/faac/faac-1.28/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -Wl,--rpath -Wl,/local/home/build/cinelerra/my_cinelerra/libmpeg3/.libs -Wl,--rpath -Wl,/local/home/tools/libdv/libdv-1.0.0/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -Wl,--rpath -Wl,/local/home/tools/liba52/liba52-0.7.4/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -Wl,--rpath -Wl,/local/home/tools/libtheora/libtheora-1.1.1/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -Wl,--rpath -Wl,/local/home/tools/lame/lame-3.98.4/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -Wl,--rpath -Wl,/local/home/tools/faac/faac-1.28/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/local/home/tools/libdv/libdv-1.0.0/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -L/local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -L/local/home/tools/liba52/liba52-0.7.4/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib /local/home/tools/liba52/liba52-0.7.4/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib/liba52.so -L/local/home/tools/faac/faac-1.28/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -L/local/home/tools/fftw/fftw-3.2.2/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib /local/home/tools/fftw/fftw-3.2.2/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib/libfftw3.a -L/local/home/tools/lame/lame-3.98.4/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib -L/local/home/build/cinelerra/my_cinelerra/quicktime/ffmpeg/libavcodec -lavcodec-cinelerra -L/local/home/build/cinelerra/my_cinelerra/quicktime/ffmpeg/libavutil -lavutil-cinelerra -lvorbisenc -lvorbisfile -lvorbis -L/local/home/tools/libtheora/libtheora-1.1.1/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib /local/home/tools/libtheora/libtheora-1.1.1/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib/libtheora.so -logg /local/home/tools/lame/lame-3.98.4/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib/libmp3lame.so /local/home/tools/faac/faac-1.28/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib/libfaac.so ../libmpeg3/.libs/libmpeg3hv.so -lx264 -L/local/home/tools/libdv/libdv-1.0.0/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib /local/home/tools/libdv/libdv-1.0.0/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib/libdv.so -ljpeg -lpng -lz -lm -ldl -lpthread -Wl,--no-undefined -Wl,-soname -Wl,libquicktimehv-1.6.0.so.1 -o .libs/libquicktimehv-1.6.0.so.1.0.0 .libs/mp4a.o: In function `delete_codec': mp4a.c:(.text+0x2f): undefined reference to `faacDecClose' .libs/mp4a.o: In function `decode': mp4a.c:(.text+0x175): undefined reference to `faacDecOpen' mp4a.c:(.text+0x18b): undefined reference to `faacDecGetCurrentConfiguration' mp4a.c:(.text+0x1b6): undefined reference to `faacDecSetConfiguration' mp4a.c:(.text+0x207): undefined reference to `faacDecInit' mp4a.c:(.text+0x2a4): undefined reference to `faacDecDecode' collect2: ld returned 1 exit status make[3]: *** [libquicktimehv.la] Error 1 make[3]: Leaving directory `/local/home/build/cinelerra/my_cinelerra/quicktime' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/local/home/build/cinelerra/my_cinelerra/quicktime' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/local/home/build/cinelerra/my_cinelerra' make: *** [all] Error 2 =============================== On Mon, Feb 28, 2011 at 7:08 PM, Simon Su <[email protected]> wrote: > Hi Hannes, > > Did you actually look into config.log? You will see the compiler command >> that >> was used. In my case, there is no -I/something because I have the library >> installed in standard locations. >> >> > :) > > ==== config.log on x264 lines ============== > > configure:25874: checking for LIBX264 > > configure:25900: $PKG_CONFIG --exists --print-errors "x264" > configure:25903: $? = 0 > configure:25939: result: yes > > configure:25953: checking x264.h usability > configure:25965: gcc -c -g -O2 conftest.c >&5 > > conftest.c:66:18: error: x264.h: No such file or directory > configure:25971: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "Cinelerra" > | #define PACKAGE_TARNAME "cinelerra" > > > > >> Perhaps you should do that, too? (/usr/local is sufficiently standard >> these >> days, I think.) >> >> > > you are right.... my problem now is, I have to run/compile it on a > government system that I can only restart X, mount certain ISO files, and > reboot the machine. If I have access to /usr/local that would be awesome and > we won't have a problem. > > > > >> > > > 2. How do I let the configure knows I have liba52 installed at >> > > >> > > >> /local/home/tools/liba52/liba52-0.7.4/sms.Linux-2.6.18-194.26.1.el5.x86_6 >> > >4. >> > > >> > > >gcc-4.1.2.release >> > > >> > > Setting the environment as above should be sufficient. >> > >> > and for liba52, digging around the configure file generated, I don't >> even >> > have a way to provide a hook into the configuration process to let the >> > configuration knows where liba52 installation is located. Any thoughts >> on >> > this? what environment variable to set? liba52 doesn't support >> pkg-config >> > method and the configure.in is also not using pkg-config to get the >> headers >> > and the library files. >> >> You can always say >> >> xxx=/that/long/path/name >> ./configure CC="gcc -I$xxx -L$xxx" CXX="g++ -I$xxx -L$xxx" >> >> > good idea... let me give it a try.... if not, I guess the system admin will > have to be the one compiling the package for me since they tie my hands..... > > thanks > -simon > > >> -- Hannes >> >> _______________________________________________ >> Cinelerra mailing list >> [email protected] >> https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra >> > > >
