On 03/10/17 18:56, marko kiiskila wrote: > Hi Stephane, > > newtmgr depends on that gatt library for bluetooth communications. > Based on that error you’re getting it’s clearly not been tried out on FreeBSD. > > I see there’s AF_BLUETOOTH in FreeBSD, but I have not looked at > how (dis)similar it is to Linux. >
Hi, I don't know "go", but if you need some files or program outputs, let me know the command I should run >> On Mar 10, 2017, at 7:22 AM, Stephane D'Alu <[email protected]> wrote: >> >> Hi, >> >> Trying to build newt on FreeBSD, I got the following errors: >> >> $ go get mynewt.apache.org/newt/... >> # mynewt.apache.org/newt/newtmgr/vendor/github.com/runtimeco/gatt >> src/mynewt.apache.org/newt/newtmgr/vendor/github.com/runtimeco/gatt/central.go:118: >> undefined: central >> # >> mynewt.apache.org/newt/newtmgr/vendor/github.com/runtimeco/gatt/linux/socket >> src/mynewt.apache.org/newt/newtmgr/vendor/github.com/runtimeco/gatt/linux/socket/socket.go:66: >> undefined: AF_BLUETOOTH >> >> >> After installing, newtmgr is missing (which is certainly related >> to the previous error) >> >> $ cd $GOPATH/src/mynewt.apache.org/newt/newt >> $ go install >> $ ls "$GOPATH"/bin/ >> newt newtvm >> >> >> Regards >> -- >> Stephane D'Alu > -- Stephane D'Alu
