#8 Does not build on OSX

v1.64
accepted
None
5
2014-04-28
2012-08-15
No

Using 10.7.4, Xcode 4.4.1.

Installed boost 1.50.0
./configure works
but make fails:

$ make
libtool --mode=compile --tag=CXX g++ -g -O2 -I. \ -c srec_cat/arglex3.cc -o srec_cat/arglex3.lo
libtool: unknown option character `-' in: --mode=compile
Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
make: *** [srec_cat/arglex3.lo] Error 1

Can't make sense of it. Any suggestions other than to switch to Linux?

Related

Discussion: test l2h-crc-16 fails on OS X

Discussion

  • Scott Finneran
    Scott Finneran
    2014-04-28

    Working (with the help of a couple of Mac users) to come up with necessary changes and instructions to build Mac versions.

     
    • Peter Miller
      Peter Miller
      2014-04-29

      On Mon, 2014-04-28 at 09:52 +0000, Scott Finneran wrote:

      $ make
      libtool --mode=compile --tag=CXX g++ -g -O2 -I. \ -c srec_cat/arglex3.cc -o srec_cat/arglex3.lo
      libtool: unknown option character `-' in: --mode=compile
      Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]
      Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file\_system\_path>] [-all_load] [-noall_load]
      make: *** [srec_cat/arglex3.lo] Error 1

      Can't make sense of it. Any suggestions other than to switch to Linux?

      This looks like a libtool bug.

      Being based on on of the *BSD systems, srecord should work as well as it
      does for Linux. A double check for compiling on FreeBSD may be a good
      exercise.

      --
      Regards
      Peter Miller pmiller@opensource.org.au
      /\/* http://miller.emu.id.au/pmiller/

      PGP public key ID: 1024D/D0EDB64D
      fingerprint = AD0A C5DF C426 4F03 5D53 2BDB 18D8 A4E2 D0ED B64D
      See http://pgp.mit.edu/ or any PGP keyserver for public key.

      Please note that Peter Miller is terminally ill (Chronic Lymphocytic
      Leukaemia). He hopes to live to see his son's graduation in June 2014.
      Please remember this when requesting his precious remaining time.

      "So long as men worship the Caesars and Napoleons, Caesars and Napoleons
      will duly arise and make them miserable." -- Aldous Huxley

       
  • Scott Finneran
    Scott Finneran
    2014-04-28

    • status: open --> accepted
    • assigned_to: Scott Finneran
    • Group: --> v1.64