Can't link libmikmod

Post Reply
ant512
Posts: 11
Joined: Sat Feb 06, 2010 11:10 am

Can't link libmikmod

Post by ant512 » 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?

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

Re: Can't link libmikmod

Post by WinterMute » Wed Nov 14, 2018 10:40 am

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.
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest