i'm trying to compile aide 0.10 on darwin7.2/MacosX 10.3.2 but i encounter the following error:

Making all in src
gcc -DHAVE_CONFIG_H -I.
-I/Users/touche/tmp/my-dports/aide/work/aide-0.10/src -I..
-I/opt/local/include -I/Users/touche/
tmp/my-dports/aide/work/aide-0.10/include  -I/opt/local/include/
-I/Users/touche/tmp/my-dports/aide/work/aide-0.10 -I/Us
ers/touche/tmp/my-dports/aide/work/aide-0.10/src   -g -O2   -c conf_yacc.c
In file included from
/Users/touche/tmp/my-dports/aide/work/aide-0.10/include/seltree.h:24,
                 from
/Users/touche/tmp/my-dports/aide/work/aide-0.10/include/gen_list.h:23,
                 from
/Users/touche/tmp/my-dports/aide/work/aide-0.10/src/conf_yacc.y:27:
/Users/touche/tmp/my-dports/aide/work/aide-0.10/include/db_config.h:357:
error: parse error before "blkcnt_t"
/Users/touche/tmp/my-dports/aide/work/aide-0.10/include/db_config.h:357:
warning: no semicolon at end of struct or union
/Users/touche/tmp/my-dports/aide/work/aide-0.10/include/db_config.h:364:
error: parse error before '}' token
/Users/touche/tmp/my-dports/aide/work/aide-0.10/include/db_config.h:364:
warning: data definition has no type or storage
 class
In file included from
/Users/touche/tmp/my-dports/aide/work/aide-0.10/src/conf_yacc.y:27:
/Users/touche/tmp/my-dports/aide/work/aide-0.10/include/gen_list.h:69:
error: parse error before '*' token
/Users/touche/tmp/my-dports/aide/work/aide-0.10/include/gen_list.h:69:
warning: data definition has no type or storage c
lass
In file included from
/Users/touche/tmp/my-dports/aide/work/aide-0.10/src/conf_yacc.y:28:
/Users/touche/tmp/my-dports/aide/work/aide-0.10/include/db.h:29: error:
parse error before '*' token
/Users/touche/tmp/my-dports/aide/work/aide-0.10/include/db.h:29:
warning: data definition has no type or storage class
/Users/touche/tmp/my-dports/aide/work/aide-0.10/include/db.h:33: error:
parse error before '*' token
/Users/touche/tmp/my-dports/aide/work/aide-0.10/include/db.h:37: error:
parse error before '*' token
make[2]: *** [conf_yacc.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

has anyone else give it a try ? or ideas about this error ?

Regards

Julien

note: i also need to disable -static compiling as Apple does not provide
correct env (no -lcrt*).





Reply via email to