I think this is a problem with the C syntax we're using that causes gcc 2.96 to choke on the code. Can you try removing the assert() calls and see if that helps?
You do know that you're much better off using a 2.6 kernel based distro for memcache? If that choice is within your control I suggest you upgrade. On Wed, Aug 01, 2007 at 11:22:44AM -0500, Cal Heldenbrand wrote: > 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? > > Thanks! > > > 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; \ > fi > 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 > -- Paul Lindner ||||| | | | | | | | | | [EMAIL PROTECTED]
pgpmK97krJcWT.pgp
Description: PGP signature
