sipcapture / heplify

Portable and Lightweight HEP Capture Agent for HOMER
https://sipcapture.org
GNU Affero General Public License v3.0
185 stars 66 forks source link

Building for ARM #101

Closed bryanredeagle closed 5 years ago

bryanredeagle commented 5 years ago

I'm attempting to build for the Raspberry Pi from my Macbook. Heplify compiles fine when I build for Mac, but when I switch it to linux/armv7, it throws the same error as in the MIPS issue.

sniffer/afpacket_linux.go:17:11: undefined: afpacket.TPacket

The Raspberry Pi seems to have a much older version of go so I thought I would build it on my Mac. Any tips for cross compiling it?

Thanks!

bryanredeagle commented 5 years ago

I got this working myself. I needed to use the latest gopacket and freecache. It then compiled fine.

lmangani commented 5 years ago

Good to hear you got this sorted! :)