Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error in trireme-example #798

Open
Sangeetha-Rajee opened this issue May 21, 2019 · 1 comment
Open

Compilation error in trireme-example #798

Sangeetha-Rajee opened this issue May 21, 2019 · 1 comment

Comments

@Sangeetha-Rajee
Copy link

I checked out trireme-example on Fedora 28 using git as below -
'git clone https://github.com/aporeto-inc/trireme-example.git'

Then following all the steps mentioned in README.MD - https://github.com/aporeto-inc/trireme-example/blob/master/README.md , I am trying to compile using the specified command ' make build'.

I am getting the following compilation error -

(69/69) Wrote github.com/docker/[email protected]

github.com/aporeto-inc/trireme-example/vendor/go.aporeto.io/netlink-go/nflog

vendor/go.aporeto.io/netlink-go/nflog/nflog.go:287:31: too many arguments in call to packet.New
have (number, []byte, string, bool)
want (uint64, []byte, string)
vendor/go.aporeto.io/netlink-go/nflog/nflog.go:293:37: cannot call non-function ipPacket.SourceAddress (type net.IP)
vendor/go.aporeto.io/netlink-go/nflog/nflog.go:294:42: cannot call non-function ipPacket.DestinationAddress (type net.IP)
vendor/go.aporeto.io/netlink-go/nflog/nflog.go:296:34: cannot call non-function ipPacket.IPProto (type uint8)
vendor/go.aporeto.io/netlink-go/nflog/nflog.go:297:24: ipPacket.IPTotalLen undefined (type *packet.Packet has no field or method IPTotalLen)
vendor/go.aporeto.io/netlink-go/nflog/nflog.go:298:36: cannot call non-function ipPacket.SourcePort (type uint16)
vendor/go.aporeto.io/netlink-go/nflog/nflog.go:299:25: ipPacket.DestPort undefined (type *packet.Packet has no field or method DestPort)
make: *** [Makefile:23: build] Error 2

Please help to resolve this issue, as we are checking the feasibility of integrating trireme solution into security enhancements for cloud applications in our organisation

@likhita-8091
Copy link

I have encountered a lot of go dependencies, how can the landlord solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants