-
Notifications
You must be signed in to change notification settings - Fork 26
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
Main makefile fails #13
Comments
Did you checkout correctly? The "-x c" flag was removed in the new makefile. Try to checkout a fresh copy. Also you will need to compile the "installer" folder to get the payload as well. If you compile only the main makefile then you only get the ELF file. |
Yes, I know that bit. I've already ported the installer to 5.5.0, but I have to port the FS functions and all to 5.5.0, which is a bit time consuming. Also, what commit removed that in the makefile? I just downloaded the current repo I get the same thing. Am I not supposed to just run "make" ? |
No it is correct to just use "make". I can't really tell what is wrong in your setup but i can definately tell it is your setup. I compile under linux and it works just fine after setting the DEVKITPPC environment variable. Also other developers can build this setup, so it is something with your environment. What I dont understand is why it uses some kind of powerpc-eabi-gcc.exe. Is this a cygwin setup? Give me the output of your "ls -al .", "ls -al src" and "ls -al src/fs" in your loadiine sources folder. It seems to not find the C files which is weird. Maybe your cygwin is missing some binutil. Just fyi: |
cygwin is being used, sadly. There's really no other way for me to easily do this. I already have devkit all ls commands returned what they should. Joshua@DESKTOP-SC7JE0M ~/newer/examples/loadiineelf Joshua@DESKTOP-SC7JE0M ~/newer/examples/loadiineelf |
Also, building the regular loadiine in /installer works fine. WHen I load it up, I get the URL to the ELF. Which is probably a bad thing, meaning something is wrong within the ELF. If worse comes to worse, I'll just ask you to compile the 5.5.0 ELF, but not the actual installer |
When launching the installer, are you accessing the html file directly? If not, that seems to happen. It use to display something about wrong URL i believe, or url could not be found. |
No.
|
Hmm it is weird. Your compiler is saying it can not find the path "/home/Joshua/newer/examples/loadiineelf/src/fs/fs.c". As far as I remember cygwin does some crap about the drive leters of windows like /c/ for C: and /d/ for D:. I am not sure it has the /home/ path. Maybe that is the problem? Otherwise I would suggest you to just use the devkitPro MinGW (if you really want to use windows instead of a linux in a VM). Do the following steps and it should be working (I tested it on my Windows machine):
Thats all. It should be working with this method. Here is my log from MinGW with loadiine123213 being my checkout path (temporary checkout for test): dimok@DIMOK-LAPTOP /d/loadiine_code/loadiine123213 dimok@DIMOK-LAPTOP /d/loadiine_code/loadiine123213 IMPORTANT: No spaces allowed in the path!!! |
It finally compiles, but I am still getting the URL printed in an OSFatal() on my screen. :/ |
Actually, nevermind. It goes to the Loadiine menu. I just commented out those annoying functions |
As I try to run 'make' on the project, I get something rather obscure.
Joshua@DESKTOP-SC7JE0M ~/newer/examples/loadiine
$ make
fs.c
powerpc-eabi-gcc.exe: error: /home/Joshua/newer/examples/loadiine/src/fs/fs.c: No such file or directory
powerpc-eabi-gcc.exe: warning: '-x c' after last input file has no effect
powerpc-eabi-gcc.exe: fatal error: no input files
compilation terminated.
/home/Joshua/newer/examples/loadiine/Makefile:165: recipe for target 'fs.o' failed
make[1]: *** [fs.o] Error 1
Makefile:125: recipe for target 'build' failed
make: *** [build] Error 2
yet when I run
$ cat /home/Joshua/newer/examples/loadiine/src/fs/fs.c
I get output, just fine.
The text was updated successfully, but these errors were encountered: