[Ffmpeg-devel] PATCH: swscale-example
Marc Hoffman
mmh
Thu Apr 26 13:16:10 CEST 2007
Diego Biurrun writes:
> On Wed, Apr 25, 2007 at 07:36:30AM -0400, Marc Hoffman wrote:
> >
> > I like this better as well.
>
> Applied.
>
> > Also the build system seem'd to be broken for me as my
> > system doesn't know how to make a -lm file. Is this build patch
> > acceptable?
> >
> > --- libswscale/Makefile (revision 23112)
> > +++ libswscale/Makefile (working copy)
> > @@ -18,7 +18,8 @@
> >
> > -swscale-example: swscale-example.o $(LIB) -lm
> > +swscale-example: swscale-example.o $(LIB)
> > + $(CC) $(CFLAGS) -o $@ $< $(LIB) ../libavutil/libavutil.a -lm
>
> Curious, what's the exact error message?
>
Diego,
Here is the message:
yoda:~/mp/libswscale mmh$ make swscale-example
bfin-linux-uclibc-gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -I. -I.. -I../libavutil -g -pipe -ffast-math -D_REENTRANT -c -o swscale-example.o swscale-example.c
make: *** No rule to make target `-lm', needed by `swscale-example'. Stop.
More information about the ffmpeg-devel
mailing list