Hi all,
I''m trying to build (make rpms) lustre 1.8.1 on 2.6.18-128.7.1.el5
x86_64 but I get the following error on the snmp branch (I actually
need snmp support).
Anyone knowns what this is all about?
Cheers,
MAO
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=======================================================================
Making all in snmp
make[4]: Entering directory `/usr/src/redhat/BUILD/lustre-1.8.1/snmp''
make[5]: Entering directory `/usr/src/redhat/BUILD/lustre-1.8.1/snmp''
cc1: warnings being treated as errors
lustre-snmp-trap.c: In function ?get_poll_interval_seconds?:
lustre-snmp-trap.c:190: warning: implicit declaration of function
?isdigit?
cc1: warnings being treated as errors
lustre-snmp.c: In function ?init_lustresnmp?:
lustre-snmp.c:180: warning: implicit declaration of function
?initilize_trap_handler?
lustre-snmp.c: In function ?deinit_lustresnmp?:
lustre-snmp.c:202: warning: implicit declaration of function
?terminate_trap_handler?
lustre-snmp.c: In function ?var_clusterFileSystems?:
lustre-snmp.c:229: warning: implicit declaration of function
?header_generic?
lustre-snmp.c:241: warning: pointer targets in passing argument 2 of
?read_string? differ in signedness
lustre-snmp.c:243: warning: pointer targets in passing argument 1 of
?strlen? differ in signedness
lustre-snmp.c:248: warning: pointer targets in passing argument 2 of
?read_string? differ in signedness
lustre-snmp.c:250: warning: pointer targets in passing argument 1 of
?strlen? differ in signedness
lustre-snmp.c:255: warning: pointer targets in passing argument 2 of
?read_string? differ in signedness
lustre-snmp.c:257: warning: pointer targets in passing argument 1 of
?strlen? differ in signedness
lustre-snmp-trap.c: In function ?send_portals_catastrophe_trap?:
lustre-snmp-trap.c:367: warning: pointer targets in assignment differ
in signedness
lustre-snmp-trap.c: In function ?send_obd_unhealthy_trap?:
lustre-snmp-trap.c:422: warning: pointer targets in assignment differ
in signedness
lustre-snmp-trap.c:437: warning: pointer targets in assignment differ
in signedness
cc1: warnings being treated as errors
lustre-snmp-util.c: In function ?get_sysstatus?:
lustre-snmp-util.c:300: warning: unused variable ?len?
lustre-snmp-util.c:299: warning: unused variable ?fptr?
lustre-snmp.c: In function ?write_sysStatus?:
lustre-snmp.c:577: warning: unused variable ?pid?
lustre-snmp-util.c: In function ?oid_table_string_handler?:
lustre-snmp-util.c:545: warning: pointer targets in passing argument 2
of ?read_string? differ in signedness
lustre-snmp-util.c:547: warning: pointer targets in passing argument 1
of ?strlen? differ in signedness
lustre-snmp-util.c: In function ?var_genericTable?:
lustre-snmp-util.c:611: warning: implicit declaration of function
?header_simple_table?
make[5]: *** [lustresnmp_so-lustre-snmp-trap.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [lustresnmp_so-lustre-snmp.o] Error 1
make[5]: *** [lustresnmp_so-lustre-snmp-util.o] Error 1
make[5]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.1/snmp''
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.1/snmp''
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.1''
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.8.1''
error: Bad exit status from /var/tmp/rpm-tmp.37842 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.37842 (%build)
make[1]: *** [rpms-real] Error 1
make[1]: Leaving directory `/root/lustre-1.8.1''
make: *** [rpms] Error 2