Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #2209

Closed
Open
Created Nov 22, 2010 by Andrew Lewman@andrew

compiling shim against libevent2 static fails

compiled and installed libevent 2.0.8-rc. cloned latest shim.git, configured as: LIBEVENT_LIBS=/usr/local/lib/libevent.a ./configure --disable-direct-connections && make.

make errors out with:

gcc -I./compat -g -O2 -Wall -o shim shim-main.o shim-proxy.o shim-httpconn.o shim-conn.o shim-headers.o shim-log.o shim-util.o /usr/local/lib/libevent.a /usr/local/lib/libevent.a(event.o): In function gettime': /home/phobos/Downloads/libevent/event.c:352: undefined reference to clock_gettime' /usr/local/lib/libevent.a(event.o): In function detect_monotonic': /home/phobos/Downloads/libevent/event.c:326: undefined reference to clock_gettime' collect2: ld returned 1 exit status

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking