github / glb-director

GitHub Load Balancer Director and supporting tooling.
Other
2.38k stars 229 forks source link

glb-director-pcap needs -lrte-acl to link #75

Open openhacker opened 5 years ago

openhacker commented 5 years ago

Not sure how it links without it.

Without -rte-acl I get: gcc \ -Wall -O3 -g -Werror -pie -fPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -DCLI_MODE \ pcap_mode.c ../glb_fwd_config.c ../glb_director_config.c ../glb_encap.c ../cmdline_parse.c ../cmdline_parse_etheraddr.c ../glb_encap_pcap.c ../siphash24.c ../shared_opt.c \ -o glb-director-pcap \ -Ipwd/.. \ -I/usr/include/dpdk \ -I/usr/include/x86_64-linux-gnu \ -lpcap -z relro -z now -ljansson /tmp/ccSt1u9w.o: In function glb_fwd_config_ctx_decref': /home/leisner/github/glb-director/src/glb-director/cli/../glb_fwd_config.c:157: undefined reference torte_acl_free' /home/leisner/github/glb-director/src/glb-director/cli/../glb_fwd_config.c:159: undefined reference to rte_acl_free' /tmp/ccSt1u9w.o: In functioncreate_glb_fwd_config': /home/leisner/github/glb-director/src/glb-director/cli/../glb_fwd_config.c:113: undefined reference to `create_bind_classifier' collect2: error: ld returned 1 exit status