You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
compile warning: /usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x22
To Reproduce
run command make
CC=clang go build -tags linux -ldflags "-w -s -X 'ecapture/cli/cmd.GitVersion=linux_aarch64:0.7.3-20240128-1a2abb8:[CORE]'" -o bin/ecapture .&&echo"Please ignore the above cgo libpcap warnings."# ecapture
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x22
/tmp/go-link-1558541666/000004.o: infunction`_cgo_9c8efe9babca_C2func_getaddrinfo':
cgo_unix_cgo.cgo2.c:(.text+0x30): warning: Using 'getaddrinfo'in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x22
/usr/local/lib/libpcap.a(nametoaddr.o): infunction`pcap_nametoaddr':
nametoaddr.c:(.text+0x8): warning: Using 'gethostbyname'in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /usr/local/lib/libpcap.a(nametoaddr.o): infunction`pcap_nametonetaddr':
nametoaddr.c:(.text+0xb8): warning: Using 'getnetbyname_r'in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /usr/local/lib/libpcap.a(nametoaddr.o): infunction`pcap_nametoproto':
nametoaddr.c:(.text+0x388): warning: Using 'getprotobyname_r'in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
Please ignore the above cgo libpcap warnings.
Expected behavior
Screenshots
Linux Server/Android (please complete the following information):
Env: [run make env to get the environment variables]
Describe the bug
compile warning:
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x22
To Reproduce
run command
make
Expected behavior
Screenshots
Linux Server/Android (please complete the following information):
make env
to get the environment variables]Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: