Alan, Your Ubuntu is i686 right? That would make sense because 0xffffffff is really too big for an int (in 32 bit systems). I guess everyone has been developing newt on 64 bit systems (OSX or Linux x86_64).
On Fri, Dec 23, 2016, at 06:50 PM, Alan Graves wrote: > Hi Sterling, > > BTW Thanks for the quick response. > > agraves@agravesLNXPV3997:~/dev/go/src/mynewt.apache.org/newt/newt$ git > status > On branch master > Your branch is up-to-date with 'origin/master'. > nothing to commit, working directory clean > > agraves@agravesLNXPV3997:~/dev/go/src/mynewt.apache.org/newt/newt$ go > version > go version go1.6.2 linux/386 > > It looks like my go version is a bit behind yours. Might that be a > problem? > > Cheers, > ALan > > > > -----Original Message----- > From: Sterling Hughes [mailto:[email protected]] > Sent: Friday, December 23, 2016 12:38 PM > To: [email protected] > Subject: Re: newt build error > > Hi Alan, > > What go version are you using? Also, what branch is the mynewt source > that you’re trying to compile? > > For me: > > $ pwd > /Users/sterling/dev/go/src/mynewt.apache.org/newt/newt > $ git status > On branch develop > <snip> > $ go version > go version go1.7.4 darwin/amd64 > $ > > We’ve dropped support in mynewt for the PDK, you need the full DK in > order to get it up and running. We have not yet supported the nRF52840 > PDK, but the plan is for me to do it over the holidays, so early Jan we > should have something working. There are a couple of errata that need to > be copied over from the nordic DK, it doesn’t look like a huge job. > > Best, > > Sterling > > ps: These are my parameters — but I’m doing development, don’t worry if > they differ from yours — I’ll try and reproduce with your setup. > > On 23 Dec 2016, at 12:00, Alan Graves wrote: > > > Hi dev, > > > > For my environment I'm running Ubuntu 16.x in a VMWare environment > > under Windows 7. I also have Go 1.6 installed and working. > > The problem is that I've been trying to do a native Linux install of > > newt and I get a strange Go? error, which unfortunately prevents some > > executables from being build: > > > > agraves@agravesLNXPV3997:~/dev/go/src/mynewt.apache.org/newt/newt$ go > > get # mynewt.apache.org/newt/newt/syscfg > > syscfg/syscfg.go:923: constant 4294967295 overflows int > > agraves@agravesLNXPV3997:~/dev/go/src/mynewt.apache.org/newt/newt$<mai > > lto:agraves@agravesLNXPV3997:~/dev/go/src/mynewt.apache.org/newt/newt$ > > > agraves@agravesLNXPV3997:~/dev/go/src/mynewt.apache.org/newt/newt$ > > cd $GOPATH agraves@agravesLNXPV3997:~/dev/go$ ls bin pkg src > > agraves@agravesLNXPV3997:~/dev/go$ cd bin > > agraves@agravesLNXPV3997:~/dev/go/bin$ ls > > agg codecgen eg gorename h2i mc > > stress > > basic colcmp fiximports gotext heapview newtmgr > > stringer > > benchcmp cover godex gotype hello newtvm tip > > bundle crypt goimports goyacc hook present > > toolstash > > callgraph digraph gomvpkg guru html2article ssadump > > agraves@agravesLNXPV3997:~/dev/go/bin$ > > > > Unfortunately, Go is Greek to me, although it might be interesting to > > figure out, I was hoping to simply test drive things on a nRF52832 > > Preview DK. On an aside do you know if anyone has tried using the > > newly released BLE 5 nRF52840 Preview DK? > > > > Any help getting my setup going would be appreciated. > > > > Thanks, > > ALan
