From: Arvont H. <spe...@ya...> - 2006-04-20 05:48:06
|
I had the same problem. I fixed it by configuring ffmpeg as follows ./configure --enable-shared when ffmpeg is built and installed check /usr/local/lib and you should see *.so lib files as opposed to *.a lib files. Check out this link to the FAQ http://www.lavrsen.dk/twiki/bin/view/Motion/FrequentlyAskedQuestions#I_got_this_message_when_I_tried --- aaron barrus <as_...@ya...> wrote: > Hi all, > > I have a Redhat FC5 box that I'm trying to install > motion on. I've downloaded the ffmpeg listed > on the motion home page, > ffmpeg-cvs-20060306-certified-with-motion-3.2.5.tar.gz, > built it, and > installed it. ./configure motion succeeds and > appears to find ffmpeg libraries correctly. But > when I make motion, I get this: > > Linking Motion... > -------------------------------------------------------------------------------- > gcc -L/usr/local/lib -o motion motion.o conf.o > draw.o video.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 -lm -lz > /usr/local/lib/libavformat.a(utils.o): In function > `dump_format': > /usr/src/ffmpeg/libavformat/utils.c:2621: undefined > reference to `ff_gcd' > /usr/src/ffmpeg/libavformat/utils.c:2608: undefined > reference to `av_rescale' > /usr/local/lib/libavformat.a(utils.o): In function > `compute_pkt_fields': > ... and eventually ... > /usr/src/ffmpeg/libavutil/common.h:370: undefined > reference to `ff_log2_tab' > /usr/src/ffmpeg/libavutil/common.h:370: undefined > reference to `ff_log2_tab' > /usr/local/lib/libavcodec.a(snow.o):/usr/src/ffmpeg/libavcodec/snow.c:3077: > more undefined > references to `ff_log2_tab' follow > collect2: ld returned 1 exit status > make: *** [motion] Error 1 > > Any suggestion? > > Thanks! > > Aaron > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support > web services, security? > Get stuff done quickly with pre-integrated > technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 > based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |