Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 153 by adrianblakey: Windows XP cygwin, compile errors - "gcc:
unrecognized option '-pthread'
http://code.google.com/p/memcached/issues/detail?id=153
What steps will reproduce the problem?
1. Download and install cygwin.
2. Download libevent-1.4.13, configure, make install
3. Download memcached-1.4.5, configure, make
What is the expected output? What do you see instead?
make[2]: Entering directory `/cygdrive/c/memcached-1.4.5'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -I/usr/local/include -g -O2
-pthread -Wall -Werror -pedantic -Wmissing-prototypes
-Wmissing-declarations -Wredundant-decls -MT memcached-util.o -MD -MP
-MF .deps/memcached-util.Tpo -c -o memcac
hed-util.o `test -f 'util.c' || echo './'`util.c
gcc: unrecognized option `-pthread'
util.c: In function `safe_strtoull':
util.c:19: warning: array subscript has type `char'
util.c: In function `safe_strtoll':
util.c:42: warning: array subscript has type `char'
util.c: In function `safe_strtoul':
util.c:62: warning: array subscript has type `char'
util.c: In function `safe_strtol':
util.c:86: warning: array subscript has type `char'
make[2]: *** [memcached-util.o] Error 1
make[2]: Leaving directory `/cygdrive/c/memcached-1.4.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/memcached-1.4.5'
make: *** [all] Error 2
What version of the product are you using? On what operating system?
1.4.5, Win-XP (sorry)
Please provide any additional information below.