steveyen/moxi

preprocessor endif errror prevents build on Ubuntu

Closed this issue · 1 comments

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/opt/northscale/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DNDEBUG -I/home/ubuntu/src/proxybuild/libmemcached-0.28 -I/home/ubuntu/src/proxybuild/libstrophe -I/home/ubuntu/src/proxybuild/libconflate -g -O2 -Wall -Werror -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT moxi-agent_config.o -MD -MP -MF .deps/moxi-agent_config.Tpo -c -o moxi-agent_config.o test -f 'agent_config.c' || echo './'agent_config.c
In file included from agent_config.c:13:
agent.h:38:8: error: extra tokens at end of #endif directive
make[2]: *** [moxi-agent_config.o] Error 1
make[2]: Leaving directory /home/ubuntu/src/proxybuild/moxi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/ubuntu/src/proxybuild/moxi'
make: *** [all] Error 2

integrated by Matt some time ago