memcached 1.2.2 compile error

Cal Heldenbrand cal at
Wed Aug 1 16:22:44 UTC 2007

Hi everyone,

I'm trying to compile memcached 1.2.2 on a RHEL 2.1 box, gcc 2.96, and I'm
getting this compile error.  Any ideas on why the "item" struct on that line
isn't defined?



if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DNDEBUG   -g -O2 -MT
memcached-memcached.o -MD -MP -MF ".deps/memcached-memcached.Tpo" \
  -c -o memcached-memcached.o `test -f 'memcached.c' || echo
'./'`memcached.c; \
then mv -f ".deps/memcached-memcached.Tpo" ".deps/memcached-memcached.Po"; \
else rm -f ".deps/memcached-memcached.Tpo"; exit 1; \
memcached.c: In function `complete_nread':
memcached.c:688: parse error before `*'
memcached.c:695: `it' undeclared (first use in this function)
memcached.c:695: (Each undeclared identifier is reported only once
memcached.c:695: for each function it appears in.)
memcached.c:698: `comm' undeclared (first use in this function)
memcached.c: In function `update_event':
memcached.c:1741: parse error before `struct'
memcached.c:1746: `base' undeclared (first use in this function)
make[2]: *** [memcached-memcached.o] Error 1

Cal Heldenbrand
   FBS Data Systems
   E-mail:  cal at
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the memcached mailing list