github / github/glb-director

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

Open
#75 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2.5k
Forks
239
PR merge metrics
No merged PRs in 30d

Description

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 \
-I`pwd`/.. \
-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 to `rte_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 function `create_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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.