Page 1 of 1

Can't link libmikmod

Posted: Fri Sep 28, 2018 7:08 am
by ant512
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?

Re: Can't link libmikmod

Posted: Wed Nov 14, 2018 10:40 am
by WinterMute
Do you have any idea what's pulling those functions in offhand?

libmikmod was only packaged and tested as part of the SDL package, sorry.

The library may need patching or built with different configure options.