I would suggest you look at using another component if starting out on
new Go work, the proton-c Go binding is essentially stagnant and has
been for 2-3 years. Perhaps something more active, thats also pure Go
unlike the proton-c binding, such as https://github.com/Azure/go-amqp
might be a better fit.

The specific issue may be related to recent proton-c changes on main
that are as yet unreleased.. e.g I can see the only Go change in the
last couple years happened to be in that specific spot recently:
https://github.com/apache/qpid-proton/commit/839cdee1c091eacce7e2c91b6f60f205669a5521

Note the proton@ list was removed ~6 years ago in favour of
consolidating discussion onto the users and dev lists everything else
used.

Robbie

On Mon, 4 Jul 2022 at 15:46, 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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to