# gobind/gobind
Core_darwin.m:893:13: error: redefinition of '_cmd' with a different type: 'nbyteslice' (aka 'struct nbyteslice') vs 'SEL'
note: previous definition is here
Core_darwin.m:895:42: error: passing 'SEL' to parameter of incompatible type 'nbyteslice' (aka 'struct nbyteslice')
cgo-gcc-export-header-prolog:175:72: note: passing argument to parameter 'param_cmd' here
Core_darwin.m:897:13: error: member reference base type 'SEL' is not a structure or union
# gobind/gobind
Core_darwin.m:893:13: error: redefinition of '_cmd' with a different type: 'nbyteslice' (aka 'struct nbyteslice') vs 'SEL'
note: previous definition is here
Core_darwin.m:895:42: error: passing 'SEL' to parameter of incompatible type 'nbyteslice' (aka 'struct nbyteslice')
cgo-gcc-export-header-prolog:175:72: note: passing argument to parameter 'param_cmd' here
Core_darwin.m:897:13: error: member reference base type 'SEL' is not a structure or union
# gobind/gobind
Core_darwin.m:893:13: error: redefinition of '_cmd' with a different type: 'nbyteslice' (aka 'struct nbyteslice') vs 'SEL'
note: previous definition is here
Core_darwin.m:895:42: error: passing 'SEL' to parameter of incompatible type 'nbyteslice' (aka 'struct nbyteslice')
cgo-gcc-export-header-prolog:175:72: note: passing argument to parameter 'param_cmd' here
Core_darwin.m:897:13: error: member reference base type 'SEL' is not a structure or union
gomobile: iossimulator/amd64: go build -v -buildmode=c-archive -o /var/folders/q_/k5lz0gmj5vzgx79dmwf1jjy00000gn/T/gomobile-work-3616695288/core-iossimulator-amd64.a ./gobind failed: exit status 1
Go version
go1.21.5 darwin_amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
build ok
What did you see instead?