Errors generating SDL pkgs for PPC

support for the powerpc toolchain
Post Reply
nebiun
Posts: 91
Joined: Sat Dec 28, 2013 2:42 pm

Errors generating SDL pkgs for PPC

Post by nebiun » Mon Apr 10, 2023 4:24 pm

Hi,
I'm trying to compile SDL 1.2 libraries packages, but I have some errors.
Same erros after a fresh installation of devkitpro.

I did this:
git clone https://github.com/devkitPro/pacman-packages
cd pacman-packages/wii/SDL
makepkg

This is the output (I solved this from myself changing patch file.)

Code: Select all

$ makepkg
==> Making package: wii-sdl 1.2.15-7 (Mon Apr 10 17:17:16 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading SDL-1.2.15.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3828k  100 3828k    0     0  1215k      0  0:00:03  0:00:03 --:--:-- 1215k
  -> Found SDL-1.2.15.patch
==> Validating source files with sha256sums...
    SDL-1.2.15.tar.gz ... Passed
    SDL-1.2.15.patch ... Passed
==> Extracting sources...
  -> Extracting SDL-1.2.15.tar.gz with bsdtar
==> Starting build()...
patching file configure.in
patching file include/SDL_config.h.in
patching file include/SDL_main.h
patching file src/audio/SDL_audio.c
patching file src/audio/SDL_sysaudio.h
patching file src/audio/ogc/SDL_ogcAudio.c
patching file src/audio/ogc/SDL_ogcAudio.h
patching file src/joystick/gamecube/SDL_sysjoystick.c
patching file src/joystick/wii/SDL_sysjoystick.c
patching file src/main/gamecube/SDL_gamecube_main.c
patching file src/main/wii/SDL_wii_main.c
patching file src/thread/SDL_thread_c.h
patching file src/thread/ogc/SDL_syscond.c
patching file src/thread/ogc/SDL_sysmutex.c
patching file src/thread/ogc/SDL_sysmutex_c.h
patching file src/thread/ogc/SDL_syssem.c
patching file src/thread/ogc/SDL_systhread.c
patching file src/thread/ogc/SDL_systhread_c.h
patching file src/timer/ogc/SDL_systimer.c
patching file src/video/SDL_sysvideo.h
patching file src/video/SDL_video.c
patching file src/video/gamecube/SDL_gamecube_events.c
patching file src/video/gamecube/SDL_gamecube_events_c.h
patching file src/video/gamecube/SDL_gamecube_mouse.c
patching file src/video/ogc/SDL_ogc_video.c
patching file src/video/ogc/SDL_ogc_video.h
patching file src/video/wii/SDL_wiievents.c
patching file src/video/wii/SDL_wiievents_c.h
patching file src/video/wii/SDL_wiimouse.c
patching file src/video/wii/SDL_wiimouse_c.h
Generating build information using autoconf
This may take a while ...
ac-wrapper: autoconf: warning: auto-detected versions not found ( 2.61 ); falling back to latest available
configure.in:3: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.in:3: You should run autoupdate.
../autoconf-2.71/lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.in:3: the top level
configure.in:4: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.in:4: You should run autoupdate.
../autoconf-2.71/lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from...
configure.in:4: the top level
configure.in:33: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../autoconf-2.71/lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from...
../autoconf-2.71/lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
../autoconf-2.71/lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
aclocal.m4:1337: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:4483: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5558: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:453: _LT_SETUP is expanded from...
aclocal.m4:382: LT_INIT is expanded from...
configure.in:33: the top level
configure.in:33: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../autoconf-2.71/lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from...
../autoconf-2.71/lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
../autoconf-2.71/lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
aclocal.m4:4483: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5558: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:453: _LT_SETUP is expanded from...
aclocal.m4:382: LT_INIT is expanded from...
configure.in:33: the top level
configure.in:57: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.in:57: You should run autoupdate.
aclocal.m4:417: AC_PROG_LIBTOOL is expanded from...
configure.in:57: the top level
configure.in:59: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../autoconf-2.71/lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from...
../autoconf-2.71/lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
../autoconf-2.71/lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
aclocal.m4:1337: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:5665: _LT_LANG_CXX_CONFIG is expanded from...
aclocal.m4:1100: _LT_LANG is expanded from...
aclocal.m4:1083: LT_LANG is expanded from...
configure.in:59: the top level
configure.in:134: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:134: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:134: the top level
configure.in:140: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.in:140: You should run autoupdate.
../autoconf-2.71/lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.in:140: the top level
configure.in:171: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:171: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:171: the top level
configure.in:245: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:245: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:245: the top level
configure.in:251: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:251: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:251: the top level
configure.in:257: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:257: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:257: the top level
configure.in:263: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:263: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:263: the top level
configure.in:271: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:271: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:271: the top level
configure.in:277: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:277: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:277: the top level
configure.in:283: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:283: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:283: the top level
configure.in:289: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:289: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:289: the top level
configure.in:295: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:295: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:295: the top level
configure.in:301: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:301: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:301: the top level
configure.in:307: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:307: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:307: the top level
configure.in:317: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:317: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:317: the top level
configure.in:323: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:323: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:323: the top level
configure.in:332: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:332: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:332: the top level
configure.in:361: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:361: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:361: the top level
configure.in:364: warning: The macro `AC_LANG_C' is obsolete.
configure.in:364: You should run autoupdate.
../autoconf-2.71/lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
aclocal.m4:16: AM_PATH_ALSA is expanded from...
configure.in:364: the top level
configure.in:364: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:364: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
aclocal.m4:16: AM_PATH_ALSA is expanded from...
configure.in:364: the top level
configure.in:371: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:371: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:371: the top level
configure.in:400: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:400: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:400: the top level
configure.in:436: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:436: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:436: the top level
configure.in:460: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:460: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:460: the top level
configure.in:463: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:463: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
aclocal.m4:159: AM_PATH_ESD is expanded from...
configure.in:463: the top level
configure.in:463: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:463: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:159: AM_PATH_ESD is expanded from...
configure.in:463: the top level
configure.in:466: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:466: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:466: the top level
configure.in:493: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:493: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:493: the top level
configure.in:513: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:513: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:513: the top level
configure.in:539: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:539: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:539: the top level
configure.in:552: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:552: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:552: the top level
configure.in:563: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:563: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:563: the top level
configure.in:591: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:591: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:591: the top level
configure.in:621: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:621: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:621: the top level
configure.in:649: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:649: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:649: the top level
configure.in:661: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:661: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:661: the top level
configure.in:673: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:673: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:673: the top level
configure.in:711: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:711: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:711: the top level
configure.in:776: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:776: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:776: the top level
configure.in:786: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:786: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:786: the top level
configure.in:800: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:800: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:800: the top level
configure.in:815: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:815: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:815: the top level
configure.in:830: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:830: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:830: the top level
configure.in:862: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:862: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:862: the top level
configure.in:886: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:886: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:886: the top level
configure.in:918: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:918: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:918: the top level
configure.in:931: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:931: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:931: the top level
configure.in:971: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:971: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:971: the top level
configure.in:1012: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1012: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1012: the top level
configure.in:1017: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1017: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1017: the top level
configure.in:1024: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1024: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1024: the top level
configure.in:1031: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1031: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1031: the top level
configure.in:1048: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1048: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1048: the top level
configure.in:1069: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1069: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1069: the top level
configure.in:1134: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1134: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1134: the top level
configure.in:1140: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1140: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1140: the top level
configure.in:1147: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1147: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1147: the top level
configure.in:1153: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1153: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1153: the top level
configure.in:1160: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1160: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1160: the top level
configure.in:1167: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1167: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1167: the top level
configure.in:1174: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1174: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1174: the top level
configure.in:1181: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1181: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1181: the top level
configure.in:1218: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1218: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1218: the top level
configure.in:1223: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1223: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1223: the top level
configure.in:1259: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1259: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1259: the top level
configure.in:1264: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1264: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1264: the top level
configure.in:1284: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1284: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1284: the top level
configure.in:1292: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1292: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1292: the top level
configure.in:1312: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1312: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1312: the top level
configure.in:1317: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1317: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1317: the top level
configure.in:1339: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1339: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1339: the top level
configure.in:1392: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1392: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1392: the top level
configure.in:1397: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1397: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1397: the top level
configure.in:1417: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1417: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1417: the top level
configure.in:1422: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1422: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1422: the top level
configure.in:1445: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1445: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1445: the top level
configure.in:1450: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1450: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1450: the top level
configure.in:1471: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1471: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1471: the top level
configure.in:1476: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1476: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1476: the top level
configure.in:1501: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1501: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1501: the top level
configure.in:1506: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1506: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1506: the top level
configure.in:1533: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1533: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1533: the top level
configure.in:1538: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1538: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1538: the top level
configure.in:1561: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1561: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1561: the top level
configure.in:1566: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1566: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1566: the top level
configure.in:1586: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1586: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1586: the top level
configure.in:1596: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1596: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1596: the top level
configure.in:1618: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1618: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1618: the top level
configure.in:1624: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete.
configure.in:1624: You should run autoupdate.
../autoconf-2.71/lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from...
configure.in:1624: the top level
configure.in:1627: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1627: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1627: the top level
configure.in:1645: warning: The macro `AC_LANG_C' is obsolete.
configure.in:1645: You should run autoupdate.
../autoconf-2.71/lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
configure.in:1645: the top level
configure.in:1653: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1653: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1653: the top level
configure.in:1658: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1658: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1658: the top level
configure.in:1685: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1685: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1685: the top level
configure.in:1700: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1700: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1700: the top level
configure.in:1720: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1720: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1720: the top level
configure.in:1731: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1731: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1731: the top level
configure.in:1740: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1740: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1740: the top level
configure.in:1762: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1762: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1762: the top level
configure.in:1836: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1836: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1836: the top level
configure.in:1848: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1848: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1848: the top level
configure.in:1859: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1859: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1859: the top level
configure.in:1864: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1864: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1864: the top level
configure.in:1884: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1884: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1884: the top level
configure.in:1889: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:1889: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:1889: the top level
configure.in:1908: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1908: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1908: the top level
configure.in:1935: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1935: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1935: the top level
configure.in:1939: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:1939: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:1939: the top level
configure.in:1993: warning: The macro `ac_cv_prog_gcc' is obsolete.
configure.in:1993: You should run autoupdate.
../autoconf-2.71/lib/autoconf/c.m4:440: ac_cv_prog_gcc is expanded from...
configure.in:1993: the top level
configure.in:2012: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:2012: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:2012: the top level
configure.in:2041: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:2041: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:2041: the top level
configure.in:2052: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:2052: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:2052: the top level
configure.in:2068: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:2068: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:2068: the top level
configure.in:2080: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:2080: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
configure.in:2080: the top level
configure.in:2126: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:2126: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:2126: the top level
configure.in:2141: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:2141: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:2141: the top level
configure.in:2159: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:2159: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:2159: the top level
configure.in:2181: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:2181: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:2181: the top level
configure.in:2186: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:2186: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:2186: the top level
configure.in:2212: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:2212: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:2212: the top level
configure.in:2246: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:2246: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:2246: the top level
configure.in:2277: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:2277: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:2277: the top level
configure.in:2309: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:2309: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:2309: the top level
configure.in:2341: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:2341: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:2341: the top level
configure.in:2367: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:2367: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:2367: the top level
configure.in:2391: warning: The macro `AC_HELP_STRING' is obsolete.
configure.in:2391: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.in:2391: the top level
configure.in:3044: warning: AC_OUTPUT should be used without arguments.
configure.in:3044: You should run autoupdate.
ac-wrapper: autoconf: warning: auto-detected versions not found ( 2.61 ); falling back to latest available
configure.in:35: warning: The macro `ac_cv_prog_gcc' is obsolete.
configure.in:35: You should run autoupdate.
../autoconf-2.71/lib/autoconf/c.m4:440: ac_cv_prog_gcc is expanded from...
configure.in:35: the top level
configure.in:64: warning: The macro `AC_TRY_RUN' is obsolete.
configure.in:64: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
aclocal.m4:11: AM_PATH_SDL is expanded from...
configure.in:64: the top level
configure.in:64: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:64: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
aclocal.m4:11: AM_PATH_SDL is expanded from...
configure.in:64: the top level
configure.in:89: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:89: You should run autoupdate.
../autoconf-2.71/lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
configure.in:89: the top level
configure.in:105: warning: AC_OUTPUT should be used without arguments.
configure.in:105: You should run autoupdate.
Now you are ready to run ./configure
configure: loading site script /etc/config.site
checking for powerpc-eabi-gcc... powerpc-eabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether powerpc-eabi-gcc accepts -g... yes
checking for powerpc-eabi-gcc option to enable C11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking build system type... Invalid configuration `x86_64-pc-msys': system `msys' not recognized
configure: error: /bin/sh ./build-scripts/config.sub x86_64-pc-msys failed
==> ERROR: A failure occurred in build().
    Aborting...
/pacman-packages/wii/SDL_gfx is ok

pacman-packages/wii/SDL_image error (I solved this from myself changing patch file, as for SDL)

Code: Select all

$ makepkg
==> Making package: wii-sdl_image 1.2.12-4 (Mon Apr 10 17:05:06 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading SDL_image-1.2.12.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2178k  100 2178k    0     0   795k      0  0:00:02  0:00:02 --:--:--  796k
==> Validating source files with sha256sums...
    SDL_image-1.2.12.tar.gz ... Passed
==> Extracting sources...
  -> Extracting SDL_image-1.2.12.tar.gz with bsdtar
==> Starting build()...
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading site script /etc/config.site
checking build system type... Invalid configuration `x86_64-pc-msys':[b] system `msys' not recognized[/b]
configure: error: /bin/sh ./config.sub x86_64-pc-msys failed
==> ERROR: A failure occurred in build().
    Aborting...
/pacman-packages/wii/SDL_mixer ko (unsolved....)

Code: Select all

$ makepkg
==> Making package: wii-sdl_mixer 1.2.12-10 (Mon Apr 10 17:13:24 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading SDL_mixer-1.2.12.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3620k  100 3620k    0     0  1285k      0  0:00:02  0:00:02 --:--:-- 1286k
  -> Found SDL_mixer-1.2.12.patch
==> Validating source files with sha256sums...
    SDL_mixer-1.2.12.tar.gz ... Passed
    SDL_mixer-1.2.12.patch ... Passed
==> Extracting sources...
  -> Extracting SDL_mixer-1.2.12.tar.gz with bsdtar
SDL_mixer-1.2.12/Xcode/Frameworks/Vorbis.framework/Headers: Can't create 'SDL_mixer-1.2.12/Xcode/Frameworks/Vorbis.framework/Headers': No such file or directory
SDL_mixer-1.2.12/Xcode/Frameworks/Vorbis.framework/Resources: Can't create 'SDL_mixer-1.2.12/Xcode/Frameworks/Vorbis.framework/Resources': No such file or directory
SDL_mixer-1.2.12/Xcode/Frameworks/Vorbis.framework/Vorbis: Can't create 'SDL_mixer-1.2.12/Xcode/Frameworks/Vorbis.framework/Vorbis': No such file or directory
SDL_mixer-1.2.12/Xcode/Frameworks/smpeg.framework/Headers: Can't create 'SDL_mixer-1.2.12/Xcode/Frameworks/smpeg.framework/Headers': No such file or directory
SDL_mixer-1.2.12/Xcode/Frameworks/smpeg.framework/Resources: Can't create 'SDL_mixer-1.2.12/Xcode/Frameworks/smpeg.framework/Resources': No such file or directory
SDL_mixer-1.2.12/Xcode/Frameworks/smpeg.framework/smpeg: Can't create 'SDL_mixer-1.2.12/Xcode/Frameworks/smpeg.framework/smpeg': No such file or directory
SDL_mixer-1.2.12/Xcode/Frameworks/Ogg.framework/Headers: Can't create 'SDL_mixer-1.2.12/Xcode/Frameworks/Ogg.framework/Headers': No such file or directory
SDL_mixer-1.2.12/Xcode/Frameworks/Ogg.framework/Ogg: Can't create 'SDL_mixer-1.2.12/Xcode/Frameworks/Ogg.framework/Ogg': No such file or directory
SDL_mixer-1.2.12/Xcode/Frameworks/Ogg.framework/Resources: Can't create 'SDL_mixer-1.2.12/Xcode/Frameworks/Ogg.framework/Resources': No such file or directory
SDL_mixer-1.2.12/Xcode/Frameworks/mikmod.framework/Headers: Can't create 'SDL_mixer-1.2.12/Xcode/Frameworks/mikmod.framework/Headers': No such file or directory
SDL_mixer-1.2.12/Xcode/Frameworks/mikmod.framework/mikmod: Can't create 'SDL_mixer-1.2.12/Xcode/Frameworks/mikmod.framework/mikmod': No such file or directory
SDL_mixer-1.2.12/Xcode/Frameworks/mikmod.framework/Resources: Can't create 'SDL_mixer-1.2.12/Xcode/Frameworks/mikmod.framework/Resources': No such file or directory
SDL_mixer-1.2.12/Xcode/Frameworks/FLAC.framework/FLAC: Can't create 'SDL_mixer-1.2.12/Xcode/Frameworks/FLAC.framework/FLAC': No such file or directory
SDL_mixer-1.2.12/Xcode/Frameworks/FLAC.framework/Headers: Can't create 'SDL_mixer-1.2.12/Xcode/Frameworks/FLAC.framework/Headers': No such file or directory
SDL_mixer-1.2.12/Xcode/Frameworks/FLAC.framework/Resources: Can't create 'SDL_mixer-1.2.12/Xcode/Frameworks/FLAC.framework/Resources': No such file or directory
bsdtar: Error exit delayed from previous errors.
==> ERROR: Failed to extract SDL_mixer-1.2.12.tar.gz
    Aborting...
pacman-packages/wii/SDL_ttf ko (I solved this from myself changing patch file, as for SDL)

Code: Select all

$ makepkg
==> Making package: wii-sdl_ttf 2.0.11-3 (Mon Apr 10 17:10:18 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading SDL_ttf-2.0.11.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3958k  100 3958k    0     0  1489k      0  0:00:02  0:00:02 --:--:-- 1490k
==> Validating source files with sha256sums...
    SDL_ttf-2.0.11.tar.gz ... Passed
==> Extracting sources...
  -> Extracting SDL_ttf-2.0.11.tar.gz with bsdtar
==> Starting build()...
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading site script /etc/config.site
checking build system type... Invalid configuration `x86_64-pc-msys':[b] system `msys' not recognized[/b]
configure: error: /bin/sh ./config.sub x86_64-pc-msys failed
==> ERROR: A failure occurred in build().
    Aborting...
pacman-packages/wii/pkg-config is ok

I need to compile SDL from myself for debug purpose, thanks in advance.

nebiun
Posts: 91
Joined: Sat Dec 28, 2013 2:42 pm

Re: Errors generating SDL pkgs for PPC

Post by nebiun » Fri Apr 14, 2023 5:38 pm

Well, I solved the problem from myself, changing PKGBUILD and patch files for the packages.
With PKGBUILDs and patch files in github directories was impossible for me build SDL packages for Wii on current Msys2 environment.

WinterMute
Site Admin
Posts: 1989
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Errors generating SDL pkgs for PPC

Post by WinterMute » Wed Apr 19, 2023 4:05 pm

Is there a reason you need to compile these? You know the binaries are available via pacman, right?
Help keep devkitPro toolchains free, Donate today

Personal Blog

nebiun
Posts: 91
Joined: Sat Dec 28, 2013 2:42 pm

Re: Errors generating SDL pkgs for PPC

Post by nebiun » Wed Apr 19, 2023 5:18 pm

Yes, I know. I use pacman for all packages that I need.
But I need to add some logs in SDL libraries to debug porting of OpenXcom (based on SDL 1.2).
Furthermore, with last build of SDL I have some errors in loading OpenXcom:

Code: Select all

c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/12.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/de
vkitPro/portlibs/wii/lib\libSDL.a(SDL_fatal.o): in function `SDL_InstallParachute':
SDL_fatal.c:(.text.SDL_InstallParachute+0x2c): undefined reference to `sigaction'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/12.2.0/../../../../powerpc-eabi/bin/ld.exe: SDL_f
atal.c:(.text.SDL_InstallParachute+0x54): undefined reference to `sigaction'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/12.2.0/../../../../powerpc-eabi/bin/ld.exe: SDL_f
atal.c:(.text.SDL_InstallParachute+0x94): undefined reference to `sigaction'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/12.2.0/../../../../powerpc-eabi/bin/ld.exe: SDL_f
atal.c:(.text.SDL_InstallParachute+0xb0): undefined reference to `sigaction'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/12.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/de
vkitPro/portlibs/wii/lib\libSDL.a(SDL_fatal.o): in function `SDL_UninstallParachute':
SDL_fatal.c:(.text.SDL_UninstallParachute+0x38): undefined reference to `sigaction'
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/12.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/de
vkitPro/portlibs/wii/lib\libSDL.a(SDL_fatal.o):SDL_fatal.c:(.text.SDL_UninstallParachute+0x84): more
 undefined references to `sigaction' follow
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/12.2.0/../../../../powerpc-eabi/bin/ld.exe: C:/de
vkitPro/portlibs/wii/lib\libSDL.a(SDL_ogcAudio.o): in function `OGC_AudioStart':
SDL_ogcAudio.c:(.text.OGC_AudioStart+0x40): undefined reference to `AESND_AllocateVoice'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/opt/devkitpro/devkitPPC/wii_rules:30: /e/WIIdev/OpenXcom-wii/OpenXcom-wii.elf] Error 1
These is the installed versions of used SDL libraries:

Code: Select all

$ pacman -Ss wii-sdl-libs
dkp-libs/wii-sdl 1.2.15-8 (wii-portlibs wii-sdl-libs) [installed]
    A library for portable low-level access to a video framebuffer, audio output, mouse, and
    keyboard (Nintendo Wii port)
dkp-libs/wii-sdl_gfx 2.0.25-3 (wii-portlibs wii-sdl-libs) [installed]
    Graphics drawing primitives and other support functions wrapped up in an add-on, C-based library
    for the Simple Direct Media (SDL) cross-platform API layer
dkp-libs/wii-sdl_image 1.2.12-4 (wii-portlibs wii-sdl-libs) [installed]
    A simple library to load images of various formats as SDL surfaces.
dkp-libs/wii-sdl_mixer 1.2.12-10 (wii-portlibs wii-sdl-libs) [installed]
    A sample multi-channel audio mixer library (Nintendo Gamecube/Wii port)
dkp-libs/wii-sdl_ttf 2.0.11-4 (wii-portlibs wii-sdl-libs) [installed]
    A sample library which allows you to use TrueType fonts in your SDL applications

WinterMute
Site Admin
Posts: 1989
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Errors generating SDL pkgs for PPC

Post by WinterMute » Sun Apr 23, 2023 7:54 pm

Latest packages fix the linking issue.

Rather than building with the default devkitPro msys2 shell you can use the shell launched via the mingw64.exe file found in <path/to>/devkitpro/msys2/ which will identify as a host system the SDL configury recognises. It's kind of irrelevant anyway considering nothing is being built for the build machine.

fwiw, these packages will build a lot faster via linux or wsl2.
Help keep devkitPro toolchains free, Donate today

Personal Blog

nebiun
Posts: 91
Joined: Sat Dec 28, 2013 2:42 pm

Re: Errors generating SDL pkgs for PPC

Post by nebiun » Tue Apr 25, 2023 3:26 pm

Thanks for your help.
I confirm the fix :D

Compiling SDL with mingw64.exe do the work. The only problem remaining is that makepkg stops for errors during SDL_mixer-1.2.12.tar.gz decompression (==> ERROR: Failed to extract SDL_mixer-1.2.12.tar.gz) due to broken symbolic links in the original package.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests