[vlc-devel] MobileVLC compile problems

zongfei zhang zongfei.zhang at gmail.com
Tue Nov 30 16:03:59 CET 2010


hi all,

I am trying to compile MobileVLC for iphone simulator following the steps
described at :http://wiki.videolan.org/MobileVLC , I met the problems below,
please help me.
thanks in advance.

Ld build/Debug-iphonesimulator/VLC.app/VLC normal i386

cd /Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC

setenv MACOSX_DEPLOYMENT_TARGET 10.5

setenv PATH
"/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
-arch i386 -isysroot
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk
-L/Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/build/Debug-iphonesimulator
-L/Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/External/MobileVLCKit
-L/Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/External/MediaLibraryKit
-F/Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/build/Debug-iphonesimulator
-filelist
/Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/build/MobileVLC.build/Debug-iphonesimulator/MobileVLC.build/Objects-normal/i386/VLC.LinkFileList
-mmacosx-version-min=10.5 -lMobileVLCKit -framework Foundation -framework
UIKit -framework CoreGraphics -framework OpenGLES -framework AudioToolbox
-framework QuartzCore -liconv -lz -lsqlite3 -lstdc++.6 -lbz2 -lxml2
-framework CoreData -lMobileMediaLibraryKit -framework CoreText -framework
MediaPlayer -o
/Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/build/Debug-iphonesimulator/VLC.app/VLC


ld: warning: can't add line info to anonymous symbol
__ZL7ConnectP7demux_t.lsda from
/Users/zongfeizhang/Documents/xcode_project/VLC_Mobile/MobileVLC/External/MobileVLCKit/libMobileVLCKit.a(liblive555_plugin_la-live555.o)

Undefined symbols:

  "_OBJC_CLASS_$_CAEAGLLayer", referenced from:

      objc-class-ref-to-CAEAGLLayer in
libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)

  "___objc_personality_v0", referenced from:

      ___objc_personality_v0$non_lazy_ptr in
libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)

     (maybe you meant: ___objc_personality_v0$non_lazy_ptr)

  "_OBJC_CLASS_$_EAGLContext", referenced from:

      objc-class-ref-to-EAGLContext in
libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)

  "_OBJC_CLASS_$_NSAutoreleasePool", referenced from:

      objc-class-ref-to-NSAutoreleasePool in
libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)

  "_OBJC_CLASS_$_NSString", referenced from:

      objc-class-ref-to-NSString in
libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)

  "_OBJC_CLASS_$_NSAssertionHandler", referenced from:

      objc-class-ref-to-NSAssertionHandler in
libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)

  "_objc_msgSendSuper2", referenced from:

      -[VLCOpenGLESVideoView dealloc] in
libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)

      -[VLCOpenGLESVideoView initWithFrame:andVOutDisplay:] in
libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)

  "_OBJC_METACLASS_$_UIView", referenced from:

      _OBJC_METACLASS_$_VLCOpenGLESVideoView in
libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)

  "__objc_empty_vtable", referenced from:

      _OBJC_METACLASS_$_VLCOpenGLESVideoView in
libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)

      _OBJC_CLASS_$_VLCOpenGLESVideoView in
libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)

  "_OBJC_METACLASS_$_NSObject", referenced from:

      _OBJC_METACLASS_$_VLCOpenGLESVideoView in
libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)

  "_OBJC_CLASS_$_NSDictionary", referenced from:

      objc-class-ref-to-NSDictionary in
libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)

  "_OBJC_CLASS_$_UIView", referenced from:

      _OBJC_CLASS_$_VLCOpenGLESVideoView in
libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)

      objc-class-ref-to-UIView in
libMobileVLCKit.a(libvout_ios_plugin_la-ios.o)

ld: symbol(s) not found

collect2: ld returned 1 exit status

-- 
Best Regards
Zongfei Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20101130/8abf3e53/attachment.html>


More information about the vlc-devel mailing list