changeset:   8051:2c08aa065812
tag:         tip
parent:      8047:9dd223204b0a
user:        Long Nguyen <long.hb.ngu...@dektech.com.au>
date:        Mon Sep 12 19:52:02 2016 +1000
summary:     AMF: Build failure on 32-bit system [#2018]

changeset:   8050:602e4938d0c3
branch:      opensaf-5.1.x
parent:      8048:2588d9e5fe8a
user:        Long Nguyen <long.hb.ngu...@dektech.com.au>
date:        Mon Sep 12 19:48:38 2016 +1000
summary:     AMF: Build failure on 32-bit system [#2018]




---

** [tickets:#2018] amf: Build failure on 32-bit system**

**Status:** review
**Milestone:** 5.1.RC1
**Created:** Fri Sep 09, 2016 01:05 PM UTC by Anders Widell
**Last Updated:** Mon Sep 12, 2016 07:50 AM UTC
**Owner:** Long HB Nguyen


Build fails on 32-bit systems (GCC version 6.1.1):

~~~
make[7]: Entering directory 
'/home/opensaf/opensaf-staging/osaf/services/saf/amf/amfnd'
  CXX      osafamfnd-comp.o
In file included from ../../../../../osaf/libs/core/include/ncs_osprm.h:32:0,
                 from ../../../../../osaf/libs/core/leap/include/ncsdlib.h:33,
                 from ../../../../../osaf/libs/common/amf/include/amf.h:37,
                 from 
../../../../../osaf/services/saf/amf/amfnd/include/avnd.h:38,
                 from comp.cc:35:
comp.cc: In function 'uint32_t avnd_amfa_mds_info_evh(AVND_CB*, AVND_EVT*)':
../../../../../osaf/libs/core/common/include/logtrace.h:145:127: error: format 
'%lu' expects argument of type 'long unsigned int', but argument 6 has type 
'MDS_DEST {aka long long unsigned int}' [-Werror=format=]
 #define TRACE_ENTER2(format, args...) _logtrace_trace(__FILE__, __LINE__, 
CAT_TRACE_ENTER, "%s: " format, __FUNCTION__, ##args)
                                                                                
                                               ^
comp.cc:3016:3: note: in expansion of macro 'TRACE_ENTER2'
   TRACE_ENTER2("mds_dest :%lu, MDS version:%d",
   ^~~~~~~~~~~~
cc1plus: all warnings being treated as errors
Makefile:765: recipe for target 'osafamfnd-comp.o' failed
~~~


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to