As a follow-up: I downloaded the previous commit of the Proton package for Go, and I can now compile the code. I'm not sure if there is a bug in the latest commit or if my environment is not set up properly.
-Paul On Mon, Jul 4, 2022 at 9:07 AM Paul Larsen <paul.r.lar...@gmail.com> wrote: > Hello, > > I'm trying to experiment with the Electron package for Golang to > potentially migrate my messaging app away from C++. > > I'm currently working in Rocky Linux with 1.17. Creating a simple program > fails with the following error message: > # github.com/apache/qpid-proton/go/pkg/proton > ../../go/pkg/mod/ > github.com/apache/qpid-proton@v0.0.0-20220624173714-c33f1abc1793/go/pkg/proton/wrappers.go:129:9: > could not determine kind of name for C.pn_tostring > > Here is the sample code - > > package main > > import ( > "fmt" > > "github.com/apache/qpid-proton/go/pkg/electron" > ) > > func main() { > cntr := electron.NewContainer("test") > fmt.Println(cntr.Id()) > } > > Any help would be appreciated! > > Thank you, > > Paul Larsen >