This time 'make' failed with, again I assume its something to do with headers I guess though it just states warning exits with an error:
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -g -O2 -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredun dant-decls -MT memcached-memcached.o -MD -MP -MF .deps/memcached-memcached.Tpo -c -o memcached-memcached.o `test -f 'memcached.c' || echo './'`mem cached.c memcached.c: In function `add_msghdr': memcached.c:228: warning: assignment from incompatible pointer type memcached.c: At top level: memcached.c:252: warning: missing braces around initializer memcached.c:252: warning: (near initialization for `conn_lock.m_short') memcached.c: In function `try_read_udp': memcached.c:3206: warning: passing arg 6 of `recvfrom' from incompatible pointer type memcached.c: In function `drive_machine': memcached.c:3432: warning: passing arg 3 of `accept' from incompatible pointer type memcached.c: In function `maximize_sndbuf': memcached.c:3766: warning: passing arg 5 of `getsockopt' from incompatible pointer type memcached.c: In function `server_socket': memcached.c:3888: warning: passing arg 3 of `getsockname' from incompatible pointer type *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 On Tue, Oct 5, 2010 at 12:08 PM, Murat Can ALPAY <[email protected]> wrote: > adding stdarg.h makes compile pass, I'll edit the configure script and see > anything else fails thanks > > > On Tue, Oct 5, 2010 at 11:59 AM, Dustin <[email protected]> wrote: > >> >> On Oct 5, 1:25 am, Murat Can ALPAY <[email protected]> wrote: >> >> > I think this is the relavent part of the config.log : >> > configure:5551: gcc -std=gnu99 -o conftest -g -O2 -pthread >> > -I/usr/local/include -I/usr/local/include -L/usr/local/lib conftest.c >> > -levent >&5 >> > In file included from /usr/include/inttypes.h:688, >> > from /usr/include/stdint.h:18, >> > from /usr/local/include/event.h:170, >> > from conftest.c:20: >> > /usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/include/wchar.h:134: error: >> parse >> > error before "va_list" >> > /usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/include/wchar.h:135: error: >> parse >> > error before "va_list" >> > /usr/local/lib/gcc/ia64-hp-hpux11.23/3.4.3/include/wchar.h:136: error: >> parse >> > error before "va_list" >> >> >> This says your compiler can't parse its headers. I cannot tell you >> how to fix this other than to try to compile that standalone prog and >> maybe try to include stdarg.h before event.h -- I'd kind of hope that >> wouldn't work, but stdarg.h is probably included from stdio.h and >> someone near HP or gcc probably doesn't expect anyone to write c >> without stdio.h. > > > > > -- > Murat Can ALPAY > http://mcatr.blogspot.com > -- Murat Can ALPAY http://mcatr.blogspot.com
