From: Žydrūnas U. <to...@gm...> - 2015-08-30 07:51:14
|
Please try modifying Makefile and append additional lib: -lvorbisenc Does that help? On Sun, Aug 30, 2015 at 10:35 AM, Gene Wildhart <gur...@gm...> wrote: > Searched Google extensively, but could not find an answer. Really hoping > someone here can help. I’m running on my RaspPi2 with Ubuntu 14.04 and I’ve > compiled ffmpeg from source with x264 support. But when going to compile > motion-mrdave git version, I keep getting stuck with a link error: > > Compiling Motion object files… > ——————————————————————————– > ——————————————————————————– > Motion object files compiled. > > Linking Motion… > ——————————————————————————– > gcc -L/usr/local/lib -o motion motion.o logger.o conf.o draw.o jpegutils.o > vloopback_motion.o video.o video2.o video_common.o netcam.o netcam_ftp.o > netcam_jpeg.o netcam_wget.o track.o alg.o event.o picture.o rotate.o > webhttpd.o stream.o md5.o netcam_rtsp.o ffmpeg.o sdl.o -lm -lpthread > -L/usr/lib/arm-linux-gnueabihf -lSDL -ljpeg -L/usr/local/lib -lavformat > -lavcodec -lavutil -lm -lz -lswscale -lsqlite3 > /usr/bin/ld: /usr/local/lib/libavcodec.a(libvorbisenc.o): undefined > reference to symbol ‘vorbis_encode_setup_vbr’ > //usr/lib/arm-linux-gnueabihf/libvorbisenc.so.2: error adding symbols: DSO > missing from command line > collect2: error: ld returned 1 exit status > make: *** [motion] Error 1 > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > > |