[FFmpeg-user] compiling tools/ismindex.c

Roger Pack rogerdpack2 at gmail.com
Thu Jul 10 15:42:48 CEST 2014


On Fri, Jul 4, 2014 at 11:12 AM, Moritz Barsnick <barsnick at gmx.net> wrote:

> On Fri, Jul 04, 2014 at 10:38:10 -0600, Roger Pack wrote:
> > Is there an approved/easy way to build tools/XXX ?
> > like "make tools/lsmindex" but it has all the linker options setup for
> you?
>
> For me, it seems to be set up correctly if I call "make" from the
> top-level directory. I get a functional binary. See the command below.
>
> Are you looking for something else?
>
> Moritz
>
> $ make V=1 tools/ismindex
>

I'm sure that's what I'm looking for, however, for me, cross compiling,
this is what I get:

ffmpeg_git$ make V=1 tools/ismindex
make: *** No rule to make target `tools/ismindex'. Stop.

Oh wait, but this works:

fmpeg_git$ make V=1 tools/ismindex.exe

phew, thanks for the pointer!
-roger-



> icc -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600
> -I/usr/new/tools/video/install/x264/current/include
> -I/usr/new/tools/video/install/fdk-aac/current/include -std=c99
> -fomit-frame-pointer -pthread  -I/usr/include/freetype2
> -I/usr/include/freetype2 -I/usr/kerberos/include
>  -I/usr/new/tools/video/install/vid.stab/20140104/include -D_GNU_SOURCE=1
> -D_REENTRANT -I/usr/include/SDL -g -Wdeclaration-after-statement -Wall
> -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings
> -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast
> -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch
> -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno
> -fno-signed-zeros -w1 -wd144,167,188,556,1292,1419,10006,10148,10156
> -falign-stack=maintain-16-byte  -MMD -c -o tools/ismindex.o tools/ismindex.c
> tools/ismindex.c(129): warning #3179: deprecated conversion of string
> literal to char* (should be const char*)
>           const char *type    = track->is_video ? "video" : "audio";
>                                                           ^
>
> tools/ismindex.c(409): warning #3179: deprecated conversion of string
> literal to char* (should be const char*)
>           const char *type    = track->is_video ? "video" : "audio";
>                                                           ^
>
> icc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample
> -Llibavutil -Llibpostproc -Llibswscale -Llibswresample
> -L/usr/new/tools/video/install/x264/current/lib
> -L/usr/new/tools/video/install/fdk-aac/current/lib  -Wl,--as-needed
> -Wl,--warn-common
> -Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample
> -wd10156,11030 -o tools/ismindex tools/ismindex.o -lavformat -lavcodec
> -lswresample -lavutil -lXv -lX11 -lXext -lXfixes -lXext -lX11
> -lcdio_paranoia -lcdio_cdda -lcdio -ljack -lasound -lSDL -lpthread -lgcrypt
> -lopenal -lx264 -L/usr/new/tools/video/install/vid.stab/20140104/lib
> -lvidstab -lv4l2 -L/usr/kerberos/lib -lrtmp -lssl -lcrypto -ldl -lz
> -lopenjpeg -DOPJ_STATIC -lopencore-amrwb -lopencore-amrnb -lmp3lame
> -lfreetype -lfdk-aac -lass -lgnutls -lm -lbz2 -lz -pthread -lrt
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list