sigscale / snmp-collector Goto Github PK
View Code? Open in Web Editor NEWSNMP Manager for 3GPP Alarm IRP
License: Apache License 2.0
SNMP Manager for 3GPP Alarm IRP
License: Apache License 2.0
I have built and installed as explained in README.maintainer. When I tried to run the testsuite snmp_collector_api_SUITE, the testcase init_per_suite is failing. Why is it failing? Please guide me.
~/git4/snmp_collector.build/test$ ct_run -suite snmp_collector_api_SUITE
*** CT Error Notification 2024-04-22 19:48:46.643 ***
snmp_collector_api_SUITE:init_per_suite failed
Reason: {badmatch,{error,{undefined,{snmp_collector_app,start,[norma...}
Full error description and stacktrace
*** init_per_suite failed.
Skipping all cases.
I have followed the procedure explained in the file README.maintainer. All the steps till "make" have succeeded. The " make " command throws the following error "invalid application of ‘sizeof’ to incomplete type ‘EVP_MD_CTX’ {aka ‘struct evp_md_ctx_st’}". Please help me in resolving this issue.
/usr/local/bin/erlc -W -v -I ../../snmp-collector/include -I ../include ../../snmp-collector/src/snmp_collector_manager_fsm.erl
/usr/local/bin/erlc -W -v -I ../../snmp-collector/include -I ../include ../../snmp-collector/src/snmp_collector_manager_fsm_sup.erl
/usr/local/bin/erlc -W -v -I ../../snmp-collector/include -I ../include ../../snmp-collector/src/snmp_collector_manager_server.erl
/usr/local/bin/erlc -W -v -I ../../snmp-collector/include -I ../include ../../snmp-collector/src/snmp_collector_manager_sup_sup.erl
/usr/local/bin/erlc -W -v -I ../../snmp-collector/include -I ../include ../../snmp-collector/src/snmp_collector_manager_port_sup.erl
/usr/local/bin/erlc -W -v -I ../../snmp-collector/include -I ../include ../../snmp-collector/src/snmp_collector_manager_sup.erl
make[2]: Leaving directory '/home/bhuvan/git/snmp_collector.build/ebin'
Making all in c_src
make[2]: Entering directory '/home/bhuvan/git/snmp_collector.build/c_src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../snmp-collector/c_src -I.. -I/include -I/usr/local/lib/erlang/erts-14.1.1/include -g -O2 -Wall -MT snmp_collector_usm.lo -MD -MP -MF .deps/snmp_collector_usm.Tpo -c -o snmp_collector_usm.lo ../../snmp-collector/c_src/snmp_collector_usm.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../snmp-collector/c_src -I.. -I/include -I/usr/local/lib/erlang/erts-14.1.1/include -g -O2 -Wall -MT snmp_collector_usm.lo -MD -MP -MF .deps/snmp_collector_usm.Tpo -c ../../snmp-collector/c_src/snmp_collector_usm.c -fPIC -DPIC -o .libs/snmp_collector_usm.o
../../snmp-collector/c_src/snmp_collector_usm.c: In function ‘ku_nif’:
../../snmp-collector/c_src/snmp_collector_usm.c:165:32: **error: invalid application of ‘sizeof’ to incomplete type ‘EVP_MD_CTX’ {aka ‘struct evp_md_ctx_st’}**
165 | sizeof(EVP_MD_CTX))) == NULL))
| ^~~~~~~~~~
make[2]: *** [Makefile:462: snmp_collector_usm.lo] Error 1
make[2]: Leaving directory '/home/bhuvan/git/snmp_collector.build/c_src'
make[1]: *** [Makefile:435: all-recursive] Error 1
make[1]: Leaving directory '/home/bhuvan/git/snmp_collector.build'
make: *** [Makefile:365: all] Error 2
bhuvan@vm-alarm:~/git/snmp_collector.build$
I have built and installed as explained in README.maintainer. When I tried to run the testsuite snmp_collector_snmp_SUITE, I got the following result. Why is it failing? Please guide me.
~/git4/snmp_collector.build/test$ ct_run -suite snmp_collector_snmp_SUITE
The testcase init_per_suite is passed.
The test add_new_agent failed with an error "{undef,[{snmp_collector_snmp_SUITE,...},{...}|...]} ... Reason: undefined function snmp_collector_snmp_SUITE:add_new_agent/1"
All other testcases are SKIPPED with an error
ERROR! init_per_testcase crashed!
Location: [{snmp_collector_snmp_SUITE,init_snmp,690},
{snmp_collector_snmp_SUITE,init_per_testcase,65},
{test_server,do_init_per_testcase,1563},
{test_server,run_test_case_eval1,1264},
{test_server,run_test_case_eval,1234}]
Reason: {{badmatch,{error,enoent}},
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.