make[2]: Entering directory `/home/brain/atheme-trunk/modules/backend'
gcc -fPIC -DPIC -shared -g -O2 -std=gnu99 -DPREFIX=\"/home/brain/atheme\" -DLOCALEDIR=\"/home/brain/atheme/share/locale\" -DMODDIR=\"/home/brain/atheme\" -DSHAREDIR=\"/home/brain/atheme\" -DSYSCONFDIR=\"/home/brain/atheme/etc\" -DLOGDIR=\"/home/brain/atheme/var\" -DRUNDIR=\"/home/brain/atheme/var\" -DDATADIR=\"/home/brain/atheme/etc\" -I/usr/include/libmowgli -I../../include flatfile.c -o flatfile.so
In file included from ../../include/atheme.h:32,
from flatfile.c:11:
../../include/servers.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from ../../include/atheme.h:33,
from flatfile.c:11:
../../include/channels.h:132: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from ../../include/atheme.h:42,
from flatfile.c:11:
../../include/account.h:288: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
../../include/account.h:289: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
../../include/account.h:290: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
../../include/account.h:291: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from ../../include/atheme.h:52,
from flatfile.c:11:
../../include/users.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
../../include/users.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from ../../include/atheme.h:56,
from flatfile.c:11:
../../include/inline/account.h: In function 'myuser_find':
../../include/inline/account.h:20: warning: implicit declaration of function 'mowgli_patricia_retrieve'
../../include/inline/account.h:20: error: 'mulist' undeclared (first use in this function)
../../include/inline/account.h:20: error: (Each undeclared identifier is reported only once
../../include/inline/account.h:20: error: for each function it appears in.)
../../include/inline/account.h:20: warning: return makes pointer from integer without a cast
../../include/inline/account.h: In function 'mynick_find':
../../include/inline/account.h:39: error: 'nicklist' undeclared (first use in this function)
../../include/inline/account.h:39: warning: return makes pointer from integer without a cast
../../include/inline/account.h: In function 'myuser_name_find':
../../include/inline/account.h:58: error: 'oldnameslist' undeclared (first use in this function)
../../include/inline/account.h:58: warning: return makes pointer from integer without a cast
../../include/inline/account.h: In function 'mychan_find':
../../include/inline/account.h:63: error: 'mclist' undeclared (first use in this function)
../../include/inline/account.h:63: warning: return makes pointer from integer without a cast
In file included from ../../include/atheme.h:57,
from flatfile.c:11:
../../include/inline/channels.h: In function 'channel_find':
../../include/inline/channels.h:21: error: 'chanlist' undeclared (first use in this function)
../../include/inline/channels.h:21: warning: return makes pointer from integer without a cast
flatfile.c: In function 'flatfile_db_save':
flatfile.c:95: error: 'mowgli_patricia_iteration_state_t' undeclared (first use in this function)
flatfile.c:95: error: expected ';' before 'state'
flatfile.c:118: warning: implicit declaration of function 'mowgli_patricia_foreach'
flatfile.c:118: error: 'mulist' undeclared (first use in this function)
flatfile.c:122: warning: implicit declaration of function 'MOWGLI_PATRICIA_FOREACH'
flatfile.c:122: error: 'state' undeclared (first use in this function)
flatfile.c:122: error: 'mclist' undeclared (first use in this function)
flatfile.c:123: error: expected ';' before '{' token
flatfile.c:183: error: expected ';' before '{' token
make[2]: *** [flatfile.so] Error 1
make[2]: Leaving directory `/home/brain/atheme-trunk/modules/backend'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/brain/atheme-trunk/modules'
make: *** [build] Error 2