Comment 18 for bug 1080376

Revision history for this message
Christian Wittmer (chris-computersalat) wrote :

Now 'man pages' got installed, but not able to compile with '--enable-libmemcachedprotocol'
[ 149s] CC libmemcachedprotocol/libmemcached_libmemcachedprotocol_la-ascii_handler.lo
[ 149s] CC libmemcachedprotocol/libmemcached_libmemcachedprotocol_la-binary_handler.lo
[ 149s] libmemcachedprotocol/ascii_handler.c: In function 'ascii_get_response_handler':
[ 149s] libmemcachedprotocol/ascii_handler.c:286:3: error: 'for' loop initial declarations are only allowed in C99 mode
[ 149s] libmemcachedprotocol/ascii_handler.c:286:3: note: use option -std=c99 or -std=gnu99 to compile your code
[ 149s] make[1]: *** [libmemcachedprotocol/libmemcached_libmemcachedprotocol_la-ascii_handler.lo] Error 1
[ 149s] make[1]: *** Waiting for unfinished jobs....
[ 149s] make[1]: Leaving directory `/usr/src/packages/BUILD/libmemcached-1.0.15'
[ 149s] make: *** [all] Error 2
[ 149s] error: Bad exit status from /var/tmp/rpm-tmp.bSIoZf (%build)
[ 149s]
[ 149s]
[ 149s] RPM build errors:
[ 149s] Bad exit status from /var/tmp/rpm-tmp.bSIoZf (%build)

any help would be apreciated.

Thanks
Chris