Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error: undefined: gob.UnRegisterName and gob.RegisterNamedType when building Kaiju editor #275

Open
mewmew opened this issue Jan 16, 2025 · 0 comments
Assignees

Comments

@mewmew
Copy link

mewmew commented Jan 16, 2025

Describe the bug
Building the Kaiju editor for rev eb5ac72 of Kaiju gives the following error:

kaiju/editor/codegen
# kaiju/editor/codegen
editor/codegen/runtime_type.go:57:7: undefined: gob.UnRegisterName
editor/codegen/runtime_type.go:58:7: undefined: gob.RegisterNamedType

To Reproduce
Steps to reproduce the behavior:

  1. Clone and build the Go compiler for Kaiju.
  2. Clone the kaiju repo, traverse into the src directory and run /path/to/kaiju-go/bin/go build -tags editor -v -o kaiju_editor -ldflags="-s -w" main.go
  3. See build error above

Expected behavior
Successful compile.

Platform

  • OS: Linux

Additional context

The standard encoding/gob package has no exported symbols named RegisterNamedType nor UnRegisterName.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants