Hmm, seems I'm unable to compile Dega 1.14 on a Linux system with Python 2.5.1. I assume from an earlier comment it's meant to work with 2.4? Dega 1.13a compiles fine.
gcc -c -o python/pydega.emb.o python/pydega.c -DEMBEDDED -I/usr/include/python2.5 -I/usr/include/python2.5 -fno-strict-aliasing -DNDEBUG -O3 -march=i486 -mtune=i686 -O3 -fomit-frame-pointer -funroll-loops -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl=
In file included from /usr/include/python2.5/Python.h:120,
from python/pydega.c:5:
/usr/include/python2.5/pythonrun.h:84:1: warning: "PyRun_AnyFile" redefined
In file included from python/pydega.c:3:
python/linkage.h:43:1: warning: this is the location of the previous definition
In file included from /usr/include/python2.5/Python.h:120,
from python/pydega.c:5:
/usr/include/python2.5/pythonrun.h:90:1: warning: "PyRun_SimpleFile" redefined
In file included from python/pydega.c:3:
python/linkage.h:42:1: warning: this is the location of the previous definition
In file included from python/pydega.c:9:
python/linkage.h: In function 'initlinkage':
python/linkage.h:135: error: 'pPyRun_SimpleFile' undeclared (first use in this function)
python/linkage.h:135: error: (Each undeclared identifier is reported only once
python/linkage.h:135: error: for each function it appears in.)
python/linkage.h:136: error: 'pPyRun_AnyFile' undeclared (first use in this function)
In file included from python/pydega.c:11:
mast/mastint.h: At top level:
mast/mastint.h:17: warning: ignoring #pragma warning
mast/mastint.h:18: warning: ignoring #pragma warning
In file included from mast/mastint.h:29,
from python/pydega.c:11:
mast/emu2413.h:8: warning: ignoring #pragma warning
mast/emu2413.h:9: warning: ignoring #pragma warning
python/pydega.c: In function 'pydega_load_rom':
python/pydega.c:267: warning: passing argument 1 of 'MastLoadRom' discards qualifiers from pointer target type
make: *** [python/pydega.emb.o] Error 1