title: Compiling Sphere_2.6a library on Mac OS X
body: <p>I am trying to compiling sphere_2.6a library on Mac OS X. At the beginning the following parameters are required:</p>
  
  <pre><code>Defined Commands and Options:
    Compiler           = gcc
    Compiler options   = -g -m32 -DNARCH_UNIX
    Install            = cp
    Ranlib             = ranlib
    Archiver           = ar ru
  </code></pre>
  
  <p>The is that I get the following error output:</p>
  
  <pre><code>Undefined symbols for architecture i386:
  "_hs_getopt", referenced from:
     _main in cc36C6uK.o
  "_hs_optind", referenced from:
     _main in cc36C6uK.o
  "_sp_create_header", referenced from:
    _main in cc36C6uK.o
  "_sp_fpcopy", referenced from:
    _main in cc36C6uK.o
  "_sp_get_version", referenced from:
    _main in cc36C6uK.o
  "_sp_verbose", referenced from:
    _main in cc36C6uK.o
  "_sp_write_header", referenced from:
    _main in cc36C6uK.o
  ld: symbol(s) not found for architecture i386
  collect2: ld returned 1 exit status
  make[2]: *** [h_add] Error 1
  </code></pre>
  
  <p>Does anybody know where is the problem?</p>
  
  <p>Thanks a lot,
  Giovanni</p>