I’m a noob to rust/redox. I ran into a problem with building redox on Fedora 27. I cloned the repo and ran the bootstrap.sh script. I had a few minor issues, but was able to sorted them out. My current stopping point is compiling ring. The error is below. I was able to get pass this error by simply creating a new subdirectory ring-0.11.0/src/arithmetic/arithmetic/ and placing montgomery.rs in there. That doesn’t feel like the correct solution, especially when other subcomponents of ring complained about their module files not being found too. It seems to be a path/scope issue, but I’m not sure where that needs to be adjusted.
Compiling ring v0.11.0
error[E0583]: file not found for module montgomery
–> /home/cjredd/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.11.0/src/arithmetic/arithmetic.rs:15:5
|
15 | mod montgomery;
| ^^^^^^^^^^
|
= help: name the file either arithmetic/montgomery.rs or arithmetic/montgomery/mod.rs inside the directory “/home/cjredd/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.11.0/src/arithmetic”
error: aborting due to previous error
error: Could not compile ring
.
To learn more, run the command again with --verbose.
make: *** [mk/initfs.mk:5: build/initfs.tag] Error 101