Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mikezang

macrumors 6502a
Original poster
May 22, 2010
861
9
Tokyo, Japan
I try to compile sample code of "05StockPlotMultiThreaded" in book "iPhone Advanced Projects", it is used open source project "Plausible Blocks", when I compile it, I got error as below, how can I solve this probelm?
Code:
Invalid value 'coop.plausible.blocks.compilers.gcc.4_2' for GCC_VERSION
[WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/main.m of type sourcecode.c.objc.
[WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/Classes/StockPlotAppDelegate.m of type sourcecode.c.objc.
[WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/Classes/RootViewController.m of type sourcecode.c.objc.
[WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/Classes/APYahooDataPullerGraph.m of type sourcecode.c.objc.
[WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/Classes/APYahooDataPuller.m of type sourcecode.c.objc.
[WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/Classes/NSDictionary+APFinancalData.m of type sourcecode.c.objc.
[WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/Classes/NSThread+PLBlocks.m of type sourcecode.c.objc.
[WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/Classes/NSOperationQueue+PLBlocks.m of type sourcecode.c.objc.
 

Attachments

  • SnapShot 2010-09-16 at 18.45.57.jpg
    SnapShot 2010-09-16 at 18.45.57.jpg
    303.6 KB · Views: 161

mikezang

macrumors 6502a
Original poster
May 22, 2010
861
9
Tokyo, Japan
ld: warning: directory '/Users/mikezang/Downloads/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/../../../pblocks/iPhone Runtime' following -F not found
ld: warning: directory '/Users/mikezang/Downloads/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/../../../plblocks/iPhone Runtime' following -F not found
Undefined symbols:
".objc_class_name_NSObject", referenced from:
.objc_class_name__PLAbstractBlock in PLBlocks(NSBlock.o)
"_OBJC_CLASS_$__PLConcreteStackBlock", referenced from:
_OBJC_CLASS_$__PLConcreteStackBlock$non_lazy_ptr in RootViewController.o
_OBJC_CLASS_$__PLConcreteStackBlock$non_lazy_ptr in APYahooDataPuller.o
(maybe you meant: _OBJC_CLASS_$__PLConcreteStackBlock$non_lazy_ptr)
ld: symbol(s) not found
collect2: ld returned 1 exit status
 

Attachments

  • SnapShot 2010-09-16 at 19.27.00.jpg
    SnapShot 2010-09-16 at 19.27.00.jpg
    306.6 KB · Views: 94

mikezang

macrumors 6502a
Original poster
May 22, 2010
861
9
Tokyo, Japan
I installed PLBlocks SDK, now I got error as below
Code:
ld: warning: directory '/Users/mikezang/Downloads/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/../../../pblocks/iPhone Runtime' following -F not found
ld: warning: directory '/Users/mikezang/Downloads/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/../../../plblocks/iPhone Runtime' following -F not found
Undefined symbols:
  ".objc_class_name_NSObject", referenced from:
      .objc_class_name__PLAbstractBlock in PLBlocks(NSBlock.o)
  "_OBJC_CLASS_$__PLConcreteStackBlock", referenced from:
      _OBJC_CLASS_$__PLConcreteStackBlock$non_lazy_ptr in RootViewController.o
      _OBJC_CLASS_$__PLConcreteStackBlock$non_lazy_ptr in APYahooDataPuller.o
     (maybe you meant: _OBJC_CLASS_$__PLConcreteStackBlock$non_lazy_ptr)
ld: symbol(s) not found
collect2: ld returned 1 exit status
 

Attachments

  • SnapShot 2010-09-16 at 19.38.24.jpg
    SnapShot 2010-09-16 at 19.38.24.jpg
    305.3 KB · Views: 88
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.