mochi-tests fails the compilation with the following error messages.
make all-am
make[1]: Entering directory '/lus/theta-fs0/projects/radix-io/vchoi/SCRIPT_TESTING/mochi-tests/BUILD'
CC perf-regression/margo-p2p-latency.o
../perf-regression/margo-p2p-latency.c: In function 'main':
../perf-regression/margo-p2p-latency.c:114:32: warning: implicit declaration of function 'margo_diag_start' [-Wimplicit-function-declaration]
114 | if (g_opts.diag_file_name) margo_diag_start(mid);
| ^~~~
../perf-regression/margo-p2p-latency.c:205:32: warning: implicit declaration of function 'margo_diag_dump'; did you mean 'margo_state_dump'? [-Wimplicit-function-declaration]
205 | if (g_opts.diag_file_name) margo_diag_dump(mid, g_opts.diag_file_name, 1);
| ^~~~~~~
| margo_state_dump
CCLD perf-regression/margo-p2p-latency
/usr/bin/ld: perf-regression/margo-p2p-latency.o: in function main': /lus/theta-fs0/projects/radix-io/vchoi/SCRIPT_TESTING/mochi-tests/BUILD/../perf-regression/margo-p2p-latency.c:114: undefined reference tomargo_diag_start'
/usr/bin/ld: /lus/theta-fs0/projects/radix-io/vchoi/SCRIPT_TESTING/mochi-tests/BUILD/../perf-regression/margo-p2p-latency.c:205: undefined reference to `margo_diag_dump'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:933: perf-regression/margo-p2p-latency] Error 1
mochi-tests fails the compilation with the following error messages.
make all-am make[1]: Entering directory '/lus/theta-fs0/projects/radix-io/vchoi/SCRIPT_TESTING/mochi-tests/BUILD' CC perf-regression/margo-p2p-latency.o ../perf-regression/margo-p2p-latency.c: In function 'main': ../perf-regression/margo-p2p-latency.c:114:32: warning: implicit declaration of function 'margo_diag_start' [-Wimplicit-function-declaration] 114 | if (g_opts.diag_file_name) margo_diag_start(mid); | ^
~~~../perf-regression/margo-p2p-latency.c:205:32: warning: implicit declaration of function 'margo_diag_dump'; did you mean 'margo_state_dump'? [-Wimplicit-function-declaration] 205 | if (g_opts.diag_file_name) margo_diag_dump(mid, g_opts.diag_file_name, 1); | ^~~~~~~ | margo_state_dump CCLD perf-regression/margo-p2p-latency /usr/bin/ld: perf-regression/margo-p2p-latency.o: in functionmain': /lus/theta-fs0/projects/radix-io/vchoi/SCRIPT_TESTING/mochi-tests/BUILD/../perf-regression/margo-p2p-latency.c:114: undefined reference to
margo_diag_start' /usr/bin/ld: /lus/theta-fs0/projects/radix-io/vchoi/SCRIPT_TESTING/mochi-tests/BUILD/../perf-regression/margo-p2p-latency.c:205: undefined reference to `margo_diag_dump' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:933: perf-regression/margo-p2p-latency] Error 1