logo       

new port: aide: compile problem: msg#00571

Subject: new port: aide: compile problem

i'm trying to make a port for aide (Advanced Intrusion Detection
Environment) 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*). any plan to provide a full gcc in DP ?

note2: one reason why an alternative to mtree seems needed, is the one
provided by apple only have checksum ... no md5digest, sha1digest or
else.

http://bugzilla.opendarwin.org/show_bug.cgi?id=1558


<Prev in Thread] Current Thread [Next in Thread>