gcc -DHAVE_CONFIG_H -I. -I. -I./include -I./include -I. -I./editline/src -fomit-frame-pointer -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -O2 -c featuresstub.c -MT libopenpbx_la-featuresstub.lo -MD -MP -MF .deps/libopenpbx_la-featuresstub.TPlo -fno-common -DPIC -o .libs/libopenpbx_la-featuresstub.o In file included from featuresstub.c:21: ./include/openpbx/features.h:40: warning: 'struct opbx_bridge_config' declared inside parameter list ./include/openpbx/features.h:40: warning: its scope is only this definition or declaration, which is probably not what you want ./include/openpbx/features.h:40: warning: 'struct opbx_channel' declared inside parameter list ./include/openpbx/features.h:44: error: parse error before 'OPBX_LIST_ENTRY' ./include/openpbx/features.h:44: warning: no semicolon at end of struct or union ./include/openpbx/features.h:59: warning: 'struct opbx_channel' declared inside parameter list ./include/openpbx/features.h:68: warning: 'struct opbx_channel' declared inside parameter list ./include/openpbx/features.h:78: warning: 'struct opbx_bridge_config' declared inside parameter list ./include/openpbx/features.h:78: warning: 'struct opbx_channel' declared inside parameter list ./include/openpbx/features.h:80: warning: 'struct opbx_channel' declared inside parameter list featuresstub.c:24: warning: 'struct opbx_channel' declared inside parameter list featuresstub.c:25: error: parse error before '{' token featuresstub.c:30: warning: 'struct opbx_channel' declared inside parameter list featuresstub.c:31: error: parse error before '{' token featuresstub.c:37: error: parse error before '{' token featuresstub.c:43: error: parse error before '{' token featuresstub.c:48: warning: 'struct opbx_bridge_config' declared inside parameter list featuresstub.c:48: warning: 'struct opbx_channel' declared inside parameter list featuresstub.c:49: error: parse error before '{' token featuresstub.c:54: warning: 'struct opbx_channel' declared inside parameter list featuresstub.c:55: error: parse error before '{' token featuresstub.c:61: error: parse error before '{' token featuresstub.c:67: error: parse error before '{' token featuresstub.c:75: warning: 'struct opbx_channel' declared inside parameter list featuresstub.c:75: error: conflicting types for 'opbx_park_call' ./include/openpbx/features.h:59: error: previous declaration of 'opbx_park_call' was here featuresstub.c:76: warning: initialization from incompatible pointer type featuresstub.c:78: warning: 'struct opbx_channel' declared inside parameter list featuresstub.c:78: error: conflicting types for 'opbx_masq_park_call' ./include/openpbx/features.h:68: error: previous declaration of 'opbx_masq_park_call' was here featuresstub.c:79: warning: initialization from incompatible pointer type featuresstub.c:87: warning: 'struct opbx_bridge_config' declared inside parameter list featuresstub.c:87: warning: 'struct opbx_channel' declared inside parameter list featuresstub.c:87: error: conflicting types for 'opbx_bridge_call' ./include/openpbx/features.h:78: error: previous declaration of 'opbx_bridge_call' was here featuresstub.c:88: warning: initialization from incompatible pointer type featuresstub.c:90: warning: 'struct opbx_channel' declared inside parameter list featuresstub.c:90: error: conflicting types for 'opbx_pickup_call' ./include/openpbx/features.h:80: error: previous declaration of 'opbx_pickup_call' was here featuresstub.c:91: warning: initialization from incompatible pointer type make[1]: *** [libopenpbx_la-featuresstub.lo] Error 1 make: *** [all-recursive] Error 1