Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#3512 closed defect (fixed)

avdevice/qtkit.o is not built, but libavdevice.dylib still tries to find it at link time

Reported by: Hanspeter Niederstrasser Owned by:
Priority: important Component: build system
Version: git-master Keywords: osx
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


OS X 10.7, with Xcode 4.6.3, git HEAD

This configure:

../configure --prefix=/usr/local/ffmpeg-clang --samples=/src/ffmpeg/fate-suite --enable-shared --disable-static --extra-cflags=-I/sw/include --extra-ldflags='-L/sw/lib/libopenjpeg -L/sw/lib' --cc=clang

leads to this error:

clang -dynamiclib -Wl,-single_module -Wl,-install_name,/usr/local/ffmpeg-clang/lib/libavdevice.55.dylib,-current_version,55.11.100,-compatibility_version,55 -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -L/sw/lib/libopenjpeg -L/sw/lib  -Wl,-dynamic,-search_paths_first -Qunused-arguments -o libavdevice/libavdevice.55.dylib libavdevice/alldevices.o libavdevice/avdevice.o libavdevice/lavfi.o libavdevice/qtkit.o libavdevice/sdl.o -lavfilter -lavformat -lavcodec -lavutil -framework QTKit -framework Foundation -framework QuartzCore -framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore -liconv -ljack -L/sw/lib -Wl,-framework,Cocoa -lSDLmain -lSDL -lm -lbz2 -lz -pthread 
clang: error: no such file or directory: 'libavdevice/qtkit.o'
make: *** [libavdevice/libavdevice.55.dylib] Error 1

Change History (2)

comment:1 by Hanspeter Niederstrasser, 8 years ago

Resolution: fixed
Status: newclosed

comment:2 by Carl Eugen Hoyos, 8 years ago

Keywords: osx added
Priority: normalimportant
Version: unspecifiedgit-master
Note: See TracTickets for help on using tickets.