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

Compiling trunk on Fedora15/i686 fails

    XMLWordPrintableJSON

Details

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

    Description

      Compiling newest trunk I receive the error message:

      make[2]: Entering directory `/home/tr/x/trafficserver/iocore/eventsystem'
      g++ -DHAVE_CONFIG_H -I. -I../../lib/ts -I../../lib -I../../lib/records -I../../lib/ts -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dlinux -march=i586 -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -MT UnixEventProcessor.o -MD -MP -MF .deps/UnixEventProcessor.Tpo -c -o UnixEventProcessor.o UnixEventProcessor.cc
      UnixEventProcessor.cc: In member function ‘virtual int EventProcessor::start(int)’:
      UnixEventProcessor.cc:186:194: error: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘ink_thread

      {aka long unsigned int}’ [-Werror=format]
      UnixEventProcessor.cc:188:240: error: format ‘%u’ expects argument of type ‘unsigned int’, but argument 8 has type ‘ink_thread {aka long unsigned int}

      [-Werror=format]
      cc1plus: all warnings being treated as errors
      make[2]: *** [UnixEventProcessor.o] Error 1

      This happens on a Fedora release 15 system running 2.6.43.8-1.fc15.i686.PAE #1 SMP Mon Jun 4 20:21:39 UTC 2012 i686 i686 i386 GNU/Linux

      Attachments

        Issue Links

          Activity

            People

              zwoop Leif Hedstrom
              hurga C.R.
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: