Hi Bharath,

v1.2.0 should compile again once the latest changes to 
vpp_measurement_reporter.c are merged (https://jira.onap.org/browse/CERT-12)

Cheers,
David

On 12 Mar 2018, at 15:47, Thiruveedula, Bharath via onap-discuss 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> wrote:

Hi,

By using 1.2.0 and 1.2.0-SNAPSHOT  for demo-artifact-version and 
install-script-version for vFW, I got few errors while running "make" in 
VESReporing folder in Firewall VM:

Making dependency file evel_unit.d for evel_unit.c
Making dependency file jsmn.d for jsmn.c
Making dependency file evel_batch.d for evel_batch.c
Making dependency file evel_logging.d for evel_logging.c
Making dependency file evel_voicequality.d for evel_voicequality.c
Making dependency file evel_threshold_cross.d for evel_threshold_cross.c
Making dependency file evel_event_mgr.d for evel_event_mgr.c
Making dependency file evel_internal_event.d for evel_internal_event.c
Making dependency file evel_throttle.d for evel_throttle.c
Making dependency file evel_syslog.d for evel_syslog.c
Making dependency file evel_strings.d for evel_strings.c
Making dependency file evel_state_change.d for evel_state_change.c
Making dependency file evel_scaling_measurement.d for evel_scaling_measurement.c
Making dependency file evel_sipsignaling.d for evel_sipsignaling.c
Making dependency file evel_heartbeat_fields.d for evel_heartbeat_fields.c
Making dependency file evel_reporting_measurement.d for 
evel_reporting_measurement.c
Making dependency file evel_json_buffer.d for evel_json_buffer.c
Making dependency file evel_other.d for evel_other.c
Making dependency file evel_jsonobject.d for evel_jsonobject.c
Making dependency file evel_option.d for evel_option.c
Making dependency file evel_mobile_flow.d for evel_mobile_flow.c
Making dependency file evel_fault.d for evel_fault.c
Making dependency file evel_event.d for evel_event.c
Making dependency file hashtable.d for hashtable.c
Making dependency file double_list.d for double_list.c
Making dependency file ring_buffer.d for ring_buffer.c
Making dependency file metadata.d for metadata.c
Making dependency file evel.d for evel.c
Making evel.o from evel.c
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel.c: In function 
'evel_free_event':
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel.c:404:7: warning: 
implicit declaration of function 'evel_free_hrtbt_field' 
[-Wimplicit-function-declaration]
       evel_free_hrtbt_field((EVENT_HEARTBEAT_FIELD *)evt_ptr);
       ^
Making metadata.o from metadata.c
Making ring_buffer.o from ring_buffer.c
Making double_list.o from double_list.c
Making hashtable.o from hashtable.c
Making evel_event.o from evel_event.c
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_event.c: In 
function 'evel_json_encode_eventtype':
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_event.c:569:11: 
warning: implicit declaration of function 'evel_json_encode_voice_quality' 
[-Wimplicit-function-declaration]
           evel_json_encode_voice_quality(jbuf, (EVENT_VOICE_QUALITY *)event);
           ^
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_event.c:573:11: 
warning: implicit declaration of function 'evel_json_encode_threshold_cross' 
[-Wimplicit-function-declaration]
           evel_json_encode_threshold_cross(jbuf, (EVENT_THRESHOLD_CROSS 
*)event);
           ^
Making evel_fault.o from evel_fault.c
Making evel_mobile_flow.o from evel_mobile_flow.c
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_mobile_flow.c: In 
function 'evel_json_encode_mobile_flow':
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_mobile_flow.c:965:7:
 warning: implicit declaration of function 'evel_throttle_suppress_nv_pair' 
[-Wimplicit-function-declaration]
       if (!evel_throttle_suppress_nv_pair(jbuf->throttle_spec,
       ^
Making evel_option.o from evel_option.c
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_option.c: In 
function 'evel_force_option_intheader':
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_option.c:393:18: 
warning: assignment discards 'const' qualifier from pointer target type 
[enabled by default]
   option->object = value;
                  ^
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_option.c: In 
function 'evel_set_option_intheader':
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_option.c:426:20: 
warning: assignment discards 'const' qualifier from pointer target type 
[enabled by default]
     option->object = value;
                    ^
Making evel_jsonobject.o from evel_jsonobject.c
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_jsonobject.c: In 
function 'evel_new_jsonobjinstance':
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_jsonobject.c:99:14:
 warning: unused variable 'key' [-Wunused-variable]
   jsmntok_t *key;
              ^
Making evel_other.o from evel_other.c
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_other.c: In 
function 'evel_other_field_add_namedarray':
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_other.c:172:3: 
warning: passing argument 2 of 'ht_get' discards 'const' qualifier from pointer 
target type [enabled by default]
   list = (DLIST *)ht_get(other->namedarrays, hashname);
   ^
In file included from 
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel.h:44:0,
                 from 
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_other.c:29:
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/hashtable.h:95:7: note: 
expected 'char *' but argument is of type 'const char *'
 void *ht_get( HASHTABLE_T *hashtable, char *key );
       ^
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_other.c:178:6: 
warning: passing argument 2 of 'ht_set' discards 'const' qualifier from pointer 
target type [enabled by default]
      ht_set(other->namedarrays, hashname,(void*)nlist);
      ^
In file included from 
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel.h:44:0,
                 from 
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_other.c:29:
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/hashtable.h:86:6: note: 
expected 'char *' but argument is of type 'const char *'
 void ht_set( HASHTABLE_T *hashtable, char *key, void *value );
      ^
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_other.c: In 
function 'evel_other_field_add_jsonobj':
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_other.c:203:17: 
warning: unused variable 'other_field' [-Wunused-variable]
   OTHER_FIELD * other_field = NULL;
                 ^
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_other.c: In 
function 'evel_json_encode_other':
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_other.c:303:27: 
warning: comparison between signed and unsigned integer expressions 
[-Wsign-compare]
         for( idx = 0; idx < ht->size; idx++ ) {
                           ^
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_other.c:348:25: 
warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
     if(jsonobjp != NULL);
                         ^
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_other.c:362:15: 
warning: implicit declaration of function 'evel_enc_kv_object' 
[-Wimplicit-function-declaration]
               evel_enc_kv_object(jbuf, "objectInstance", 
jsonobjinst->jsonstring);
               ^
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_other.c:367:10: 
warning: variable 'item_added3' set but not used [-Wunused-but-set-variable]
     bool item_added3 = false;
          ^
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_other.c:278:8: 
warning: unused variable 'itm_added' [-Wunused-variable]
   bool itm_added = false;
        ^
Making evel_json_buffer.o from evel_json_buffer.c
Making evel_reporting_measurement.o from evel_reporting_measurement.c
Making evel_heartbeat_fields.o from evel_heartbeat_fields.c
Making evel_sipsignaling.o from evel_sipsignaling.c
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_sipsignaling.c: In 
function 'evel_json_encode_signaling':
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_sipsignaling.c:485:3:
 warning: implicit declaration of function 'evel_json_encode_vendor_field' 
[-Wimplicit-function-declaration]
   evel_json_encode_vendor_field(jbuf, &event->vnfname_field);
   ^
Making evel_scaling_measurement.o from evel_scaling_measurement.c
Making evel_state_change.o from evel_state_change.c
Making evel_strings.o from evel_strings.c
Making evel_syslog.o from evel_syslog.c
Making evel_throttle.o from evel_throttle.c
Making evel_internal_event.o from evel_internal_event.c
Making evel_event_mgr.o from evel_event_mgr.c
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_event_mgr.c: In 
function 'event_handler_initialize':
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_event_mgr.c:268:5: 
warning: format not a string literal and no format arguments [-Wformat-security]
     snprintf(local_address,sizeof(local_address),source_ip);
     ^
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_event_mgr.c:268:5: 
warning: format not a string literal and no format arguments [-Wformat-security]
Making evel_threshold_cross.o from evel_threshold_cross.c
Making evel_voicequality.o from evel_voicequality.c
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_voicequality.c: In 
function 'evel_json_encode_voice_quality':
/opt/VES/evel/evel-library/bldjobs/../code/evel_library/evel_voicequality.c:489:3:
 warning: implicit declaration of function 'evel_json_encode_vendor_field' 
[-Wimplicit-function-declaration]
   evel_json_encode_vendor_field(jbuf, &event->vendorVnfNameFields);
   ^
Making evel_logging.o from evel_logging.c
Making evel_batch.o from evel_batch.c
Making jsmn.o from jsmn.c
Linking API Shared Library
Linking API Static Library
Making VNF Reporting
vpp_measurement_reporter.c: In function 'main':
vpp_measurement_reporter.c:206:22: warning: passing argument 6 of 
'evel_initialize' makes integer from pointer without a cast [enabled by default]
                      1))                           /* Verbosity             */
                      ^
In file included from vpp_measurement_reporter.c:25:0:
/opt/VES/evel/evel-library/code/VESreporting/../../code/evel_library/evel.h:1423:16:
 note: expected 'int' but argument is of type 'void *'
 EVEL_ERR_CODES evel_initialize(const char * const fqdn,
                ^
vpp_measurement_reporter.c:206:22: warning: passing argument 12 of 
'evel_initialize' makes integer from pointer without a cast [enabled by default]
                      1))                           /* Verbosity             */
                      ^
In file included from vpp_measurement_reporter.c:25:0:
/opt/VES/evel/evel-library/code/VESreporting/../../code/evel_library/evel.h:1423:16:
 note: expected 'long int' but argument is of type 'char *'
 EVEL_ERR_CODES evel_initialize(const char * const fqdn,
                ^
vpp_measurement_reporter.c:206:22: warning: passing argument 15 of 
'evel_initialize' makes pointer from integer without a cast [enabled by default]
                      1))                           /* Verbosity             */
                      ^
In file included from vpp_measurement_reporter.c:25:0:
/opt/VES/evel/evel-library/code/VESreporting/../../code/evel_library/evel.h:1423:16:
 note: expected 'const char * const' but argument is of type 'int'
 EVEL_ERR_CODES evel_initialize(const char * const fqdn,
                ^
vpp_measurement_reporter.c:206:22: error: incompatible type for argument 16 of 
'evel_initialize'
                      1))                           /* Verbosity             */
                      ^
In file included from vpp_measurement_reporter.c:25:0:
/opt/VES/evel/evel-library/code/VESreporting/../../code/evel_library/evel.h:1423:16:
 note: expected 'EVEL_SOURCE_TYPES' but argument is of type 'char *'
 EVEL_ERR_CODES evel_initialize(const char * const fqdn,
                ^
vpp_measurement_reporter.c:206:22: warning: passing argument 17 of 
'evel_initialize' makes pointer from integer without a cast [enabled by default]
                      1))                           /* Verbosity             */
                      ^
In file included from vpp_measurement_reporter.c:25:0:
/opt/VES/evel/evel-library/code/VESreporting/../../code/evel_library/evel.h:1423:16:
 note: expected 'const char * const' but argument is of type 'int'
 EVEL_ERR_CODES evel_initialize(const char * const fqdn,
                ^
vpp_measurement_reporter.c:206:22: error: too few arguments to function 
'evel_initialize'
                      1))                           /* Verbosity             */
                      ^
In file included from vpp_measurement_reporter.c:25:0:
/opt/VES/evel/evel-library/code/VESreporting/../../code/evel_library/evel.h:1423:16:
 note: declared here
 EVEL_ERR_CODES evel_initialize(const char * const fqdn,
                ^
make[1]: *** [vpp_measurement_reporter] Error 1
make: *** [vnf_reporting] Error 2
 Adding system startup for /etc/init.d/vfirewall.sh ...
   /etc/rc0.d/K20vfirewall.sh -> ../init.d/vfirewall.sh
   /etc/rc1.d/K20vfirewall.sh -> ../init.d/vfirewall.sh
   /etc/rc6.d/K20vfirewall.sh -> ../init.d/vfirewall.sh
   /etc/rc2.d/S20vfirewall.sh -> ../init.d/vfirewall.sh
   /etc/rc3.d/S20vfirewall.sh -> ../init.d/vfirewall.sh
   /etc/rc4.d/S20vfirewall.sh -> ../init.d/vfirewall.sh
   /etc/rc5.d/S20vfirewall.sh -> ../init.d/vfirewall.sh

May I know anyone tested with "1.2.0" version?

Best Regards
Bharath T

On Mon, Mar 12, 2018 at 7:11 PM, Thiruveedula, Bharath 
<bharath.thiruveed...@verizon.com<mailto:bharath.thiruveed...@verizon.com>> 
wrote:
Hi,

Till last week vFW user data scripts work propoerly. But today when I tried to 
deploy, the links mentioned below were not found. I tried to download them 
manually, but it says

<image.png>
I can see the new artifacts version was added which is "1.2.0", but I think it 
would be really good if we maintain the previous versions(i.e., 1.1.1) for a 
while (until the next  release probably) so that no one gets surprised while 
deploying (especially while showing demos to others :) ).

Apologies if I missed any notification of "change in artifacts version"

Best Regards
Bharath T

_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
https://lists.onap.org/mailman/listinfo/onap-discuss

_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to