Can't link libmikmod
Posted: Fri Sep 28, 2018 7:08 am
If I try to use MikMod in my 3DS game I get linker errors:
/opt/devkitpro/portlibs/3ds/lib/libmikmod.a(drv_pipe.o): In function `pipe_Exit':
drv_pipe.c:(.text.pipe_Exit+0x3c): undefined reference to `pclose'
/opt/devkitpro/portlibs/3ds/lib/libmikmod.a(drv_pipe.o): In function `pipe_Init':
drv_pipe.c:(.text.pipe_Init+0x18): undefined reference to `popen'
Both devkitARM and libmikmod are installed via pacman.
Any suggestions?
/opt/devkitpro/portlibs/3ds/lib/libmikmod.a(drv_pipe.o): In function `pipe_Exit':
drv_pipe.c:(.text.pipe_Exit+0x3c): undefined reference to `pclose'
/opt/devkitpro/portlibs/3ds/lib/libmikmod.a(drv_pipe.o): In function `pipe_Init':
drv_pipe.c:(.text.pipe_Init+0x18): undefined reference to `popen'
Both devkitARM and libmikmod are installed via pacman.
Any suggestions?