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

the "ON" defined in TS conflict with zlib-1.2.5.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.1.1
    • 3.1.1
    • Cleanup, Portability
    • None
    • gcc 4.6.1, zlib 1.2.5.1, ts trunk

    Description

      when building trunk with my fresh updated gentoo, TS fail at:

      x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H  -I. -I../../lib/ts  -I../../iocore/eventsystem -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils -I../../iocore/dns -I../../lib -I../../lib/records -I../../proxy -I../../proxy/hdrs -I../../proxy/http -I../../proxy/http/remap -I../../mgmt -I../../mgmt/preparse -I../../mgmt/utils -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Dlinux  -pipe -g -ggdb3 -fno-strict-aliasing -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT Inline.o -MD -MP -MF .deps/Inline.Tpo -c -o Inline.o Inline.cc
      In file included from RamCacheCLFUS.cc:30:0:
      /usr/include/zlib.h:1283:32: error: invalid conversion from 'char*' to 'int' [-fpermissive]
      /usr/include/zlib.h:1283:34: error: expected ',' or ';' before '(' token
      mv -f .deps/CacheHttp.Tpo .deps/CacheHttp.Po
      x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H  -I. -I../../lib/ts  -I../../iocore/eventsystem -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils -I../../iocore/dns -I../../lib -I../../lib/records -I../../proxy -I../../proxy/hdrs -I../../proxy/http -I../../proxy/http/remap -I../../mgmt -I../../mgmt/preparse -I../../mgmt/utils -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Dlinux  -pipe -g -ggdb3 -fno-strict-aliasing -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT CacheTest.o -MD -MP -MF .deps/CacheTest.Tpo -c -o CacheTest.o CacheTest.cc
      make[2]: *** [RamCacheCLFUS.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      

      Attachments

        1. TS-956.patch
          8 kB
          Zhao Yongming

        Activity

          People

            zym Zhao Yongming
            zym Zhao Yongming
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: