Wanda Chiu created MYNEWT-719:
---------------------------------

             Summary: Newtmgr fails to build on 32 bit for Mac OS
                 Key: MYNEWT-719
                 URL: https://issues.apache.org/jira/browse/MYNEWT-719
             Project: Mynewt
          Issue Type: Bug
    Affects Versions: v1_1_0_rel
         Environment: Mac OS
            Reporter: Wanda Chiu


Go cross  compile of Newtmgr fails to build for Mac OS/32 bit. Set GOARCH=386 
and build on Mac OS (GOOS can take on default or set to darwin). 
Note: Newtmgr builds successfully for Linux 32 bits(GOOS=Linux GOARCH=386).

The build has the following errors on vendor code:

{code}
mynewt.apache.org/newt/newtmgr/vendor/github.com/tarm/serial
vendor/github.com/tarm/serial/serial.go:128: undefined: Port
vendor/github.com/tarm/serial/serial.go:139: undefined: openPort
# mynewt.apache.org/newt/newtmgr/vendor/github.com/runtimeco/gatt
vendor/github.com/runtimeco/gatt/device_darwin.go:35: undefined: xpc.XPC
vendor/github.com/runtimeco/gatt/peripheral_darwin.go:222: undefined: xpc.Dict
vendor/github.com/runtimeco/gatt/peripheral_darwin.go:223: undefined: xpc.Dict
{code}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to