Menu

#1041 Opensaf Compilation failed on SLES 32bit machine.

4.3.3
fixed
None
defect
build
-
major
2014-09-03
2014-09-03
manu
No

Compilation issue on SLES 32bit machine.
With the changeset 5697 , patches applied

/001_mds_1024.patch//
//002_build_997_4.5.patch //
//003_ppcbuild_1007.patch /

Snippet:--

mds_c_api.c: In function ‘mds_mcm_svc_up’:
mds_c_api.c:1604:3: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘MDS_DEST’ [-Werror=format=]
TRACE("svc UP process_info EXIST, svc:%d cnt:%d, adest:%lx",
^
mds_c_api.c:1614:3: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘MDS_DEST’ [-Werror=format=]
TRACE("svc UP process_info NOTEXIST, svc:%d, adest:%lx", svc_id, adest);
^
mds_c_api.c: In function ‘mds_mcm_svc_down’:
mds_c_api.c:2675:3: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘MDS_DEST’ [-Werror=format=]
TRACE("svc %d DOWN cnt:%d, adest:%lx", svc_id, info->count, adest);
^
cc1: all warnings being treated as errors
make[6]: *** [libmds_la-mds_c_api.lo] Error 1
make[6]: Leaving directory /home/opensaf_FC_5697/osaf/libs/core/mds' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory/home/opensaf_FC_5697/osaf/libs/core/mds'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory /home/opensaf_FC_5697/osaf/libs/core' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory/home/opensaf_FC_5697/osaf/libs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /home/opensaf_FC_5697/osaf' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/opensaf_FC_5697'
make: *** [all] Error 2

Related

Tickets: #1041

Discussion

  • Neelakanta Reddy

    • status: unassigned --> assigned
    • assigned_to: Neelakanta Reddy
     
  • Neelakanta Reddy

    • Component: mds --> build
     
  • Neelakanta Reddy

    • status: assigned --> review
     
  • Neelakanta Reddy

    changeset: 5718:1388c9d98536
    tag: tip
    user: Neelakanta Reddy reddy.neelakanta@oracle.com
    date: Wed Sep 03 21:33:43 2014 +0530
    summary: build:fixed compilation problems for 32-bit[#1041]

    changeset: 5715:4944d006ca9f
    branch: opensaf-4.5.x
    user: Neelakanta Reddy reddy.neelakanta@oracle.com
    date: Wed Sep 03 21:33:43 2014 +0530
    summary: build:fixed compilation problems for 32-bit[#1041]

     

    Related

    Tickets: #1041

  • Neelakanta Reddy

    • status: review --> fixed
     

Log in to post a comment.