NJU-ProjectN / nemu

NJU EMUlator, a full system x86/mips32/riscv32/riscv64 emulator for teaching
Other
859 stars 184 forks source link

.config does not exists #34

Closed izlyforever closed 2 years ago

izlyforever commented 2 years ago

$ make menuconfig

ics2021/nemu/scripts/config.mk:5: Warning: .config does not exists! ics2021/nemu/scripts/config.mk:6: To build the project, first run 'make menuconfig'.

========================= Dir: ~/ics2021/nemu Distro: Ubuntu 22.04 LTS Kernel: Linux 5.15.0-27-generic GCC: 11.2.0 LLVM: 14.0.0

izlyforever commented 2 years ago

已解决 $ sudo apt install bison $ sudo apt install flex 即可,一开始以为是缺少 .config 问题~

bensstark commented 1 year ago

Just about to STFW and prepare to waste so much time on it ,oh,thank you sir!

cuzperf commented 1 year ago

@bensstark You may consider it as another way of training

Ferry-200 commented 5 days ago

同样被 .config does not exists! 的警告骗了。其实只要肯 stfw "bison: No such file or directory" 就可以找到解决方案。