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

unable to build on fedora? #335

Open
redthing1 opened this issue Sep 4, 2024 · 0 comments
Open

unable to build on fedora? #335

redthing1 opened this issue Sep 4, 2024 · 0 comments

Comments

@redthing1
Copy link

i am building on current fedora linux. I get undefined: syscall.Dup2 and undefined: syscall.SYS_POLL. see below for details:

my go version is 1.22.6

❯ go version
go version go1.22.6 linux/arm64
❯ make
go get -u github.com/chzyer/readline github.com/golang/snappy github.com/jroimartin/gocui github.com/keystone-engine/keystone/bindings/go/keystone github.com/lunixbochs/argjoy github.com/lunixbochs/capstr github.com/lunixbochs/fvbommel-util/sortorder github.com/lunixbochs/ghostrace/ghost/memio github.com/lunixbochs/ghostrace/ghost/sys/num github.com/lunixbochs/luaish github.com/lunixbochs/luaish-luar github.com/lunixbochs/luaish/ast github.com/lunixbochs/luaish/parse github.com/lunixbochs/luaish/pm github.com/lunixbochs/readline github.com/lunixbochs/struc github.com/mattn/go-colorable github.com/mattn/go-isatty github.com/mattn/go-runewidth github.com/mgutz/ansi github.com/nsf/termbox-go github.com/pkg/errors github.com/rivo/uniseg github.com/shibukawa/configdir github.com/unicorn-engine/unicorn/bindings/go/unicorn golang.org/x/net/context golang.org/x/sys/unix
rm -f usercorn
go build -o usercorn ./go/cmd/main
# github.com/lunixbochs/usercorn/go/kernel/linux/unpack
go/kernel/linux/unpack/mmap.go:31:20: undefined: mmapFlagMap
# github.com/lunixbochs/usercorn/go/kernel/posix
go/kernel/posix/io.go:226:20: undefined: syscall.Dup2
go/kernel/posix/socket.go:132:40: undefined: syscall.SYS_POLL
make: *** [Makefile:110: usercorn] Error 1
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

1 participant