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

invalid file operation error #163

Closed
EWYan opened this issue May 10, 2022 · 3 comments
Closed

invalid file operation error #163

EWYan opened this issue May 10, 2022 · 3 comments

Comments

@EWYan
Copy link

EWYan commented May 10, 2022

i just try to compile 01_wait_forever samples on ubuntu1604, but don't know why the following error pops out:

yan@ubuntu:~/Desktop/rust-raspberrypi-OS-tutorials/01_wait_forever$ make qemu
Makefile:120: *** Invalid file operation: < target/aarch64-unknown-none-softfloat/release/kernel.d.  Stop.

please help, thx.

@andre-richter
Copy link
Member

Hmm interesting. Did you change anything or is every file untouched?

What is the output of make —version?

@andre-richter
Copy link
Member

Probably a make version that is too old. Can you try this as a workaround for now:

https://stackoverflow.com/questions/6767413/create-a-variable-in-a-makefile-by-reading-contents-of-another-file#6779306

@EWYan
Copy link
Author

EWYan commented May 11, 2022

Probably a make version that is too old. Can you try this as a workaround for now:

https://stackoverflow.com/questions/6767413/create-a-variable-in-a-makefile-by-reading-contents-of-another-file#6779306

yes, make 4.1 is not works for this file operation, make 4.3 works like charm; thanks.

@EWYan EWYan closed this as completed May 11, 2022
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