No problem to compile 0.48, but impossible to compile 0.49 as tests fail with this: CC tests/atomsmasher.o CXX tests/tests_hash_plus-hash_plus.o CC tests/start.o CXX tests/basic.o CXX tests/deprecated.o CXX tests/error_conditions.o CC tests/tests_testapp-mem_functions.o CXX tests/parser.o CXX tests/pool.o CXX tests/print.o CXX tests/replication.o CXX tests/string.o tests/basic.cc: In function 'test_return_t basic_reset_stack_clone_test(memcached_st*)': tests/basic.cc:107:34: error: 'memset' was not declared in this scope gmake[1]: *** [tests/basic.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... clients/memparse.cc: In function 'int main(int, char**)': clients/memparse.cc:57:65: error: 'strlen' was not declared in this scope gmake[1]: *** [clients/memparse.o] Error 1 tests/pool.cc: In function 'test_return_t memcached_pool_test(memcached_st*)': tests/pool.cc:59:78: error: 'strlen' was not declared in this scope tests/pool.cc:60:152: error: 'strerror' was not declared in this scope gmake[1]: *** [tests/pool.o] Error 1 tests/parser.cc: In function 'test_return_t __check_host(memcached_st*, const scanner_string_st&)': tests/parser.cc:92:53: error: 'strcmp' was not declared in this scope tests/parser.cc: In function 'test_return_t __check_prefix_key(memcached_st*, const scanner_string_st&)': tests/parser.cc:107:53: error: 'strcmp' was not declared in this scope gmake[1]: *** [tests/parser.o] Error 1 gmake[1]: Leaving directory `/usr/ports/databases/libmemcached/work/libmemcached-0.49' gmake: *** [all] Error 2 I've tried with various CFLAGS, but couldn't succeed. How-To-Repeat: Install gcc46, compile libmemcached
Responsible Changed From-To: freebsd-ports-bugs->vanilla Fix synopsis and assign.
vanilla 2011-05-23 12:48:19 UTC FreeBSD ports repository Modified files: databases/libmemcached Makefile databases/libmemcached/files patch-configure Added files: databases/libmemcached/files patch-clients__memparse.cc patch-libtest__test.h Log: Fix compile problem with gcc46. PR: ports/156756 Submitted by: Olivier <software-freebsd@interfasys dot ch> Revision Changes Path 1.41 +1 -1 ports/databases/libmemcached/Makefile 1.1 +10 -0 ports/databases/libmemcached/files/patch-clients__memparse.cc (new) 1.9 +5 -5 ports/databases/libmemcached/files/patch-configure 1.1 +10 -0 ports/databases/libmemcached/files/patch-libtest__test.h (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks.