Hi, We are testing VPP C API for our use case. We have a scenario where we want to wait for the reply of our API request. For this, we are trying to use S and W functions defined in src/vlibapi/vat_helper_macros.h. But we get the following error on compiling our source code : -
root@ggnlabvm-hnsnfvsdn03:~/vpp_api_test# make gcc -Wall -g -I/usr/include/vpp_plugins -I/usr/include/ -o vpp_api_test vpp_connect.o -Wl,--start-group -lvatplugin -lvppinfra -lvlibmemoryclient -lsvm -lvlib -lvppapiclient -Wl,--end-group -lpthread -lm -lrt -ldl vpp_connect.o: In function `del_sl_pol2_index6': /root/vpp_api_test/vpp_connect.c:780: undefined reference to `vat_time_now' /root/vpp_api_test/vpp_connect.c:780: undefined reference to `vat_suspend' /root/vpp_api_test/vpp_connect.c:780: undefined reference to `vat_time_now' /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libvlib.so: undefined reference to `stat_segment_register_gauge' collect2: error: ld returned 1 exit status Makefile:37: recipe for target 'vpp_api_test' failed make: *** [vpp_api_test] Error 1 Can anyone please suggest what is wrong here? Thanks and Regards, Chinmaya Agarwal.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16814): https://lists.fd.io/g/vpp-dev/message/16814 Mute This Topic: https://lists.fd.io/mt/75100285/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
