More subtle problem: previous version of freetype library required zip library (option -lz), new version requires bz2 library (option -lbz2).
Now I need to link with both libraries because libpng requires -lz and freetype requires -lbz2.
Solved!
Thanks
Search found 56 matches
- Thu Oct 11, 2018 6:06 pm
- Forum: Gamecube/Wii Development
- Topic: Incompatible libraries (portlibs)?
- Replies: 2
- Views: 5189
- Sun Oct 07, 2018 10:26 am
- Forum: Gamecube/Wii Development
- Topic: Incompatible libraries (portlibs)?
- Replies: 2
- Views: 5189
Incompatible libraries (portlibs)?
Compiling an old project with last PPC version I have this errors during linking phase: C:/devkitPro/portlibs/ppc/lib\libfreetype.a(ftbzip2.o): In function `ft_bzip2_stream_close': ftbzip2.c:(.text+0x3c): undefined reference to `BZ2_bzDecompressEnd' C:/devkitPro/portlibs/ppc/lib\libfreetype.a(ftbzip...
- Wed Sep 12, 2018 6:17 pm
- Forum: Gamecube/Wii Development
- Topic: Error compiling wii examples
- Replies: 2
- Views: 4600
Re: Error compiling wii examples
Solved!
Thanks
Thanks
- Sun Sep 09, 2018 10:58 am
- Forum: Gamecube/Wii Development
- Topic: Error compiling wii examples
- Replies: 2
- Views: 4600
Error compiling wii examples
After a fresh installation on windows (using devkitProUpdater-3.0.3), running Makefile from C:\devkitPro\examples\wii, I have this error: make[1]: ingresso nella directory "/opt/devkitpro/examples/wii/filesystem/directory" directory.c C:/devkitPro/examples/wii/filesystem/directory/source/directory....
- Wed Apr 05, 2017 7:18 am
- Forum: devkitPPC
- Topic: undefined reference to `access' using devkitPPC r29-1
- Replies: 10
- Views: 19002
Re: undefined reference to `access' using devkitPPC r29-1
Sorry, my fault.
This is what I had in my mind:
What is the problem?
undefined reference to `access'
How you find the problem?
compiling libpng-1.6.28
Can you solve it by yourself?
Yes, but I think that newlib must have an "access" implementation.
and then I open the issue.
This is what I had in my mind:
What is the problem?
undefined reference to `access'
How you find the problem?
compiling libpng-1.6.28
Can you solve it by yourself?
Yes, but I think that newlib must have an "access" implementation.
and then I open the issue.
- Tue Apr 04, 2017 9:37 am
- Forum: devkitPPC
- Topic: undefined reference to `access' using devkitPPC r29-1
- Replies: 10
- Views: 19002
Re: undefined reference to `access' using devkitPPC r29-1
The problem here isn't that the library won't compile but that the associated tools and tests won't compile. These tools and tests are useless for bare metal so these have been patched out of the build process. Even if they compiled they would still serve no purpose for a bare metal cross compiler ...
- Mon Apr 03, 2017 6:05 pm
- Forum: devkitPPC
- Topic: undefined reference to `access' using devkitPPC r29-1
- Replies: 10
- Views: 19002
Re: undefined reference to `access' using devkitPPC r29-1
The access error is coming from attempting to build tools for the host platform which makes no sense for our use case. The simplest way to get latest libpng built for devkitARM or devkitPPC is to patch out the tool binaries & tests which require this function. I would probably do this anyway even i...
- Sat Apr 01, 2017 3:06 pm
- Forum: devkitPPC
- Topic: undefined reference to `access' using devkitPPC r29-1
- Replies: 10
- Views: 19002
Re: undefined reference to `access' using devkitPPC r29-1
You can use this function to replace the "acccess function": static int wii_access (const char *pathname, int mode) { struct stat st; if (stat(pathname, &st) < 0) return -1; return 0; //With Wii the file/dir is considered always accessible if it exists } #define access wii_access Problem is not emu...
- Sat Mar 25, 2017 4:49 pm
- Forum: devkitPPC
- Topic: undefined reference to `access' using devkitPPC r29-1
- Replies: 10
- Views: 19002
Re: undefined reference to `access' using devkitPPC r29-1
And in devkitPPC r27.
access prototype and defines needed for call the function are present in
devkitPPC/powerpc-eabi/include/sys/unistd.h
but the function is not in the library

access prototype and defines needed for call the function are present in
devkitPPC/powerpc-eabi/include/sys/unistd.h
but the function is not in the library
- Sat Mar 25, 2017 3:59 pm
- Forum: devkitPPC
- Topic: undefined reference to `access' using devkitPPC r29-1
- Replies: 10
- Views: 19002
Re: undefined reference to `access' using devkitPPC r29-1
Same problem with devkitPPC r28