I am Using Solaris 10 and GCC 4.2, i do have libconfuse
everything goes fine until this error comes up.
carrierroute.c:54: error: 'MODULE_INTERFACE_VER' undeclared here (not in a
function)
carrierroute.c:87: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'cmds'
carrierroute.c:132: error: variable 'exports' has initializer but incomplete type
carrierroute.c:133: warning: excess elements in struct initializer
carrierroute.c:133: warning: (near initialization for 'exports')
carrierroute.c:134: warning: excess elements in struct initializer
carrierroute.c:134: warning: (near initialization for 'exports')
carrierroute.c:135: error: 'cmds' undeclared here (not in a function)
carrierroute.c:135: warning: excess elements in struct initializer
carrierroute.c:135: warning: (near initialization for 'exports')
carrierroute.c:136: warning: excess elements in struct initializer
carrierroute.c:136: warning: (near initialization for 'exports')
carrierroute.c:137: warning: excess elements in struct initializer
carrierroute.c:137: warning: (near initialization for 'exports')
carrierroute.c:138: warning: excess elements in struct initializer
carrierroute.c:138: warning: (near initialization for 'exports')
carrierroute.c:139: warning: excess elements in struct initializer
carrierroute.c:139: warning: (near initialization for 'exports')
carrierroute.c:140: warning: excess elements in struct initializer
carrierroute.c:140: warning: (near initialization for 'exports')
carrierroute.c:141: warning: excess elements in struct initializer
carrierroute.c:141: warning: (near initialization for 'exports')
carrierroute.c:142: warning: excess elements in struct initializer
carrierroute.c:142: warning: (near initialization for 'exports')
carrierroute.c:143: warning: excess elements in struct initializer
carrierroute.c:143: warning: (near initialization for 'exports')
carrierroute.c:145: warning: excess elements in struct initializer
carrierroute.c:145: warning: (near initialization for 'exports')
carrierroute.c: In function 'mod_init':
carrierroute.c:161: error: invalid use of undefined type 'struct module_exports'
make[1]: *** [carrierroute.o] Error 1
make: *** [modules] Error 1