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

Cannot compile with Libev

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.1.0
    • 2.1.0
    • None
    • Ubuntu 9.10, Linux 2.6.31-14-generic x86_64 and Ubuntu 8.04, 2.6.18-028stab067 32-bit

    Description

      I tried to compiled TS with libev on both my 64-bit laptop and 32-bit Virtuozzo VPS machines, but it failed to build. I get the following errors in both instances :

      rpath -Wl,/simpl/apps/pcre/8.02/lib -Wl,-rpath -Wl,/simpl/apps/sqlite/3.6.23/lib -Wl,-rpath -Wl,/simpl/apps/libev/3.9/lib
      ../iocore/net/libinknet.a(UnixNet.o): In function `PollCont::pollEvent(int, Event*)':
      /simpl/src/trafficserver-trunk-build/2/iocore/net/../../../../trafficserver-trunk/iocore/net/UnixNet.cc:116: undefined reference to `fd_reify'
      ../iocore/net/libinknet.a(UnixNet.o): In function `EventIO::modify(int)':
      /simpl/src/trafficserver-trunk-build/2/iocore/net/../../../../trafficserver-trunk/iocore/net/P_UnixNet.h:545: undefined reference to `fd_change'
      /simpl/src/trafficserver-trunk-build/2/iocore/net/../../../../trafficserver-trunk/iocore/net/P_UnixNet.h:545: undefined reference to `fd_change'
      ../iocore/net/libinknet.a(UnixNet.o): In function `NetHandler::mainNetEvent(int, Event*)':
      /simpl/src/trafficserver-trunk-build/2/iocore/net/../../../../trafficserver-trunk/iocore/net/UnixNet.cc:336: undefined reference to `fd_reify'
      ../iocore/net/libinknet.a(UnixNet.o): In function `EventIO::modify(int)':
      /simpl/src/trafficserver-trunk-build/2/iocore/net/../../../../trafficserver-trunk/iocore/net/P_UnixNet.h:545: undefined reference to `fd_change'
      /simpl/src/trafficserver-trunk-build/2/iocore/net/../../../../trafficserver-trunk/iocore/net/P_UnixNet.h:545: undefined reference to `fd_change'
      ../iocore/net/libinknet.a(UnixNetVConnection.o): In function `EventIO::modify(int)':
      /simpl/src/trafficserver-trunk-build/2/iocore/net/../../../../trafficserver-trunk/iocore/net/P_UnixNet.h:545: undefined reference to `fd_change'
      /simpl/src/trafficserver-trunk-build/2/iocore/net/../../../../trafficserver-trunk/iocore/net/P_UnixNet.h:545: undefined reference to `fd_change'
      /simpl/src/trafficserver-trunk-build/2/iocore/net/../../../../trafficserver-trunk/iocore/net/P_UnixNet.h:545: undefined reference to `fd_change'
      ../iocore/net/libinknet.a(UnixNetVConnection.o):/simpl/src/trafficserver-trunk-build/2/iocore/net/../../../../trafficserver-trunk/iocore/net/P_UnixNet.h:545: more undefined references to `fd_change' follow
      collect2: ld returned 1 exit status
      make[3]: *** [traffic_server] Error 1
      make[3]: Leaving directory `/mnt/data/simpl/src/trafficserver-trunk-build/2/proxy'
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory `/mnt/data/simpl/src/trafficserver-trunk-build/2/proxy'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/mnt/data/simpl/src/trafficserver-trunk-build/2'

      Build with :

      --enable-libev --with-pcre=/path/to/pcre -I/path/to/libev

      Attachments

        Activity

          People

            georgep George Paul
            eugaia Marcus Clyne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: