1. jonyluke

    OP jonyluke GBAtemp Regular
    Member

    Joined:
    Aug 22, 2018
    Messages:
    145
    Country:
    Spain
    Im using devkitpro , i have install

    dkp-libs switch-sdl2
    dkp-libs switch-sdl2_gfx
    dkp-libs switch-sdl2_image
    dkp-libs switch-sdl2_mixer
    dkp-libs switch-sdl2_net
    dkp-libs switch-sdl2_ttf



    I have in my C file

    #include <SDL2/SDL.h>
    #include <SDL2/SDL_mixer.h>



    But when executing the Makefile, it makes an error

    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: main.o: in function `main':
    C:/projects/test/source/main.c:14: undefined reference to `SDL_Init'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/projects/test/source/main.c:15: undefined reference to `Mix_Init'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/projects/test/source/main.c:16: undefined reference to `Mix_OpenAudio'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/projects/test/source/main.c:41: undefined reference to `Mix_CloseAudio'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/projects/test/source/main.c:42: undefined reference to `Mix_Quit'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/projects/test/source/main.c:43: undefined reference to `SDL_Quit'
    collect2.exe: error: ld returned 1 exit status
    make[1]: *** [/opt/devkitpro/libnx/switch_rules:80: /home/projects/test/SlideNX.elf] Error 1
    make: *** [Makefile:148: build] Error 2
     
  2. Deleted User

    Deleted User Newbie

    Have you added -lSDL2 and -lSDL2_Mixer to the list of libs in your makefile?
     
    NoNAND and jonyluke like this.
  3. jonyluke

    OP jonyluke GBAtemp Regular
    Member

    Joined:
    Aug 22, 2018
    Messages:
    145
    Country:
    Spain
    No, I did it now, but it gives me another error.

    — Posts automatically merged - Please don't double post! —

    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_stdlib.o): in function `SDL_atan2':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/stdlib/SDL_stdlib.c:58: undefined reference to `atan2'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_stdlib.o): in function `SDL_cos':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/stdlib/SDL_stdlib.c:187: undefined reference to `cos'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_stdlib.o): in function `SDL_sin':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/stdlib/SDL_stdlib.c:353: undefined reference to `sin'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_stdlib.o): in function `SDL_sinf':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/stdlib/SDL_stdlib.c:363: undefined reference to `sinf'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_stdlib.o): in function `SDL_sqrt':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/stdlib/SDL_stdlib.c:373: undefined reference to `sqrt'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_switchvideo.o): in function `SWITCH_SetDisplayMode':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/switch/SDL_switchvideo.c:227: undefined referenceto `gfxConfigureResolution'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_switchaudio.o): in function `SWITCHAUDIO_CloseDevice':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:125: undefined referenceto `audoutStopAudioOut'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:126: undefined reference to `audoutExit'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_switchaudio.o): in function `SWITCHAUDIO_GetDeviceBuf':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:109: undefined referenceto `audoutWaitPlayFinish'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_switchaudio.o): in function `SWITCHAUDIO_PlayDevice':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:97: undefined reference to `audoutAppendAudioOutBuffer'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_switchaudio.o): in function `SWITCHAUDIO_OpenDevice':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:43: undefined reference to `audoutInitialize'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:48: undefined reference to `audoutStartAudioOut'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:88: undefined reference to `audoutAppendAudioOutBuffer'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:50: undefined reference to `audoutExit'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_systhread.o): in function `SDL_SYS_CreateThread':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_systhread.c:44: undefined reference to `threadCreate'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_systhread.c:49: undefined reference to `threadStart'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_systhread.o): in function `SDL_SYS_WaitThread':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_systhread.c:74: undefined reference to `threadWaitForExit'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_systhread.c:75: undefined reference to `threadClose'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_egl.o): in function `SDL_EGL_LoadLibrary':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:377: undefined reference to `eglGetDisplay'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:378: undefined reference to `eglInitialize'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:379: undefined reference to `eglTerminate'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:380: undefined reference to `eglGetProcAddress'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:377: undefined reference to `eglGetDisplay'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:381: undefined reference to `eglChooseConfig'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:382: undefined reference to `eglGetConfigAttrib'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:383: undefined reference to `eglCreateContext'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:384: undefined reference to `eglDestroyContext'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:378: undefined reference to `eglInitialize'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:385: undefined reference to `eglCreatePbufferSurface'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:386: undefined reference to `eglCreateWindowSurface'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:387: undefined reference to `eglDestroySurface'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:388: undefined reference to `eglMakeCurrent'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:379: undefined reference to `eglTerminate'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:389: undefined reference to `eglSwapBuffers'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:390: undefined reference to `eglSwapInterval'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:391: undefined reference to `eglWaitNative'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:380: undefined reference to `eglGetProcAddress'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:392: undefined reference to `eglWaitGL'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:393: undefined reference to `eglBindAPI'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:394: undefined reference to `eglQueryString'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:381: undefined reference to `eglChooseConfig'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:395: undefined reference to `eglGetError'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:382: undefined reference to `eglGetConfigAttrib'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:383: undefined reference to `eglCreateContext'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:384: undefined reference to `eglDestroyContext'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:385: undefined reference to `eglCreatePbufferSurface'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:386: undefined reference to `eglCreateWindowSurface'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:387: undefined reference to `eglDestroySurface'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:388: undefined reference to `eglMakeCurrent'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:389: undefined reference to `eglSwapBuffers'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:390: undefined reference to `eglSwapInterval'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:391: undefined reference to `eglWaitNative'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:392: undefined reference to `eglWaitGL'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:393: undefined reference to `eglBindAPI'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:394: undefined reference to `eglQueryString'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:395: undefined reference to `eglGetError'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:399: undefined reference to `eglQueryString'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:410: undefined reference to `eglGetPlatformDisplay'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:410: undefined reference to `eglGetPlatformDisplay'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:417: undefined reference to `eglGetPlatformDisplay'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_syscond.o): in function `SDL_CondWaitTimeout':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_syscond.c:131: undefined reference to`condvarWaitTimeout'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2_mixer.a(mixer.o): in function `Mix_LoadWAV_RW':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/mixer.c:708: undefined reference to `SDL_LoadWAV_RW'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2_mixer.a(music_modplug.o): in function `MODPLUG_Load':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_modplug.c:80: undefined reference to `ModPlug_Load'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_modplug.c:81: undefined reference to `ModPlug_Unload'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_modplug.c:82: undefined reference to `ModPlug_Read'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_modplug.c:83: undefined reference to `ModPlug_Seek'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_modplug.c:80: undefined reference to `ModPlug_Load'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_modplug.c:84: undefined reference to `ModPlug_GetSettings'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_modplug.c:85: undefined reference to `ModPlug_SetSettings'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_modplug.c:86: undefined reference to `ModPlug_SetMasterVolume'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_modplug.c:81: undefined reference to `ModPlug_Unload'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_modplug.c:82: undefined reference to `ModPlug_Read'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_modplug.c:83: undefined reference to `ModPlug_Seek'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_modplug.c:84: undefined reference to `ModPlug_GetSettings'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_modplug.c:85: undefined reference to `ModPlug_SetSettings'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_modplug.c:86: undefined reference to `ModPlug_SetMasterVolume'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2_mixer.a(music_mpg123.o): in function `MPG123_Load':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:87: undefined reference to `mpg123_close'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:88: undefined reference to `mpg123_delete'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:89: undefined reference to `mpg123_exit'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:90: undefined reference to `mpg123_format'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:87: undefined reference to `mpg123_close'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:91: undefined reference to `mpg123_format_none'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:92: undefined reference to `mpg123_getformat'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:93: undefined reference to `mpg123_init'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:94: undefined reference to `mpg123_new'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:88: undefined reference to `mpg123_delete'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:95: undefined reference to `mpg123_open_handle'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:96: undefined reference to `mpg123_plain_strerror'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:97: undefined reference to `mpg123_rates'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:98: undefined reference to `mpg123_read'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:89: undefined reference to `mpg123_exit'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:99: undefined reference to `mpg123_replace_reader_handle'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:100: undefined reference to `mpg123_seek'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:101: undefined reference to `mpg123_strerror'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:90: undefined reference to `mpg123_format'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:91: undefined reference to `mpg123_format_none'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:92: undefined reference to `mpg123_getformat'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:93: undefined reference to `mpg123_init'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:94: undefined reference to `mpg123_new'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:95: undefined reference to `mpg123_open_handle'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:96: undefined reference to `mpg123_plain_strerror'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:97: undefined reference to `mpg123_rates'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:98: undefined reference to `mpg123_read'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:99: undefined reference to `mpg123_replace_reader_handle'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:100: undefined reference to `mpg123_seek'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_mpg123.c:101: undefined reference to `mpg123_strerror'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2_mixer.a(music_ogg.o): in function `OGG_Load':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:90: undefined reference to `ov_clear'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:91: undefined reference to `ov_info'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:92: undefined reference to `ov_comment'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:93: undefined reference to `ov_open_callbacks'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:90: undefined reference to `ov_clear'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:94: undefined reference to `ov_pcm_total'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:96: undefined reference to `ov_read'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:97: undefined reference to `ov_time_seek'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:102: undefined reference to `ov_pcm_seek'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:91: undefined reference to `ov_info'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:103: undefined reference to `ov_pcm_tell'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:92: undefined reference to `ov_comment'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:93: undefined reference to `ov_open_callbacks'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:94: undefined reference to `ov_pcm_total'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:96: undefined reference to `ov_read'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:97: undefined reference to `ov_time_seek'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:102: undefined reference to `ov_pcm_seek'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/music_ogg.c:103: undefined reference to `ov_pcm_tell'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2_mixer.a(mix.o): in function `update_tremolo':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/timidity/mix.c:156: undefined reference to `sin'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2_mixer.a(resample.o): in function `update_vibrato':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/timidity/resample.c:256: undefined reference to`sin'
    collect2.exe: error: ld returned 1 exit status
    make[1]: *** [/opt/devkitpro/libnx/switch_rules:80: /home/projects/test/test.elf] Error 1
    make: *** [Makefile:148: build] Error 2
     
  4. Deleted User

    Deleted User Newbie

    Ah, SDL2_Mixer requires some additional dependencies. Sorry, I forgot to mention that.

    Install the following with dkp-pacman and link them into your program:
    • libmodplug
    • libmpg123
    • libvorbisidec
    • libogg
    Then add these to the libs list in the Makefile:

    -lmodplug -lmpg123 -lvorbisidec -logg


    They're neccessary for common audio file playback (such as wav, ogg, etc.)

    Should be good to go then, hopefully.
     
    NoNAND and jonyluke like this.
  5. jonyluke

    OP jonyluke GBAtemp Regular
    Member

    Joined:
    Aug 22, 2018
    Messages:
    145
    Country:
    Spain
    another error :/

    — Posts automatically merged - Please don't double post! —

    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(fastmix.o): in function `CzWINDOWEDFIR::CzWINDOWEDFIR()':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/fastmix.cpp:219: undefined reference to `cos'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/fastmix.cpp:218: undefined reference to `cos'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/fastmix.cpp:249: undefined reference to `sin'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_stdlib.o): in function `SDL_atan2':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/stdlib/SDL_stdlib.c:58: undefined reference to `atan2'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_stdlib.o): in function `SDL_cos':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/stdlib/SDL_stdlib.c:187: undefined reference to `cos'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_stdlib.o): in function `SDL_sin':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/stdlib/SDL_stdlib.c:353: undefined reference to `sin'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_stdlib.o): in function `SDL_sinf':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/stdlib/SDL_stdlib.c:363: undefined reference to `sinf'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_stdlib.o): in function `SDL_sqrt':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/stdlib/SDL_stdlib.c:373: undefined reference to `sqrt'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_switchvideo.o): in function `SWITCH_SetDisplayMode':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/switch/SDL_switchvideo.c:227: undefined referenceto `gfxConfigureResolution'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_switchaudio.o): in function `SWITCHAUDIO_CloseDevice':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:125: undefined referenceto `audoutStopAudioOut'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:126: undefined reference to `audoutExit'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_switchaudio.o): in function `SWITCHAUDIO_GetDeviceBuf':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:109: undefined referenceto `audoutWaitPlayFinish'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_switchaudio.o): in function `SWITCHAUDIO_PlayDevice':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:97: undefined reference to `audoutAppendAudioOutBuffer'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_switchaudio.o): in function `SWITCHAUDIO_OpenDevice':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:43: undefined reference to `audoutInitialize'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:48: undefined reference to `audoutStartAudioOut'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:88: undefined reference to `audoutAppendAudioOutBuffer'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/audio/switch/SDL_switchaudio.c:50: undefined reference to `audoutExit'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_systhread.o): in function `SDL_SYS_CreateThread':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_systhread.c:44: undefined reference to `threadCreate'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_systhread.c:49: undefined reference to `threadStart'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_systhread.o): in function `SDL_SYS_WaitThread':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_systhread.c:74: undefined reference to `threadWaitForExit'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_systhread.c:75: undefined reference to `threadClose'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_egl.o): in function `SDL_EGL_LoadLibrary':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:377: undefined reference to `eglGetDisplay'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:378: undefined reference to `eglInitialize'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:379: undefined reference to `eglTerminate'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:380: undefined reference to `eglGetProcAddress'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:377: undefined reference to `eglGetDisplay'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:381: undefined reference to `eglChooseConfig'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:382: undefined reference to `eglGetConfigAttrib'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:383: undefined reference to `eglCreateContext'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:384: undefined reference to `eglDestroyContext'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:378: undefined reference to `eglInitialize'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:385: undefined reference to `eglCreatePbufferSurface'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:386: undefined reference to `eglCreateWindowSurface'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:387: undefined reference to `eglDestroySurface'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:388: undefined reference to `eglMakeCurrent'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:379: undefined reference to `eglTerminate'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:389: undefined reference to `eglSwapBuffers'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:390: undefined reference to `eglSwapInterval'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:391: undefined reference to `eglWaitNative'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:380: undefined reference to `eglGetProcAddress'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:392: undefined reference to `eglWaitGL'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:393: undefined reference to `eglBindAPI'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:394: undefined reference to `eglQueryString'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:381: undefined reference to `eglChooseConfig'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:395: undefined reference to `eglGetError'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:382: undefined reference to `eglGetConfigAttrib'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:383: undefined reference to `eglCreateContext'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:384: undefined reference to `eglDestroyContext'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:385: undefined reference to `eglCreatePbufferSurface'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:386: undefined reference to `eglCreateWindowSurface'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:387: undefined reference to `eglDestroySurface'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:388: undefined reference to `eglMakeCurrent'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:389: undefined reference to `eglSwapBuffers'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:390: undefined reference to `eglSwapInterval'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:391: undefined reference to `eglWaitNative'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:392: undefined reference to `eglWaitGL'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:393: undefined reference to `eglBindAPI'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:394: undefined reference to `eglQueryString'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:395: undefined reference to `eglGetError'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:399: undefined reference to `eglQueryString'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:410: undefined reference to `eglGetPlatformDisplay'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:410: undefined reference to `eglGetPlatformDisplay'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/video/SDL_egl.c:417: undefined reference to `eglGetPlatformDisplay'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2.a(SDL_syscond.o): in function `SDL_CondWaitTimeout':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2/src/SDL2-2.0.8/src/thread/switch/SDL_syscond.c:131: undefined reference to`condvarWaitTimeout'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2_mixer.a(mixer.o): in function `Mix_LoadWAV_RW':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/mixer.c:708: undefined reference to `SDL_LoadWAV_RW'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2_mixer.a(mix.o): in function `update_tremolo':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/timidity/mix.c:156: undefined reference to `sin'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libSDL2_mixer.a(resample.o): in function `update_vibrato':
    /home/davem/projects/devkitpro/pacman-packages/switch/SDL2_mixer/src/SDL2_mixer-2.0.2/timidity/resample.c:256: undefined reference to`sin'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(modplug.o): in function `ModPlug_Load':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/modplug.cpp:86: undefined reference to `operator new(unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/modplug.cpp:95: undefined reference to `operator delete(void*, unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(modplug.o): in function `ModPlug_Unload':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/modplug.cpp:103: undefined reference to `operator delete(void*, unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(sndfile.o): in function `CSoundFile::AllocatePattern(unsigned int, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/sndfile.cpp:340: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(sndfile.o): in function `CSoundFile::FreePattern(void*)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/sndfile.cpp:349: undefined reference to `operator delete[](void*)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(sndfile.o): in function `CSoundFile::Destroy()':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/sndfile.cpp:288: undefined reference to `operator delete[](void*)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/sndfile.cpp:293: undefined reference to `operator delete[](void*)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/sndfile.cpp:309: undefined reference to `operator delete(void*, unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/sndfile.cpp:318: undefined reference to `operator delete[](void*)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(sndfile.o): in function `CSoundFile::TransposeToFrequency(int, int)':
    /opt/devkitpro/devkitA64/aarch64-none-elf/include/c++/7.3.0/cmath:418: undefined reference to `pow'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(sndfile.o): in function `CSoundFile::FrequencyToTranspose(unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/sndfile.cpp:1709: undefined reference to `log'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(sndfile.o): in function `CSoundFile::SetPatternName(unsigned int, char const*)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/sndfile.cpp:1777: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/sndfile.cpp:1783: undefined reference to `operator delete[](void*)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(snd_flt.o): in function `CSoundFile::CutOffToFrequency(unsigned int, int) const':
    /opt/devkitpro/devkitA64/aarch64-none-elf/include/c++/7.3.0/cmath:389: undefined reference to `powf'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(snd_flt.o): in function `CSoundFile::SetupChannelFilter(_MODCHANNEL*, bool, int) const':
    /opt/devkitpro/devkitA64/aarch64-none-elf/include/c++/7.3.0/cmath:389: undefined reference to `powf'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_xm.o): in function `CSoundFile::ReadXM(unsigned char const*, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_xm.cpp:285: undefined reference to `operator new(unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_xm.cpp:549: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_xm.cpp:522: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_ult.o): in function `CSoundFile::ReadUlt(unsigned char const*, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_ult.cpp:67: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_mtm.o): in function `CSoundFile::ReadMTM(unsigned char const*, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_mtm.cpp:142: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_med.o): in function `CSoundFile::ReadMed(unsigned char const*, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_med.cpp:707: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_mdl.o): in function `CSoundFile::ReadMDL(unsigned char const*, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_mdl.cpp:291: undefined reference to `operator new(unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_mdl.cpp:245: undefined reference to `operator delete[](void*)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_mdl.cpp:246: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_mdl.cpp:336: undefined reference to `operator new(unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_it.o): in function `CSoundFile::LoadMixPlugins(void const*, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_it.cpp:1503: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_it.o): in function `CSoundFile::ReadIT(unsigned char const*, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_it.cpp:222: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_it.cpp:290: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_it.cpp:377: undefined reference to `operator new(unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_far.o): in function `CSoundFile::ReadFAR(unsigned char const*, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_far.cpp:95: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_dmf.o): in function `CSoundFile::ReadDMF(unsigned char const*, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_dmf.cpp:121: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_dbm.o): in function `CSoundFile::ReadDBM(unsigned char const*, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_dbm.cpp:148: undefined reference to `operator new(unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_ams.o): in function `CSoundFile::ReadAMS2(unsigned char const*, unsigned int) [clone .part.0]':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_ams.cpp:353: undefined reference to `operator new(unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_ams.cpp:433: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_ams.o): in function `CSoundFile::ReadAMS(unsigned char const*, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_ams.cpp:107: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_ams.cpp:125: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_ams.o): in function `AMSUnpack(char const*, unsigned int, char*, unsigned int, char)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_ams.cpp:566: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_ams.cpp:626: undefined reference to `operator delete[](void*)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_amf.o): in function `CSoundFile::ReadAMF(unsigned char const*, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_amf.cpp:373: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_amf.cpp:408: undefined reference to `operator delete[](void*)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_669.o): in function `CSoundFile::Read669(unsigned char const*, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_669.cpp:98: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_mt2.o): in function `CSoundFile::ReadMT2(unsigned char const*, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_mt2.cpp:254: undefined reference to `operator new[](unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_mt2.cpp:405: undefined reference to `operator new(unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_pat.o): in function `pat_square(int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_pat.cpp:268: undefined reference to `sinf'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_pat.o): in function `pat_sinus(int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_pat.cpp:262: undefined reference to `sinf'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_pat.o): in function `PAT_Load_Instruments':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_pat.cpp:1409: undefined reference to `operator new(unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_pat.cpp:1418: undefined reference to `operator new(unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmodplug.a(load_pat.o): in function `CSoundFile::ReadPAT(unsigned char const*, unsigned int)':
    /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_pat.cpp:1547: undefined reference to `operator new(unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/libmodplug/switch-libmodplug/src/libmodplug-0.8.8.5/src/load_pat.cpp:1602: undefined reference to `operator new(unsigned long)'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmpg123.a(layer2.o): in function `INT123_init_layer12_table':
    /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer2.c:87: undefined reference to `pow'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer2.c:87: undefined reference to `pow'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer2.c:87: undefined reference to `pow'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer2.c:87: undefined reference to `pow'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer2.c:87: undefined reference to `pow'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmpg123.a(layer2.o):/data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer2.c:87: more undefined references to `pow' follow
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmpg123.a(layer3.o): in function `INT123_init_layer3':
    /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:201: undefined reference to `sin'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:201: undefined reference to `cos'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:201: undefined reference to `sin'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:201: undefined reference to `cos'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:201: undefined reference to `sin'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:201: undefined reference to `cos'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:201: undefined reference to `sin'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:201: undefined reference to `cos'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:203: undefined reference to `sin'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:203: undefined reference to `cos'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:203: undefined reference to `sin'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:203: undefined reference to `cos'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:259: undefined reference to `pow'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:258: undefined reference to `pow'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:258: undefined reference to `pow'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/layer3.c:259: undefined reference to `pow'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmpg123.a(frame.o): in function `INT123_do_rva':
    /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/frame.c:989: undefined reference to `pow'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmpg123.a(tabinit.o): in function `INT123_prepare_decode_tables':
    /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/tabinit.c:86: undefined reference to `cos'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/tabinit.c:86: undefined reference to `cos'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/tabinit.c:86: undefined reference to `cos'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/tabinit.c:86: undefined reference to `cos'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/tabinit.c:86: undefined reference to `cos'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmpg123.a(tabinit.o):/data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/tabinit.c:86: more undefined references to `cos' follow
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmpg123.a(tabinit.o): in function `INT123_make_conv16to8_table':
    /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/tabinit.c:308: undefined reference to `log'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/tabinit.c:308: undefined reference to `log'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/tabinit.c:310: undefined reference to `log'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/tabinit.c:310: undefined reference to `log'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: /data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/tabinit.c:310: undefined reference to `log'
    c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/portlibs/switch/lib\libmpg123.a(tabinit.o):/data/projects/devkitPro/pacman-packages/switch/mpg123/switch-mpg123/src/mpg123-1.25.10/src/libmpg123/tabinit.c:310: more undefined references to `log' follow
    collect2.exe: error: ld returned 1 exit status
    make[1]: *** [/opt/devkitpro/libnx/switch_rules:80: /home/projects/test/test.elf] Error 1
    make: *** [Makefile:148: build] Error 2
     
  6. jonyluke

    OP jonyluke GBAtemp Regular
    Member

    Joined:
    Aug 22, 2018
    Messages:
    145
    Country:
    Spain
    Okay, i fix it
     
    Deleted User likes this.
  7. Deleted User

    Deleted User Newbie

    You added -lm, -lnx, -lEGL, and -lstdc++ I presume? (Those were the missing libraries but I was just making my post as you fixed it :P)
     
    NoNAND likes this.
  8. XorTroll

    XorTroll Switching between my 2DS and my Switch
    Developer

    Joined:
    Dec 28, 2017
    Messages:
    636
    Country:
    Spain
    The libs I use for SDL2:
    -lfreetype -lSDL2_mixer -lmodplug -lmpg123 -lvorbisidec -logg -lSDL2_ttf -lSDL2_image -lpng -ljpeg `sdl2-config --libs` `freetype-config --libs`
     
    ry755 and hippy dave like this.
  9. jonyluke

    OP jonyluke GBAtemp Regular
    Member

    Joined:
    Aug 22, 2018
    Messages:
    145
    Country:
    Spain
    -lm and -lnx and i changed the extension to cpp
     
    Deleted User likes this.
  10. Cid2mizard

    Cid2mizard GBAtemp Fan
    Member

    Joined:
    Aug 16, 2007
    Messages:
    391
    Country:
    France
    The lib for sdl2 with new update (sdl 2.0.8-10) of pacman.

    Code:
    LIBS   :=    -lSDL2_ttf -lSDL2_image -lSDL2_mixer -lSDL2 \
               -lpng -lz -ljpeg \
               -lvorbisidec -logg -lmpg123 -lmodplug \
               -lfreetype -lbz2 -lEGL -lglapi -ldrm_nouveau -lnx
    But this new update is unstable, projects do not always run on switch...I regret this update.

    My new makefile for Minesweeper NX, works but unstable, i don't like release unstable project...

    Code:
    #---------------------------------------------------------------------------------
    .SUFFIXES:
    #---------------------------------------------------------------------------------
    
    ifeq ($(strip $(DEVKITPRO)),)
    $(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>/devkitpro")
    endif
    
    TOPDIR ?= $(CURDIR)
    include $(DEVKITPRO)/libnx/switch_rules
    
    #---------------------------------------------------------------------------------
    # TARGET is the name of the output
    # BUILD is the directory where object files & intermediate files will be placed
    # SOURCES is a list of directories containing source code
    # DATA is a list of directories containing data files
    # INCLUDES is a list of directories containing header files
    # EXEFS_SRC is the optional input directory containing data copied into exefs, if anything this normally should only contain "main.npdm".
    # ROMFS is the directory containing data to be added to RomFS, relative to the Makefile (Optional)
    #
    # NO_ICON: if set to anything, do not use icon.
    # NO_NACP: if set to anything, no .nacp file is generated.
    # APP_TITLE is the name of the app stored in the .nacp file (Optional)
    # APP_AUTHOR is the author of the app stored in the .nacp file (Optional)
    # APP_VERSION is the version of the app stored in the .nacp file (Optional)
    # APP_TITLEID is the titleID of the app stored in the .nacp file (Optional)
    # ICON is the filename of the icon (.jpg), relative to the project folder.
    #   If not set, it attempts to use one of the following (in this order):
    #     - <Project name>.jpg
    #     - icon.jpg
    #     - <libnx folder>/default_icon.jpg
    #---------------------------------------------------------------------------------
    TARGET		  := Minesweeper_NX
    BUILD		  := build
    SOURCES		  := source
    DATA		  := data
    INCLUDES	  := include
    EXEFS_SRC	  := exefs_src
    ROMFS         := romfs
    APP_TITLE     := Minesweeper NX
    APP_AUTHOR    := cid2mizard
    APP_VERSION   := 1.1 beta
    ICON := romfs/resources/icon.jpg
    #---------------------------------------------------------------------------------
    # options for code generation
    #---------------------------------------------------------------------------------
    ARCH	:=	-march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE
    
    CFLAGS	:=	-g -Wall -O2 -ffunction-sections \
    			$(ARCH) $(DEFINES)
    
    CFLAGS	+=	$(INCLUDE) -D__SWITCH__
    
    
    # The following line works around an issue in newlib that produces a compilation
    # error in glm. It will be removed as soon as this issue is resolved.
    CFLAGS	+=	-D_GLIBCXX_USE_C99_MATH_TR1 -D_LDBL_EQ_DBL
    
    CXXFLAGS	:= $(CFLAGS) -fno-rtti -fno-exceptions
    
    ASFLAGS	:=	-g $(ARCH)
    LDFLAGS	=	-specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
    
    LIBS	:= 	-lSDL2_image -lSDL2_mixer -lSDL2 \
    			-lpng -lz -ljpeg \
    			-lvorbisidec -logg -lmpg123 -lmodplug \
    			-lfreetype -lbz2 -lEGL -lglapi -ldrm_nouveau -lnx
    
    #---------------------------------------------------------------------------------
    # list of directories containing libraries, this must be the top level containing
    # include and lib
    #---------------------------------------------------------------------------------
    LIBDIRS	:= $(PORTLIBS) $(LIBNX)
    
    
    #---------------------------------------------------------------------------------
    # no real need to edit anything past this point unless you need to add additional
    # rules for different file extensions
    #---------------------------------------------------------------------------------
    ifneq ($(BUILD),$(notdir $(CURDIR)))
    #---------------------------------------------------------------------------------
    
    export OUTPUT	:=	$(CURDIR)/$(TARGET)
    export TOPDIR	:=	$(CURDIR)
    
    export VPATH	:=	$(foreach dir,$(SOURCES),$(CURDIR)/$(dir)) \
    			$(foreach dir,$(DATA),$(CURDIR)/$(dir))
    
    export DEPSDIR	:=	$(CURDIR)/$(BUILD)
    
    CFILES		:=	$(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.c)))
    CPPFILES	:=	$(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.cpp)))
    SFILES		:=	$(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.s)))
    BINFILES	:=	$(foreach dir,$(DATA),$(notdir $(wildcard $(dir)/*.*)))
    
    export LD      :=      $(CXX)
    
    export OFILES_BIN	:=	$(addsuffix .o,$(BINFILES))
    export OFILES_SRC	:=	$(CPPFILES:.cpp=.o) $(CFILES:.c=.o) $(SFILES:.s=.o)
    export OFILES 	:=	$(OFILES_BIN) $(OFILES_SRC)
    export HFILES_BIN	:=	$(addsuffix .h,$(subst .,_,$(BINFILES)))
    
    export INCLUDE	:=	$(foreach dir,$(INCLUDES),-I$(CURDIR)/$(dir)) \
    			$(foreach dir,$(LIBDIRS),-I$(dir)/include) \
    			-I$(CURDIR)/$(BUILD)
    
    export LIBPATHS	:=	$(foreach dir,$(LIBDIRS),-L$(dir)/lib)
    
    export BUILD_EXEFS_SRC := $(TOPDIR)/$(EXEFS_SRC)
    
    ifeq ($(strip $(ICON)),)
    	icons := $(wildcard *.jpg)
    	ifneq (,$(findstring $(TARGET).jpg,$(icons)))
    		export APP_ICON := $(TOPDIR)/$(TARGET).jpg
    	else
    		ifneq (,$(findstring icon.jpg,$(icons)))
    			export APP_ICON := $(TOPDIR)/icon.jpg
    		endif
    	endif
    else
    	export APP_ICON := $(TOPDIR)/$(ICON)
    endif
    
    ifeq ($(strip $(NO_ICON)),)
    	export NROFLAGS += --icon=$(APP_ICON)
    endif
    
    ifeq ($(strip $(NO_NACP)),)
    	export NROFLAGS += --nacp=$(CURDIR)/$(TARGET).nacp
    endif
    
    ifneq ($(APP_TITLEID),)
    	export NACPFLAGS += --titleid=$(APP_TITLEID)
    endif
    
    ifneq ($(ROMFS),)
    	export NROFLAGS += --romfsdir=$(CURDIR)/$(ROMFS)
    endif
    
    .PHONY: $(BUILD) clean all
    
    #---------------------------------------------------------------------------------
    all: $(BUILD)
    
    $(BUILD):
    	@[ -d [email protected] ] || mkdir -p [email protected]
    	@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
    
    #---------------------------------------------------------------------------------
    clean:
    	@echo clean ...
    	@rm -fr $(BUILD) $(TARGET).pfs0 $(TARGET).nso $(TARGET).nro $(TARGET).nacp $(TARGET).elf
    
    
    #---------------------------------------------------------------------------------
    else
    .PHONY:	all
    
    DEPENDS	:=	$(OFILES:.o=.d)
    
    #---------------------------------------------------------------------------------
    # main targets
    #---------------------------------------------------------------------------------
    all	:	$(OUTPUT).pfs0 $(OUTPUT).nro
    
    $(OUTPUT).pfs0	:	$(OUTPUT).nso
    
    $(OUTPUT).nso	:	$(OUTPUT).elf
    
    ifeq ($(strip $(NO_NACP)),)
    $(OUTPUT).nro	:	$(OUTPUT).elf $(OUTPUT).nacp
    else
    $(OUTPUT).nro	:	$(OUTPUT).elf
    endif
    
    $(OUTPUT).elf	:	$(OFILES)
    
    $(OFILES_SRC)	: $(HFILES_BIN)
    
    #---------------------------------------------------------------------------------
    # you need a rule like this for each extension you use as binary data
    #---------------------------------------------------------------------------------
    %.bin.o	%_bin.h :	%.bin
    #---------------------------------------------------------------------------------
    	@echo $(notdir $<)
    	@$(bin2o)
    
    -include $(DEPENDS)
    
    #---------------------------------------------------------------------------------------
    endif
    #---------------------------------------------------------------------------------------
    
     
    Last edited by Cid2mizard, Oct 9, 2018
  11. XorTroll

    XorTroll Switching between my 2DS and my Switch
    Developer

    Joined:
    Dec 28, 2017
    Messages:
    636
    Country:
    Spain
    Agree, I was just rebuilding my video player with SD2 and now it usually hangs out
     
  12. jonyluke

    OP jonyluke GBAtemp Regular
    Member

    Joined:
    Aug 22, 2018
    Messages:
    145
    Country:
    Spain
    Code:
    -lSDL2_ttf -lSDL2_image -lSDL2_mixer -lSDL2 \
    -lpng -lz -ljpeg \
    -lglad -lEGL -lglapi -ldrm_nouveau \
    -lvorbisidec -logg -lmpg123 -lmodplug -lstdc++ \
    -lnx -lm -lfreetype -lbz2
    
     
    Last edited by jonyluke, Dec 5, 2018
  13. Deleted User

    Deleted User Newbie

    Reinstall DevKitPro then it should work :)
     
  14. ELY_M

    ELY_M Developer
    Developer

    Joined:
    Dec 6, 2007
    Messages:
    501
    Country:
    United States
    I have same problem too. I am trying to port my old wii homebrew app to switch.
     
  15. jonyluke

    OP jonyluke GBAtemp Regular
    Member

    Joined:
    Aug 22, 2018
    Messages:
    145
    Country:
    Spain
    Solution:

    Code:
    CFLAGS += -D__SWITCH__ $(INCLUDE) `sdl2-config --cflags`
    LIBS    :=    `sdl2-config --libs`
     
    ELY_M likes this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - install,