Re: Re: compilation help please
Home › Forums › Development › compilation help please › Re: Re: compilation help please
When I try to compile the updated version of libogc for enabling large file support used by tinysmb I get this error
> “make”
make[1]: Entering directory `/c/Users/pc2/Desktop/libogc/wii’
make[1]: *** No rule to make target `console.o’, needed by `/wii/libogc.a’. Stop.
make[1]: Leaving directory `/c/Users/pc2/Desktop/libogc/wii’
“make”: *** [wii] Error 2
> Process Exit Code: 2
> Time Taken: 00:01
Why is this happening?
http://www.wiimc.org/forum/viewtopic.php?f=5&t=1042&start=10#p4611
:::::EDIT::::: Never mind I was able to get around this by typing “unset PLATFORM” in the MySys Shell, now I am getting this:
linking … wiimc.elf
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/4.5.1/../../../../powerpc-eabi/bin/ld.exe: cannot find -lmplayerwii
collect2: ld returned 1 exit status
make[1]: *** [/c/wiimc/wiimc.elf] Error 1
“make”: *** [build] Error 2
> Process Exit Code: 2
> Time Taken: 06:10
I don’t understand, I thought ” -lmplayerwii”, “-lavformat”, “-lavcodec” and some others came with the source? could you tell me where to find these libs, I swear the first time I ever compiled wiimc I had NONE of these problems what so ever everything went smooth, how am I missing lmplayerwii if someone can tell me that I’ll be good to go.
:::EDIT:::::::: ok I figured it out, the lmplayerwii lib and others were not being compiled because strings.h was missing…. hints the complation of the libs was terminated as soon as the compiler noticed strings.h was missing although it continued about it’s way as if everything was going fine it only appeared that way and near the end of the compilation during the linking process the compiler noticed the libs were missing “they had not been compiled because strings.h was missing” . I didn’t realize that just because strings.h was missing the compiler would throw missing lib errors, my mistake was I figured I’d fix the missing strings.h after I fixed the missing lib problem, turns out I should have did it the other way around and my day would have been a bit smoother.
One more problem was that I wasn’t sure which SVN to use, thanks to jhb50 for clearing that up, this too was causing random errors.
