Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2453

does not build with automake 1.14

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Build
    • None

    Description

      it needs to add into .am files

      AUTOMAKE_OPTIONS= subdir-objects

      otherwise you will get lot of errors during compile. Tested on FreeBSD 10.

      automake-1.14: warnings are treated as errors
      example/Makefile.am:44: warning: source file 'add-header/add-header.c' is in a subdirectory,
      example/Makefile.am:44: but option 'subdir-objects' is disabled
      automake-1.14: warning: possible forward-incompatibility.
      automake-1.14: At least a source file is in a subdirectory, but the 'subdir-objects'
      automake-1.14: automake option hasn't been enabled. For now, the corresponding output
      automake-1.14: object file(s) will be placed in the top-level directory. However,
      automake-1.14: this behaviour will change in future Automake versions: they will
      automake-1.14: unconditionally cause object files to be placed in the same subdirectory
      automake-1.14: of the corresponding sources.
      automake-1.14: You are advised to start using 'subdir-objects' option throughout your
      automake-1.14: project, to avoid future incompatibilities.
      example/Makefile.am:45: warning: source file 'append-transform/append-transform.c' is in a subdirectory,
      example/Makefile.am:45: but option 'subdir-objects' is disabled
      example/Makefile.am:46: warning: source file 'basic-auth/basic-auth.c' is in a subdirectory,
      example/Makefile.am:46: but option 'subdir-objects' is disabled
      example/Makefile.am:47: warning: source file 'blacklist-0/blacklist-0.c' is in a subdirectory,
      example/Makefile.am:47: but option 'subdir-objects' is disabled
      example/Makefile.am:48: warning: source file 'blacklist-1/blacklist-1.c' is in a subdirectory,
      example/Makefile.am:48: but option 'subdir-objects' is disabled
      example/Makefile.am:49: warning: source file 'bnull-transform/bnull-transform.c' is in a subdirectory,
      example/Makefile.am:49: but option 'subdir-objects' is disabled
      example/Makefile.am:50: warning: source file 'cache-scan/cache-scan.cc' is in a subdirectory,
      example/Makefile.am:50: but option 'subdir-objects' is disabled
      example/Makefile.am:51: warning: source file 'file-1/file-1.c' is in a subdirectory,
      example/Makefile.am:51: but option 'subdir-objects' is disabled
      example/Makefile.am:52: warning: source file 'hello/hello.c' is in a subdirectory,
      example/Makefile.am:52: but option 'subdir-objects' is disabled
      example/Makefile.am:53: warning: source file 'lifecycle-plugin/lifecycle-plugin.c' is in a subdirectory,
      example/Makefile.am:53: but option 'subdir-objects' is disabled
      example/Makefile.am:54: warning: source file 'null-transform/null-transform.c' is in a subdirectory,
      example/Makefile.am:54: but option 'subdir-objects' is disabled
      example/Makefile.am:55: warning: source file 'output-header/output-header.c' is in a subdirectory,
      example/Makefile.am:55: but option 'subdir-objects' is disabled
      example/Makefile.am:56: warning: source file 'protocol/Protocol.c' is in a subdirectory,
      example/Makefile.am:56: but option 'subdir-objects' is disabled

      Attachments

        1. patch-tools-am
          0.4 kB
          Radim Kolar
        2. patch-aio-am
          0.4 kB
          Radim Kolar
        3. patch-cop-am
          0.4 kB
          Radim Kolar
        4. patch-eventsystem-am
          0.4 kB
          Radim Kolar
        5. patch-example-am
          0.4 kB
          Radim Kolar
        6. patch-mgmt-am
          0.4 kB
          Radim Kolar
        7. patch-mgmt-remote-am
          0.4 kB
          Radim Kolar
        8. patch-plugin-esi-am
          0.4 kB
          Radim Kolar
        9. patch-plugin-spdy-am
          0.4 kB
          Radim Kolar

        Issue Links

          Activity

            People

              jamespeach James Peach
              hsn Radim Kolar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: