On Thu, 4 Mar 2004, Maxwell Sayles wrote: > I'm trying to build mjpegtools1.6.2. I managed to build jmpeg-mmx-0.1.5 ...
> make[2]: Entering directory `/home/max/tmp/mjpegtools-1.6.2/lavtools' > /bin/sh ../libtool --mode=link gcc -mcpu=i686 -march=i686 -g -O2 -Wall > -Wunused -o lavplay lavplay.o ../utils/libmjpegutils.a liblavplay.la > liblavjpeg.la liblavfile.la -lpthread -L/usr/local/lib > -Wl,-rpath,/usr/local/lib -lSDL -lpthread -L/usr/X11R6/lib -lX11 > libtool: link: cannot find the library `' > make[2]: *** [lavplay] Error 1 > make[2]: Leaving directory `/home/max/tmp/mjpegtools-1.6.2/lavtools' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/max/tmp/mjpegtools-1.6.2' > make: *** [all] Error 2 > > if i remove the -lSDL parameter from the line, i don't get the line > libtool: link: cannot find the library `' That says something is awry with the SDL installation. > I have installed SDL-1.2.6 and that went without any errors. Ah, but what got installed might have a problem. What I suspect (and this is just a quick theory from glancing at the libtool script) is that libSDL.la file that got installed has a "'" problem. > I'm running slackware 9.0 with gcc3.2.2 and bash 2.05b.0(1) with /bin/sh > symlinked to /bin/bash. What version of libtool is installed on the system? libtool --version will provide that bit of information. If it's not 1.5 then an upgrade might be a good thing to try. Find the libSDL.la file (if you installed into /usr/local/lib then libSDL.la will be in that directory). Look at the line that starts "dependency_libs=". That is where I think the problem is. When you run make in the lavtools directory the 'libtool' script sees "-lSDL" and then goes and parses libSDL.la to pick up the dependent libraries. If there is a syntax error (such as a "-l" without a library argument, an extra ' character, etc) then that will manifest itself as the cryptic error you mentioned earlier. Cheers, Steven Schultz ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users