Opened 10 years ago

Closed 10 years ago

#3561 closed defect (fixed)

AVFoundation input causes link failure

Reported by: Jeremy Huddleston Owned by: borgmann@nue170.nue.tu-berlin.de
Priority: normal Component: build system
Version: git-master Keywords: osx
Cc: michaelni@gmx.at Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

The darwin/armv7 buildbot stopped linking successfully between c486cfab792e53de3f5fc9f5082909ce687a3fe8 and eccec203978e53f897a3c6105d011bbdff2a978b

http://fate.ffmpeg.org/history.cgi?slot=arm-osx10.9-apple-clang

LD	ffmpeg_g
Undefined symbols for architecture armv7:
  "_CFRelease", referenced from:
      -[AVFFrameReceiver captureOutput:didOutputSampleBuffer:fromConnection:] in libavdevice.a(avfoundation.o)
      _avf_read_header in libavdevice.a(avfoundation.o)
      _avf_read_packet in libavdevice.a(avfoundation.o)
      _avf_close in libavdevice.a(avfoundation.o)
  "_CFRetain", referenced from:
      -[AVFFrameReceiver captureOutput:didOutputSampleBuffer:fromConnection:] in libavdevice.a(avfoundation.o)
  "_CFRunLoopRunInMode", referenced from:
      _avf_read_header in libavdevice.a(avfoundation.o)
  "_CVImageBufferGetEncodedSize", referenced from:
      _avf_read_header in libavdevice.a(avfoundation.o)
  "_CVPixelBufferGetBaseAddress", referenced from:
      _avf_read_packet in libavdevice.a(avfoundation.o)
  "_CVPixelBufferGetDataSize", referenced from:
      _avf_read_packet in libavdevice.a(avfoundation.o)
  "_CVPixelBufferLockBaseAddress", referenced from:
      _avf_read_packet in libavdevice.a(avfoundation.o)
  "_CVPixelBufferUnlockBaseAddress", referenced from:
      _avf_read_packet in libavdevice.a(avfoundation.o)
  "_OBJC_CLASS_$_NSAutoreleasePool", referenced from:
      objc-class-ref in libavdevice.a(avfoundation.o)
  "_OBJC_CLASS_$_NSDictionary", referenced from:
      objc-class-ref in libavdevice.a(avfoundation.o)
  "_OBJC_CLASS_$_NSNumber", referenced from:
      objc-class-ref in libavdevice.a(avfoundation.o)
  "_OBJC_CLASS_$_NSObject", referenced from:
      _OBJC_CLASS_$_AVFFrameReceiver in libavdevice.a(avfoundation.o)
  "_OBJC_METACLASS_$_NSObject", referenced from:
      _OBJC_METACLASS_$_AVFFrameReceiver in libavdevice.a(avfoundation.o)
  "__objc_empty_cache", referenced from:
      _OBJC_CLASS_$_AVFFrameReceiver in libavdevice.a(avfoundation.o)
      _OBJC_METACLASS_$_AVFFrameReceiver in libavdevice.a(avfoundation.o)
  "_kCFRunLoopDefaultMode", referenced from:
      _avf_read_header in libavdevice.a(avfoundation.o)
  "_kCVPixelBufferPixelFormatTypeKey", referenced from:
      _avf_read_header in libavdevice.a(avfoundation.o)
  "_objc_enumerationMutation", referenced from:
      _avf_read_header in libavdevice.a(avfoundation.o)
  "_objc_msgSend", referenced from:
      _avf_read_header in libavdevice.a(avfoundation.o)
      _avf_close in libavdevice.a(avfoundation.o)
  "_objc_msgSendSuper2", referenced from:
      -[AVFFrameReceiver initWithContext:] in libavdevice.a(avfoundation.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [ffmpeg_g] Error 1

I suspect this is fallout from:

commit d2417061ef50dbe606692fa24031e3d68cc6292b
Author: Thilo Borgmann <borgmann@nue170.nue.tu-berlin.de>
Date:   Fri Apr 11 17:29:07 2014 +0200

    Add AVFoundation input device.
    
    Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

avfoundation_indev_extralibs is missing:

-framework CoreVideo -framework Foundation

Change History (2)

comment:1 by Carl Eugen Hoyos, 10 years ago

Component: undeterminedbuild system
Keywords: osx added
Version: unspecifiedgit-master

comment:2 by Michael Niedermayer, 10 years ago

Reproduced by developer: set
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.