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

make all not working #149

Open
jaimeburnap opened this issue Sep 10, 2024 · 0 comments
Open

make all not working #149

jaimeburnap opened this issue Sep 10, 2024 · 0 comments

Comments

@jaimeburnap
Copy link

go version
go version go1.22.7 linux/amd64

make all

gzip -f -9 ./boot/kernel
mkdir -p ./boot/initfs
mkdir -p ./boot/initfs/bin
mkdir -p ./boot/initfs/cmd
mkdir -p ./boot/initfs/export
cd shell && GOOS=js GOARCH=wasm go build -o ../boot/initfs/bin/shell.wasm .
make -C external/micro build
make[1]: Entering directory '/home/jaime/projects/codingscape/wanix/external/micro'
cd ./repo && git reset --hard HEAD
HEAD is now at d8e9d61a Build arm32 binaries with GOARM=6
cd ./repo && go mod vendor && git apply ../wanix_vendor.patch
make -C repo wasm
make[2]: Entering directory '/home/jaime/projects/codingscape/wanix/external/micro/repo'
GOOS=linux GOARCH=amd64 go generate ./runtime
GOOS=js GOARCH=wasm go build -o ./micro.wasm -trimpath -ldflags "-s -w -X github.com/zyedidia/micro/v2/internal/util.Version=2.0.14-dev.1 -X github.com/zyedidia/micro/v2/internal/util.CommitHash=d8e9d61a -X 'github.com/zyedidia/micro/v2/internal/util.CompileDate=September 10, 2024'" ./cmd/micro
make[2]: Leaving directory '/home/jaime/projects/codingscape/wanix/external/micro/repo'
mv ./repo/micro.wasm ./../../boot/initfs/cmd/micro.wasm
make[1]: Leaving directory '/home/jaime/projects/codingscape/wanix/external/micro'
pwd
/home/jaime/projects/codingscape/wanix
go run ./build/build-pkgs/main.go ./build/build-pkgs/imports ./build/pkg.zip
Building target js_wasm...
Building target linux-gnu_amd64...
Building compile.wasm...
go: go.mod file not found in current directory or any parent directory; see 'go help modules'

FATAL: exit status 1
exit status 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