Paul,<br><br>That seemed to work. I commented out assert() on lines 686 and 1739 and it compiled with no warnings. That's really strange, why would the compiler die because of an assert() call?<br><br>That's a good point about the
2.6 kernel, we're in the process of upgrading web servers, which also involves porting our proprietary code to 64bit so it'll be a while. 1.1.13 compiled fine, I could just use that until we're fully upgraded.
<br><br>What would you guys recommend? <br><br>Thanks!<br><br>--Cal<br><br><div><span class="gmail_quote">On 8/2/07, <b class="gmail_sendername">Paul Lindner</b> <<a href="mailto:lindner@inuus.com">lindner@inuus.com</a>
> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I think this is a problem with the C syntax we're using that causes<br>
gcc 2.96 to choke on the code. Can you try removing the assert()<br>calls and see if that helps?<br><br>You do know that you're much better off using a 2.6 kernel based<br>distro for memcache? If that choice is within your control I suggest
<br>you upgrade.<br><br>On Wed, Aug 01, 2007 at 11:22:44AM -0500, Cal Heldenbrand wrote:<br>> Hi everyone,<br>><br>> I'm trying to compile memcached 1.2.2 on a RHEL 2.1 box, gcc 2.96, and I'm<br>> getting this compile error. Any ideas on why the "item" struct on that line
<br>> isn't defined?<br>><br>> Thanks!<br>><br>><br>> if gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -g -O2 -MT<br>> memcached-memcached.o -MD -MP -MF ".deps/memcached-memcached.Tpo" \<br>
> -c -o memcached-memcached.o `test -f 'memcached.c' || echo<br>> './'`memcached.c; \<br>> then mv -f ".deps/memcached-memcached.Tpo" ".deps/memcached-memcached.Po"; \<br>> else rm -f ".deps/memcached-
memcached.Tpo"; exit 1; \<br>> fi<br>> memcached.c: In function `complete_nread':<br>> memcached.c:688: parse error before `*'<br>> memcached.c:695: `it' undeclared (first use in this function)
<br>> memcached.c:695: (Each undeclared identifier is reported only once<br>> memcached.c:695: for each function it appears in.)<br>> memcached.c:698: `comm' undeclared (first use in this function)<br>> memcached.c
: In function `update_event':<br>> memcached.c:1741: parse error before `struct'<br>> memcached.c:1746: `base' undeclared (first use in this function)<br>> make[2]: *** [memcached-memcached.o] Error 1
<br>><br><br>--<br>Paul Lindner ||||| | | | | | | | | |<br><a href="mailto:lindner@inuus.com">lindner@inuus.com</a><br><br></blockquote></div><br><br>