Compiling error with libogc 1.7.1.
-
- Posts: 19
- Joined: Tue Dec 30, 2008 5:44 pm
Compiling error with libogc 1.7.1.
Sorry for posting this twice, but i really don't know how to solve my problem.
After upgrading DevKitPro, i get the following compiling error(s):
d:/Programme/devkitPro/libogc/lib/wii\libogc.a(ipc.o): In function `__ios_ioctlvformat_parse’:
ipc.c:(.text.__ios_ioctlvformat_parse+0×174): undefined reference to `__ctype_ptr__’
d:/programme/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.4/../../../../powerpc-gekko/bin/ld.exe: d:/Programme/devkitPro/libogc/lib/wii\libogc.a(ipc.o)(.text.__ios_ioctlvformat_parse+0×174): unresolvable R_PPC_EMB_SDA21 relocation against symbol `__ctype_ptr__’
ipc.c:(.text.__ios_ioctlvformat_parse+0×4e8): undefined reference to `__ctype_ptr__’
d:/programme/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.4/../../../../powerpc-gekko/bin/ld.exe: d:/Programme/devkitPro/libogc/lib/wii\libogc.a(ipc.o)(.text.__ios_ioctlvformat_parse+0×4e8): unresolvable R_PPC_EMB_SDA21 relocation against symbol `__ctype_ptr__’
d:/programme/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.4/../../../../powerpc-gekko/bin/ld.exe: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
When i revert libogc back to 1.7.0.(and leave DevKitPPC at the new version) the error is gone.
Does anybody know what's wrong or what was changed?
After upgrading DevKitPro, i get the following compiling error(s):
d:/Programme/devkitPro/libogc/lib/wii\libogc.a(ipc.o): In function `__ios_ioctlvformat_parse’:
ipc.c:(.text.__ios_ioctlvformat_parse+0×174): undefined reference to `__ctype_ptr__’
d:/programme/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.4/../../../../powerpc-gekko/bin/ld.exe: d:/Programme/devkitPro/libogc/lib/wii\libogc.a(ipc.o)(.text.__ios_ioctlvformat_parse+0×174): unresolvable R_PPC_EMB_SDA21 relocation against symbol `__ctype_ptr__’
ipc.c:(.text.__ios_ioctlvformat_parse+0×4e8): undefined reference to `__ctype_ptr__’
d:/programme/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.4/../../../../powerpc-gekko/bin/ld.exe: d:/Programme/devkitPro/libogc/lib/wii\libogc.a(ipc.o)(.text.__ios_ioctlvformat_parse+0×4e8): unresolvable R_PPC_EMB_SDA21 relocation against symbol `__ctype_ptr__’
d:/programme/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.4/../../../../powerpc-gekko/bin/ld.exe: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
When i revert libogc back to 1.7.0.(and leave DevKitPPC at the new version) the error is gone.
Does anybody know what's wrong or what was changed?
-
- Site Admin
- Posts: 2003
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Compiling error with libogc 1.7.1.
I can't find any way to reproduce this locally. Could you try to reduce your code to the minimum necessary to give the error and post it here?
-
- Posts: 19
- Joined: Tue Dec 30, 2008 5:44 pm
Re: Compiling error with libogc 1.7.1.
I get the same error with only this main.c:
int main(int argc, char* argv[])
{
return 0;
}
I deinstalled DevKitPro completely and i'm reinstalling it right now(with everything except DevKitPSP and Insight). I will report the result here as soon it's done.
int main(int argc, char* argv[])
{
return 0;
}
I deinstalled DevKitPro completely and i'm reinstalling it right now(with everything except DevKitPSP and Insight). I will report the result here as soon it's done.
-
- Posts: 19
- Joined: Tue Dec 30, 2008 5:44 pm
Re: Compiling error with libogc 1.7.1.
*Edit:
Reinstall is done, but still the same error. Same result with only mentioned main.c and the makefile from devkitPro\examples\wii\template in the project folder
When i overwrite libogc with version 1.7.0 the compiling errors are gone, so what's the change in libogc?
Reinstall is done, but still the same error. Same result with only mentioned main.c and the makefile from devkitPro\examples\wii\template in the project folder
When i overwrite libogc with version 1.7.0 the compiling errors are gone, so what's the change in libogc?
-
- Posts: 19
- Joined: Tue Dec 30, 2008 5:44 pm
Re: Compiling error with libogc 1.7.1.
Hmm, when i compile libogc 1.7.1 myself and overwrite the libogc.a with the new one, the compiling error is gone. Maybe a wrong file managed to get into the release or the file was damaged during uploading?
Re: Compiling error with libogc 1.7.1.
Same to me, but only when compiling the wii examples. (it works on the gc ones)
-
- Site Admin
- Posts: 2003
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Compiling error with libogc 1.7.1.
Not quite sure what happened there tbh. I managed to reproduce on a linux machine and uploaded a 1.7.1a release from there which tests fine on OSX & Windows. Hopefully it should be sorted now.
-
- Posts: 19
- Joined: Tue Dec 30, 2008 5:44 pm
Re: Compiling error with libogc 1.7.1.
Problem is solved with the new version. When can i expect the changelog for DevKitPPC and libogc? I want to know if there are new features or if the update "only" contains bugfixes. And i just would like to know what's fixed.
-
- Site Admin
- Posts: 2003
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Compiling error with libogc 1.7.1.
The changelog for devkitPPC (please note capitalisation) will be available when it next gets updated.
The libogc changelog will be available when it gets parsed and posted, sorry I can't be more definite at this point. Some of the log entries weren't clear and I need to go chase some people & get some more info.
The libogc changelog will be available when it gets parsed and posted, sorry I can't be more definite at this point. Some of the log entries weren't clear and I need to go chase some people & get some more info.
-
- Posts: 1
- Joined: Thu Feb 26, 2009 10:27 am
Re: Compiling error with libogc 1.7.1.
great work for fixing this so quickly.
I had the same libogc.a ioctl error with recent install of devkitpro, (for me, I only saw this error when I had "-lfreetype") in my makefile. After updating devkitpro, same project compiles without problem. tested working on my wii.
looking forward to the changelog
I had the same libogc.a ioctl error with recent install of devkitpro, (for me, I only saw this error when I had "-lfreetype") in my makefile. After updating devkitpro, same project compiles without problem. tested working on my wii.
looking forward to the changelog
Who is online
Users browsing this forum: No registered users and 0 guests