Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
    • Environment:

      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

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        4d 10h 50m 1 George Paul 25/Mar/10 16:32
        Resolved Resolved Closed Closed
        152d 10h 20m 1 Leif Hedstrom 25/Aug/10 03:52
        Gavin made changes -
        Workflow jira [ 12502490 ] TS Workflow [ 12522412 ]
        Leif Hedstrom made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        George Paul made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        George Paul added a comment -

        Hi Marcus,
        This should be resolved if you follow the latest "README.libev'.
        Please re-open if it does not work for you.
        regards,
        -George

        Show
        George Paul added a comment - Hi Marcus, This should be resolved if you follow the latest "README.libev'. Please re-open if it does not work for you. regards, -George
        Hide
        George Paul added a comment -

        Hi Marcus,
        Try following the updated instructions in the latest 'README.libev'.
        regards,
        -George

        Show
        George Paul added a comment - Hi Marcus, Try following the updated instructions in the latest 'README.libev'. regards, -George
        George Paul made changes -
        Field Original Value New Value
        Assignee George Paul [ georgep ]
        Marcus Clyne created issue -

          People

          • Assignee:
            George Paul
            Reporter:
            Marcus Clyne
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development