Gearman 0.25 compilation error

68 views
Skip to first unread message

Aravind M D

unread,
Mar 23, 2012, 5:03:07 AM3/23/12
to gea...@googlegroups.com
Hi All,

I am trying to compile gearmand from source. My OS is Debian squeeze and Gearman version trying to compile is 0.25

gearmand-0.25# ./configure --prefix=/opt/gearman --enable-coverage --enable-dtrace --enable-profiling
                       [ ............... ]
---
Configuration summary for gearmand version 0.25

   * Installation prefix:       /opt/gearman
   * System type:               unknown-linux-gnu
   * Host CPU:                  x86_64
   * C Compiler:                gcc (Debian 4.4.5-8) 4.4.5
   * Assertions enabled:        yes
   * Debug enabled:             no
   * Warnings as failure:       no
   * Building with libsqlite3   no
   * Building with libdrizzle   no
   * Building with libmemcached no
   * Building with libpq        no
   * Building with tokyocabinet no

---

gearmand-0.25# make
                    [..............]
                    CXXLD  bin/gearman
  CXX    libtest/libtest_unittest-unittest.o
  CXXLD  gearmand/gearmand
  CXXLD  libtest/unittest
  CXX    libtest/skiptest.o
  CXXLD  libtest/skiptest
  CXX    benchmark/blobslap_client.o
  CXXLD  benchmark/blobslap_client
  CXX    benchmark/benchmark_blobslap_worker-blobslap_worker.o
  CXXLD  benchmark/blobslap_worker
benchmark/.libs/libbenchmark.a(benchmark.o): In function `global constructors keyed to 65535_0_benchmark.cc':
/root/gearmand-0.25/benchmark/benchmark.cc:45: undefined reference to `__gcov_init'
benchmark/.libs/libbenchmark.a(benchmark.o):(.data.rel+0x48): undefined reference to `__gcov_merge_add'
collect2: ld returned 1 exit status
make[1]: *** [benchmark/blobslap_worker] Error 1
make[1]: Leaving directory `/root/gearmand-0.25'
make: *** [all] Error 2

Please help me to resolve the problem.

Brian Aker

unread,
Mar 24, 2012, 6:22:26 AM3/24/12
to gea...@googlegroups.com
Hi,

Try trunk lp:gearmand

Cheers,
-Brian

signature.asc
Reply all
Reply to author
Forward
0 new messages