dbus (go) unter FreeBSD

midnight

OpenBSD & FreeBSD
Hallo,

nutzt jemand von euch dbus unter go? Ich habe folgendes Problem:

go get github.com/godbus/dbus baut unter FreeBSD 12.2 problemlos. Unter FreeBSD 13.0-RC[1-5] hagelt es Fehlermeldungen:
Code:
# go get github.com/godbus/dbus
go: downloading github.com/godbus/dbus v4.1.0+incompatible
# github.com/godbus/dbus
In file included from go/pkg/mod/github.com/godbus/dbus@v4.1.0+incompatible/transport_unixcred_freebsd.go:13:
In file included from /usr/include/sys/ucred.h:39:
/usr/include/sys/_lock.h:38:2: error: unknown type name 'u_int'
        u_int   lo_flags;
        ^
/usr/include/sys/_lock.h:39:2: error: unknown type name 'u_int'
        u_int   lo_data;                /* General class specific data. */
        ^
In file included from go/pkg/mod/github.com/godbus/dbus@v4.1.0+incompatible/transport_unixcred_freebsd.go:13:
In file included from /usr/include/sys/ucred.h:40:
/usr/include/sys/_mutex.h:49:11: error: unknown type name 'uintptr_t'
        volatile uintptr_t      mtx_lock;       /* Owner and flags. */
                 ^
/usr/include/sys/_mutex.h:63:11: error: unknown type name 'uintptr_t'
        volatile uintptr_t      mtx_lock;       /* Owner and flags. */
                 ^
4 errors generated.

Hat jemand eine Idee, was das Problem sein und wo ich ansetzen koennte?
 

midnight

OpenBSD & FreeBSD
Zuletzt bearbeitet:
Oben