tuannv19 / idoubs

Automatically exported from code.google.com/p/idoubs
0 stars 0 forks source link

file was built for archive which is not the architecture being from tinyDAV libraries.. #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Downloaded Latest version of iDoubs as following its instruction
2. in tinySAK, changed Build Products Path (debug) from '.' to './build' to get 
rid of tinySAK issue in Products.  
3.Clicked  "run" to compile.. but crashed.. 

What is the expected output? What do you see instead?
I would expect to compile it nicely at the first time but it did not right 
after upgrading XCode to 4.32.  So I read these errors. It said that these 
libraries from tinyDAV are not built for Architecture of ARM7.. So I tried with 
ARMv6 and ARMv7 in that settings.. but it still crashes.. Any advise? 

What version of the product are you using? On what operating system?
Snow Leopard 10.6.6
XCode 4.3.2

Please provide any additional information below.

Ld ./build/Debug-iphoneos/iDoubs.app/iDoubs normal armv7
    cd /Users/pwr7549/ObjCProject/mydoubs/iPhone/idoubs
    setenv IPHONEOS_DEPLOYMENT_TARGET 4.0
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin"
    /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -L/Users/pwr7549/ObjCProject/mydoubs/iPhone/idoubs/build/Debug-iphoneos -L../../Doubango/thirdparties/iphone/lib/arm -F/Users/pwr7549/ObjCProject/mydoubs/iPhone/idoubs/build/Debug-iphoneos -filelist /Users/pwr7549/ObjCProject/mydoubs/iPhone/idoubs/./build/iDoubs.build/Debug-iphoneos/iDoubs.build/Objects-normal/armv7/iDoubs.LinkFileList -dead_strip -framework Foundation -framework UIKit -lopencore-amrnb -lgsm -lavutil -lavcore -lswscale -lavcodec -lx264 -logg -ltheora -ltheoraenc -miphoneos-version-min=4.0 -lresolv -framework AddressBook -framework AddressBookUI -framework AudioToolbox -ltinyDAV -ltinyHTTP -ltinyIPSEC -ltinyMEDIA -ltinyMSRP -ltinyNET -ltinyRTP -ltinySAK -ltinySDP -ltinySIGCOMP -ltinySIP -ltinySMS -ltinyXCAP -framework CoreGraphics -framework AVFoundation -framework CoreVideo -framework CoreMedia -lsqlite3.0 -framework CFNetwork -o /Users/pwr7549/ObjCProject/mydoubs/iPhone/idoubs/./build/Debug-iphoneos/iDoubs.app/iDoubs

