awesomized / libmemcached

Resurrection of libmemcached
https://awesomized.github.io/libmemcached/
BSD 3-Clause "New" or "Revised" License
45 stars 26 forks source link

Make failed with memaslap enable #79

Closed m6w6 closed 4 years ago

m6w6 commented 4 years ago

Imported from Launchpad using lp2gh.


./configure --enable-memaslap succeed, however, make will return errors like:

clients/ms_task.c: In function ‘ms_need_overwrite_item’: clients/ms_task.c:294:19: warning: unused variable ‘item’ [-Wunused-variable] clients/ms_task.c: In function ‘ms_task_expire_verify_init’: clients/ms_task.c:460:19: warning: unused variable ‘item’ [-Wunused-variable] CC clients/ms_thread.o CXX clients/generator.o CXX clients/execute.o CXXLD clients/memaslap /usr/bin/ld: clients/ms_thread.o: undefined reference to symbol 'pthread_key_delete@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:4707: recipe for target 'clients/memaslap' failed make[1]: [clients/memaslap] Error 1 make[1]: Leaving directory '/home/admin/test/libmemcached-1.0.18' Makefile:9963: recipe for target 'check' failed make: [check] Error 2

I did see a similar bug report which is https://bugs.launchpad.net/libmemcached/+bug/1281907. Are them the same? Or am i doing sth wrong here