undefined: assetFS
github.com/fs714/goiftop
./goiftop.go:45:58: undefined: assetFS
env GOOS=linux GOARCH=amd64 go build -o bin/goiftop -ldflags '-s -X "github.com/fs714/goiftop/utils/version.GitVersion=d110a92c8fb10fdd199f6ddc117bf471e96fe213" -X "github.com/fs714/goiftop/utils/.GoVersion=go version go1.14.9 linux/amd64" -X "github.com/fs714/goiftop/utils/version.BuildTime=2022-03-16T18:37:50+0000"'
github.com/fs714/goiftop/engine/driver
engine/driver/nflog.go:24:10: fatal error: libnetfilter_log/libnetfilter_log.h: No such file or directory #include <libnetfilter_log/libnetfilter_log.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. Makefile:13: recipe for target 'build' failed make: *** [build] Error 2
Any idea on the above error while running make on the repo?
env GOOS=linux GOARCH=amd64 go build -o bin/goiftop -ldflags '-s -X "github.com/fs714/goiftop/utils/version.GitVersion=d110a92c8fb10fdd199f6ddc117bf471e96fe213" -X "github.com/fs714/goiftop/utils/.GoVersion=go version go1.14.9 linux/amd64" -X "github.com/fs714/goiftop/utils/version.BuildTime=2022-03-16T18:37:50+0000"'
github.com/fs714/goiftop/engine/driver
engine/driver/nflog.go:24:10: fatal error: libnetfilter_log/libnetfilter_log.h: No such file or directory #include <libnetfilter_log/libnetfilter_log.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. Makefile:13: recipe for target 'build' failed make: *** [build] Error 2
Any idea on the above error while running make on the repo?
Please install required lib as below (take ubuntu as example)
apt-get install linux-libc-dev libpcap-dev libnetfilter-queue-dev libnetfilter-log-dev