ld: warning: ignoring file 
../../Doubango/thirdparties/iphone/lib/arm/libopencore-amrnb.a, file was built 
for archive which is not the architecture being linked (armv7)
ld: warning: ignoring file ../../Doubango/thirdparties/iphone/lib/arm/libgsm.a, 
file was built for archive which is not the architecture being linked (armv7)
ld: warning: ignoring file 
../../Doubango/thirdparties/iphone/lib/arm/libavutil.a, file was built for 
archive which is not the architecture being linked (armv7)
ld: warning: ignoring file 
../../Doubango/thirdparties/iphone/lib/arm/libavcore.a, file was built for 
archive which is not the architecture being linked (armv7)
ld: warning: ignoring file 
../../Doubango/thirdparties/iphone/lib/arm/libswscale.a, file was built for 
archive which is not the architecture being linked (armv7)
ld: warning: ignoring file 
../../Doubango/thirdparties/iphone/lib/arm/libavcodec.a, file was built for 
archive which is not the architecture being linked (armv7)
ld: warning: ignoring file 
../../Doubango/thirdparties/iphone/lib/arm/libx264.a, file was built for 
archive which is not the architecture being linked (armv7)
ld: warning: ignoring file ../../Doubango/thirdparties/iphone/lib/arm/libogg.a, 
file was built for archive which is not the architecture being linked (armv7)
ld: warning: ignoring file 
../../Doubango/thirdparties/iphone/lib/arm/libtheora.a, file was built for 
archive which is not the architecture being linked (armv7)
ld: warning: ignoring file 
../../Doubango/thirdparties/iphone/lib/arm/libtheoraenc.a, file was built for 
archive which is not the architecture being linked (armv7)
Undefined symbols for architecture armv7:
  "_avcodec_encode_video", referenced from:
      _tdav_codec_mp4ves_encode in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_h264_encode in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h263_encode in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_theora_encode in libtinyDAV.a(tdav_codec_theora.o)
      _tdav_codec_h261_encode in libtinyDAV.a(tdav_codec_h261.o)
  "_avcodec_find_decoder", referenced from:
      _tdav_codec_mp4ves_open in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_h264_init in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h263_init in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_theora_open in libtinyDAV.a(tdav_codec_theora.o)
      _tdav_codec_h261_open in libtinyDAV.a(tdav_codec_h261.o)
  "_avcodec_alloc_frame", referenced from:
      _tdav_codec_mp4ves_open in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_h264_open in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h263_open in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_theora_open in libtinyDAV.a(tdav_codec_theora.o)
      _tdav_codec_h261_open in libtinyDAV.a(tdav_codec_h261.o)
      _tdav_converter_video_convert in libtinyDAV.a(tdav_converter_video.o)
  "_avpicture_get_size", referenced from:
      _tdav_codec_mp4ves_open in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_mp4ves_decode in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_h264_open in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h264_decode in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h263_open in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_h263_decode in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_h263p_decode in libtinyDAV.a(tdav_codec_h263.o)
      ...
  "_gsm_create", referenced from:
      _tdav_codec_gsm_open in libtinyDAV.a(tdav_codec_gsm.o)
  "_av_malloc", referenced from:
      _tdav_converter_video_convert in libtinyDAV.a(tdav_converter_video.o)
  "_Encoder_Interface_init", referenced from:
      _tdav_codec_amrnb_open in libtinyDAV.a(tdav_codec_amr.o)
  "_avcodec_alloc_context", referenced from:
      _tdav_codec_mp4ves_open in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_h264_open in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h263_open in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_theora_open in libtinyDAV.a(tdav_codec_theora.o)
      _tdav_codec_h261_open in libtinyDAV.a(tdav_codec_h261.o)
  "_Decoder_Interface_exit", referenced from:
      _tdav_codec_amrnb_close in libtinyDAV.a(tdav_codec_amr.o)
      _tdav_codec_amr_deinit in libtinyDAV.a(tdav_codec_amr.o)
  "_avpicture_fill", referenced from:
      _tdav_codec_mp4ves_encode in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_h264_encode in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h263_encode in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_theora_encode in libtinyDAV.a(tdav_codec_theora.o)
      _tdav_codec_h261_encode in libtinyDAV.a(tdav_codec_h261.o)
      _tdav_converter_video_convert in libtinyDAV.a(tdav_converter_video.o)
  "_Decoder_Interface_Decode", referenced from:
      _tdav_codec_amr_be_decode in libtinyDAV.a(tdav_codec_amr.o)
      _tdav_codec_amr_oa_decode in libtinyDAV.a(tdav_codec_amr.o)
  "_gsm_decode", referenced from:
      _tdav_codec_gsm_decode in libtinyDAV.a(tdav_codec_gsm.o)
     (maybe you meant: _tdav_codec_gsm_decode)
  "_sws_freeContext", referenced from:
      _tdav_converter_video_dtor in libtinyDAV.a(tdav_converter_video.o)
  "_Encoder_Interface_Encode", referenced from:
      _tdav_codec_amr_be_encode in libtinyDAV.a(tdav_codec_amr.o)
      _tdav_codec_amr_oa_encode in libtinyDAV.a(tdav_codec_amr.o)
  "_avcodec_register_all", referenced from:
      _tdav_init in libtinyDAV.a(tdav.o)
  "_av_free", referenced from:
      _tdav_codec_mp4ves_close in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_h264_close in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h263_close in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_theora_close in libtinyDAV.a(tdav_codec_theora.o)
      _tdav_codec_h261_close in libtinyDAV.a(tdav_codec_h261.o)
      _tdav_converter_video_dtor in libtinyDAV.a(tdav_converter_video.o)
  "_av_init_packet", referenced from:
      _tdav_codec_mp4ves_decode in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_h264_decode in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h263_decode in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_h263p_decode in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_theora_decode in libtinyDAV.a(tdav_codec_theora.o)
      _tdav_codec_h261_decode in libtinyDAV.a(tdav_codec_h261.o)
  "_avcodec_get_frame_defaults", referenced from:
      _tdav_codec_mp4ves_open in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_h264_open in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h263_open in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_theora_open in libtinyDAV.a(tdav_codec_theora.o)
      _tdav_codec_h261_open in libtinyDAV.a(tdav_codec_h261.o)
  "_avpicture_layout", referenced from:
      _tdav_codec_mp4ves_decode in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_h264_decode in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h263_decode in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_h263p_decode in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_theora_decode in libtinyDAV.a(tdav_codec_theora.o)
      _tdav_codec_h261_decode in libtinyDAV.a(tdav_codec_h261.o)
  "_Decoder_Interface_init", referenced from:
      _tdav_codec_amrnb_open in libtinyDAV.a(tdav_codec_amr.o)
  "_avcodec_decode_video2", referenced from:
      _tdav_codec_mp4ves_decode in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_h264_decode in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h263_decode in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_h263p_decode in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_theora_decode in libtinyDAV.a(tdav_codec_theora.o)
      _tdav_codec_h261_decode in libtinyDAV.a(tdav_codec_h261.o)
  "_gsm_encode", referenced from:
      _tdav_codec_gsm_encode in libtinyDAV.a(tdav_codec_gsm.o)
     (maybe you meant: _tdav_codec_gsm_encode)
  "_avcodec_init", referenced from:
      _tdav_init in libtinyDAV.a(tdav.o)
  "_avcodec_open", referenced from:
      _tdav_codec_mp4ves_open in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_h264_open in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h263_open in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_theora_open in libtinyDAV.a(tdav_codec_theora.o)
      _tdav_codec_theora_decode in libtinyDAV.a(tdav_codec_theora.o)
      _tdav_codec_h261_open in libtinyDAV.a(tdav_codec_h261.o)
  "_avcodec_get_context_defaults", referenced from:
      _tdav_codec_mp4ves_open in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_h264_open in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h263_open in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_theora_open in libtinyDAV.a(tdav_codec_theora.o)
      _tdav_codec_h261_open in libtinyDAV.a(tdav_codec_h261.o)
  "_avcodec_find_encoder", referenced from:
      _tdav_codec_mp4ves_open in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_h264_init in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h263_init in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_theora_open in libtinyDAV.a(tdav_codec_theora.o)
      _tdav_codec_h261_open in libtinyDAV.a(tdav_codec_h261.o)
  "_avcodec_close", referenced from:
      _tdav_codec_mp4ves_close in libtinyDAV.a(tdav_codec_mp4ves.o)
      _tdav_codec_h264_close in libtinyDAV.a(tdav_codec_h264.o)
      _tdav_codec_h263_close in libtinyDAV.a(tdav_codec_h263.o)
      _tdav_codec_theora_close in libtinyDAV.a(tdav_codec_theora.o)
      _tdav_codec_h261_close in libtinyDAV.a(tdav_codec_h261.o)
  "_sws_scale", referenced from:
      _tdav_converter_video_convert in libtinyDAV.a(tdav_converter_video.o)
  "_gsm_destroy", referenced from:
      _tdav_codec_gsm_close in libtinyDAV.a(tdav_codec_gsm.o)
      _tdav_codec_gsm_dtor in libtinyDAV.a(tdav_codec_gsm.o)
  "_Encoder_Interface_exit", referenced from:
      _tdav_codec_amrnb_close in libtinyDAV.a(tdav_codec_amr.o)
      _tdav_codec_amr_deinit in libtinyDAV.a(tdav_codec_amr.o)
  "_sws_getContext", referenced from:
      _tdav_converter_video_convert in libtinyDAV.a(tdav_converter_video.o)
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status

Original issue reported on code.google.com by i...@powervrs.com on 29 Apr 2011 at 3:36

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 3 May 2011 at 8:22