root@ethics-desktop:/home/ethics/prasath/adserve# make
make all-recursive
make[1]: Entering directory `/home/ethics/prasath/adserve'
Making all in include
make[2]: Entering directory `/home/ethics/prasath/adserve/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ethics/prasath/adserve/include'
Making all in src
make[2]: Entering directory `/home/ethics/prasath/adserve/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ -I/usr/include/w3c-libwww/ -I/usr/local/include/ -I/usr/include/dbus-1.0/ -I/usr/lib/dbus-1.0/include -Wall -g -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
In file included from main.c:32:
../include/agent.h:40: warning: ‘struct btd_adapter’ declared inside parameter list
../include/agent.h:40: warning: its scope is only this definition or declaration, which is probably not what you want
../include/agent.h:47: error: expected declaration specifiers or ‘...’ before ‘GDestroyNotify’
../include/agent.h:55: error: expected declaration specifiers or ‘...’ before ‘GDestroyNotify’
../include/agent.h:55: warning: ‘struct btd_device’ declared inside parameter list
../include/agent.h:59: error: expected declaration specifiers or ‘...’ before ‘GDestroyNotify’
../include/agent.h:63: error: expected declaration specifiers or ‘...’ before ‘GDestroyNotify’
../include/agent.h:63: warning: ‘struct btd_device’ declared inside parameter list
../include/agent.h:67: error: expected declaration specifiers or ‘...’ before ‘GDestroyNotify’
../include/agent.h:67: warning: ‘struct btd_device’ declared inside parameter list
../include/agent.h:70: warning: ‘struct btd_device’ declared inside parameter list
../include/agent.h:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘agent_is_busy’
../include/agent.h:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘agent_matches’
main.c: In function ‘main’:
main.c:589: warning: pointer targets in passing argument 4 of ‘obex_push’ differ in signedness
main.c:317: note: expected ‘uint8_t *’ but argument is of type ‘char *’
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/ethics/prasath/adserve/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ethics/prasath/adserve'
make: *** [all] Error 2
root@ethics-desktop:/home/ethics/prasath/adserve#