From: Steven M. <ste...@ax...> - 2012-08-06 18:52:00
|
Take the SVN version and compile it against a modern ffmpeg, you'll have less trouble! Le 6 août 2012 à 20:18, David Powell <da...@de...> a écrit : > I'm trying to compile Motion 3.2.12 with ffmpeg and mysql support. > Everything seems to go fine until right at the end at the link stage, > when I get the above error. I can't figure out how to get the linker to > tell me what it doesn't like, though. I tried adding "-Wl,-M,-V" to the > link step but it just shows the stuff it does like, not what it doesn't. > > <code> > > [motion-3.2.12]# make > Welcome to the setup procedure for Motion, the motion detection daemon! > If you get > error messages during this procedure, please report them to the mailing > list. The > Motion Guide contains all information you should need to get Motion up > and running. > Run "make updateguide" to download the latest version of the Motion Guide. > > Version: 3.2.12 > Platform: Linux (if this is incorrect, please read README.FreeBSD) > > Compiling Motion object files... > -------------------------------------------------------------------------------- > -------------------------------------------------------------------------------- > Motion object files compiled. > > Linking Motion... > -------------------------------------------------------------------------------- > gcc -L/usr/local/lib -o motion motion.o conf.o draw.o jpegutils.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 > webcam.o ffmpeg.o -lm -lpthread -ljpeg -L/usr/local/lib -lavformat > -lavcodec -lavutil -lm -lz -L/usr/lib -lmysqlclient -lz > collect2: error: ld returned 1 exit status > make: *** [motion] Error 1 > > </code> > > FWIW, the ffmpeg that I am using is the "approved for Motion" one from > the motion web site. > > Does anyone have any ideas about how to find the problem? > > Thanks, David > > -- > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome |