[Aide] HP-UX 11.11 compilation problem

mikusw@poczta.onet.pl mikusw at poczta.onet.pl
Thu Feb 9 12:59:16 EET 2006


Hi all,
I try to build aide on HP-UX 11.11. Configure goes well, but when I run make:

root at cmsdb:/j1/aide/aide-0.11-rc3#make
No suffix list.
        make  all-recursive
No suffix list.
Making all in src
No suffix list.
        bison -y  -d -p conf -o conf_yacc.c /j1/aide/aide-0.11-rc3/src/conf_yacc.y
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT conf_yacc.o -MD -MP -MF ".deps/conf_yacc.Tpo" -c -o conf_yacc.o conf_yacc.c; \
        then mv -f ".deps/conf_yacc.Tpo" ".deps/conf_yacc.Po"; else rm -f ".deps/conf_yacc.Tpo"; exit 1; fi
        flex -l -Pconf -oconf_lex.c /j1/aide/aide-0.11-rc3/src/conf_lex.l
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT conf_lex2.o -MD -MP -MF ".deps/conf_lex2.Tpo" -c -o conf_lex2.o conf_lex2.c; \
        then mv -f ".deps/conf_lex2.Tpo" ".deps/conf_lex2.Po"; else rm -f ".deps/conf_lex2.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \
        then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; \
        then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f ".deps/getopt1.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT gnu_regex.o -MD -MP -MF ".deps/gnu_regex.Tpo" -c -o gnu_regex.o gnu_regex.c; \
        then mv -f ".deps/gnu_regex.Tpo" ".deps/gnu_regex.Po"; else rm -f ".deps/gnu_regex.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; \
        then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT md.o -MD -MP -MF ".deps/md.Tpo" -c -o md.o md.c; \
        then mv -f ".deps/md.Tpo" ".deps/md.Po"; else rm -f ".deps/md.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT db.o -MD -MP -MF ".deps/db.Tpo" -c -o db.o db.c; \
        then mv -f ".deps/db.Tpo" ".deps/db.Po"; else rm -f ".deps/db.Tpo"; exit 1; fi
db.c: In function 'base64totime_t':
db.c:440: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT commandconf.o -MD -MP -MF ".deps/commandconf.Tpo" -c -o commandconf.o commandconf.c; \
        then mv -f ".deps/commandconf.Tpo" ".deps/commandconf.Po"; else rm -f ".deps/commandconf.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT db_file.o -MD -MP -MF ".deps/db_file.Tpo" -c -o db_file.o db_file.c; \
        then mv -f ".deps/db_file.Tpo" ".deps/db_file.Po"; else rm -f ".deps/db_file.Tpo"; exit 1; fi
db_file.c: In function 'db_write_time_base64':
db_file.c:691: warning: pointer targets in passing argument 1 of 'encode_base64' differ in signedness
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT db_disk.o -MD -MP -MF ".deps/db_disk.Tpo" -c -o db_disk.o db_disk.c; \
        then mv -f ".deps/db_disk.Tpo" ".deps/db_disk.Po"; else rm -f ".deps/db_disk.Tpo"; exit 1; fi
        flex -Pdb -odb_lex.c /j1/aide/aide-0.11-rc3/src/db_lex.l
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT db_lex2.o -MD -MP -MF ".deps/db_lex2.Tpo" -c -o db_lex2.o db_lex2.c; \
        then mv -f ".deps/db_lex2.Tpo" ".deps/db_lex2.Po"; else rm -f ".deps/db_lex2.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT db_sql.o -MD -MP -MF ".deps/db_sql.Tpo" -c -o db_sql.o db_sql.c; \
        then mv -f ".deps/db_sql.Tpo" ".deps/db_sql.Po"; else rm -f ".deps/db_sql.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT gen_list.o -MD -MP -MF ".deps/gen_list.Tpo" -c -o gen_list.o gen_list.c; \
        then mv -f ".deps/gen_list.Tpo" ".deps/gen_list.Po"; else rm -f ".deps/gen_list.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT list.o -MD -MP -MF ".deps/list.Tpo" -c -o list.o list.c; \
        then mv -f ".deps/list.Tpo" ".deps/list.Po"; else rm -f ".deps/list.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT do_md.o -MD -MP -MF ".deps/do_md.Tpo" -c -o do_md.o do_md.c; \
        then mv -f ".deps/do_md.Tpo" ".deps/do_md.Po"; else rm -f ".deps/do_md.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT base64.o -MD -MP -MF ".deps/base64.Tpo" -c -o base64.o base64.c; \
        then mv -f ".deps/base64.Tpo" ".deps/base64.Po"; else rm -f ".deps/base64.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT symboltable.o -MD -MP -MF ".deps/symboltable.Tpo" -c -o symboltable.o symboltable.c; \
        then mv -f ".deps/symboltable.Tpo" ".deps/symboltable.Po"; else rm -f ".deps/symboltable.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT compare_db.o -MD -MP -MF ".deps/compare_db.Tpo" -c -o compare_db.o compare_db.c; \
        then mv -f ".deps/compare_db.Tpo" ".deps/compare_db.Po"; else rm -f ".deps/compare_db.Tpo"; exit 1; fi
compare_db.c: In function 'compare_md_entries':
compare_db.c:122: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
compare_db.c:122: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness
compare_db.c: In function 'print_md_changes':
compare_db.c:302: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
compare_db.c:302: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT be.o -MD -MP -MF ".deps/be.Tpo" -c -o be.o be.c; \
        then mv -f ".deps/be.Tpo" ".deps/be.Po"; else rm -f ".deps/be.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT util.o -MD -MP -MF ".deps/util.Tpo" -c -o util.o util.c; \
        then mv -f ".deps/util.Tpo" ".deps/util.Po"; else rm -f ".deps/util.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT snprintf.o -MD -MP -MF ".deps/snprintf.Tpo" -c -o snprintf.o snprintf.c; \
        then mv -f ".deps/snprintf.Tpo" ".deps/snprintf.Po"; else rm -f ".deps/snprintf.Tpo"; exit 1; fi
        if gcc -DHAVE_CONFIG_H -I. -I/j1/aide/aide-0.11-rc3/src -I.. -I/j1/aide/aide-0.11-rc3/include   -static -g -O2 -static -g -O2 -static -MT aide.o -MD -MP -MF ".deps/aide.Tpo" -c -o aide.o aide.c; \
        then mv -f ".deps/aide.Tpo" ".deps/aide.Po"; else rm -f ".deps/aide.Tpo"; exit 1; fi
        gcc -g -O2 -static -g -O2 -static -static  -o aide  conf_yacc.o conf_lex2.o  getopt.o getopt1.o gnu_regex.o  error.o md.o db.o  commandconf.o db_file.o db_disk.o  db_lex2.o db_sql.o gen_list.o  list.o do_md.o base64.o  symboltable.o compare_db.o be.o  util.o snprintf.o aide.o -lmhash  -lz
/usr/ccs/bin/ld: Unsatisfied symbols:
   strtoll (code)
   readdir64_r (code)
collect2: ld returned 1 exit status
*** Error exit code 1

Can someone help me ?

mikus


More information about the Aide mailing list