Subject: | no longer compiles on RHEL |
I'm not sure what the difference is, but 0.4406 no longer compiles on RHEL5, but 0.4405
works perfectly without any effort. Here's the error it crashes with:
cc -fstack-protector -L/usr/local/lib src/libmemcached/clients/memslap.c -o
src/libmemcached/clients/memslap
src/libmemcached/clients/memslap.c:16:20: error: config.h: No such file or directory
In file included from src/libmemcached/clients/ms_thread.h:31,
from src/libmemcached/clients/memslap.c:35:
src/libmemcached/clients/ms_conn.h:16:19: error: event.h: No such file or directory
src/libmemcached/clients/ms_conn.h:20:52: error:
libmemcached/memcached/protocol_binary.h: No such file or directory
In file included from src/libmemcached/clients/ms_thread.h:31,
from src/libmemcached/clients/memslap.c:35:
src/libmemcached/clients/ms_conn.h:124: error: field ‘event’ has incomplete type
src/libmemcached/clients/ms_conn.h:197: error: expected specifier-qualifier-list before
‘protocol_binary_response_header’
In file included from src/libmemcached/clients/memslap.c:35:
src/libmemcached/clients/ms_thread.h:60: error: field ‘clock_event’ has incomplete type
src/libmemcached/clients/memslap.c: In function ‘ms_help_command’:
src/libmemcached/clients/memslap.c:317: error: ‘for’ loop initial declarations are only
allowed in C99 mode
src/libmemcached/clients/memslap.c:317: note: use option -std=c99 or -std=gnu99 to
compile your code
make: *** [src/libmemcached/clients/memslap] Error 1
Just thought you'd like to know.