Coder Social home page Coder Social logo

Comments (3)

artart78 avatar artart78 commented on July 28, 2024

It probably means that part of SDL mixer/mikmod just can't work. Closing because it's old and I guess you can fix that too @libcg :P

from psp-ports.

wickles avatar wickles commented on July 28, 2024

I am running into this problem now trying to compile some old game. Those do not seem like good reasons to close an issue..

Anyway, I found the the offending functions are used in all newer versions series 3.1, 3.2, and 3.3. However every instance of these functions (that I checked) is wrapped in a preprocessor clause

#if defined unix || (defined __APPLE__ && defined __MACH__)
...
#endif

Since we are compiling for PSP and not unix or MacOS, it should be simple to fix by adjusting some definitions when compiling mikmod.

from psp-ports.

wickles avatar wickles commented on July 28, 2024

Indeed, I found a definition for unix in the makefiles:

> % grep -nr Dunix psp-ports/libmikmod
psp-ports/libmikmod/libmikmod/Makefile.in:32:CFLAGS=@CFLAGS@ -Dunix

Removing the definition resolves the errors listed here but reveals a couple remaining similar errors, which should also not be difficult to fix:

/usr/local/pspdev/lib/gcc/psp/4.8.5/../../../../psp/lib/libmikmod.a(drv_pipe.o): In function `pipe_Exit':
../drivers/drv_pipe.c:(.text+0xac): undefined reference to `pclose'
/usr/local/pspdev/lib/gcc/psp/4.8.5/../../../../psp/lib/libmikmod.a(drv_pipe.o): In function `pipe_Init':
../drivers/drv_pipe.c:(.text+0x130): undefined reference to `popen'

from psp-ports.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.