Doozer compile error missing ProtoMessage method.

155 views
Skip to first unread message

p4r1tyb1t

unread,
Jun 28, 2012, 12:44:26 AM6/28/12
to doozer
Hi People,

New to Doozer, tried compiling Doozer from source. I get following
error,

../../tools/go/src/pkg/github.com/ha/doozer/conn.go:184: cannot use
&t.req (type *request) as type proto.Message in function argument:
*request does not implement proto.Message (missing ProtoMessage
method)
../../tools/go/src/pkg/github.com/ha/doozer/conn.go:198: cannot use &r
(type *response) as type proto.Message in function argument:
*response does not implement proto.Message (missing ProtoMessage
method)
../../tools/go/src/pkg/github.com/ha/doozer/msg.pb.go:127: cannot use
this (type *request) as type proto.Message in function argument:
*request does not implement proto.Message (missing ProtoMessage
method)
../../tools/go/src/pkg/github.com/ha/doozer/msg.pb.go:142: cannot use
this (type *response) as type proto.Message in function argument:
*response does not implement proto.Message (missing ProtoMessage
method)
# github.com/ha/doozerd/consensus
../../tools/go/src/pkg/github.com/ha/doozerd/consensus/m.pb.go:65:
cannot use this (type *msg) as type proto.Message in function
argument:
*msg does not implement proto.Message (missing ProtoMessage method)
../../tools/go/src/pkg/github.com/ha/doozerd/consensus/manager.go:230:
cannot use &m (type *msg) as type proto.Message in function argument:
*msg does not implement proto.Message (missing ProtoMessage method)
../../tools/go/src/pkg/github.com/ha/doozerd/consensus/manager.go:240:
cannot use &p.msg (type *msg) as type proto.Message in function
argument:
*msg does not implement proto.Message (missing ProtoMessage method)
../../tools/go/src/pkg/github.com/ha/doozerd/consensus/run.go:65:
cannot use m (type *msg) as type proto.Message in function argument:
*msg does not implement proto.Message (missing ProtoMessage method)

Any body has any idea, I am on Ubuntu Precise, butt his will go on
Openshift, hoping compiled binary will work on RHEL.

Thanks in advance


smallfish

unread,
Jun 28, 2012, 1:55:08 AM6/28/12
to doo...@googlegroups.com, k...@xph.us
Reply all
Reply to author
Forward
0 new messages