Hello @rtype
I try to compile core in raspbian for raspberry but it’s doesn’t work, why ?
I tried theses commandes :
sudo make -f Makefile.libretro platform=crosspi sudo make -f Makefile.libretro
same errors
sudo make -f Makefile.libretro
g++ -c -o fmgen/file.o fmgen/file.cpp -g -O2 -fno-merge-constants -D__LINUX__ -DNO_MERCURY -DPX68K_VERSION=0.15 -O3 -ffast-math -fomit-frame-pointer -I. -I./libretro -I./x68k -I./fmgen -I./win32api -DC68K_NO_JUMP_TABLE -D__LIBRETRO__ -fPIC -fpermissive
g++ -c -o fmgen/fmg_wrap.o fmgen/fmg_wrap.cpp -g -O2 -fno-merge-constants -D__LINUX__ -DNO_MERCURY -DPX68K_VERSION=0.15 -O3 -ffast-math -fomit-frame-pointer -I. -I./libretro -I./x68k -I./fmgen -I./win32api -DC68K_NO_JUMP_TABLE -D__LIBRETRO__ -fPIC -fpermissive
g++ -c -o fmgen/fmgen.o fmgen/fmgen.cpp -g -O2 -fno-merge-constants -D__LINUX__ -DNO_MERCURY -DPX68K_VERSION=0.15 -O3 -ffast-math -fomit-frame-pointer -I. -I./libretro -I./x68k -I./fmgen -I./win32api -DC68K_NO_JUMP_TABLE -D__LIBRETRO__ -fPIC -fpermissive
g++ -c -o fmgen/fmtimer.o fmgen/fmtimer.cpp -g -O2 -fno-merge-constants -D__LINUX__ -DNO_MERCURY -DPX68K_VERSION=0.15 -O3 -ffast-math -fomit-frame-pointer -I. -I./libretro -I./x68k -I./fmgen -I./win32api -DC68K_NO_JUMP_TABLE -D__LIBRETRO__ -fPIC -fpermissive
g++ -c -o fmgen/opm.o fmgen/opm.cpp -g -O2 -fno-merge-constants -D__LINUX__ -DNO_MERCURY -DPX68K_VERSION=0.15 -O3 -ffast-math -fomit-frame-pointer -I. -I./libretro -I./x68k -I./fmgen -I./win32api -DC68K_NO_JUMP_TABLE -D__LIBRETRO__ -fPIC -fpermissive
g++ -c -o fmgen/opna.o fmgen/opna.cpp -g -O2 -fno-merge-constants -D__LINUX__ -DNO_MERCURY -DPX68K_VERSION=0.15 -O3 -ffast-math -fomit-frame-pointer -I. -I./libretro -I./x68k -I./fmgen -I./win32api -DC68K_NO_JUMP_TABLE -D__LIBRETRO__ -fPIC -fpermissive
g++ -c -o fmgen/psg.o fmgen/psg.cpp -g -O2 -fno-merge-constants -D__LINUX__ -DNO_MERCURY -DPX68K_VERSION=0.15 -O3 -ffast-math -fomit-frame-pointer -I. -I./libretro -I./x68k -I./fmgen -I./win32api -DC68K_NO_JUMP_TABLE -D__LIBRETRO__ -fPIC -fpermissive
g++ -c -o libretro/winx68k.o libretro/winx68k.cpp -g -O2 -fno-merge-constants -D__LINUX__ -DNO_MERCURY -DPX68K_VERSION=0.15 -O3 -ffast-math -fomit-frame-pointer -I. -I./libretro -I./x68k -I./fmgen -I./win32api -DC68K_NO_JUMP_TABLE -D__LIBRETRO__ -fPIC -fpermissive
cc -c -o x68k/d68k.o x68k/d68k.c -g -O2 -D__LINUX__ -DNO_MERCURY -DPX68K_VERSION=0.15 -O3 -ffast-math -fomit-frame-pointer -I. -I./libretro -I./x68k -I./fmgen -I./win32api -DC68K_NO_JUMP_TABLE -D__LIBRETRO__ -fPIC -std=gnu99
cc -c -o m68000/m68000.o m68000/m68000.c -g -O2 -D__LINUX__ -DNO_MERCURY -DPX68K_VERSION=0.15 -O3 -ffast-math -fomit-frame-pointer -I. -I./libretro -I./x68k -I./fmgen -I./win32api -DC68K_NO_JUMP_TABLE -D__LIBRETRO__ -fPIC -std=gnu99
In file included from ./libretro/common.h:4:0,
from m68000/c68k/c68k.h:36,
from m68000/m68000.h:13,
from m68000/m68000.c:9:
./win32api/windows.h:80:0: warning: "UNUSED" redefined
#define UNUSED(v) ((void)(v))
^
In file included from m68000/c68k/c68k.h:35:0,
from m68000/m68000.h:13,
from m68000/m68000.c:9:
m68000/c68k/core.h:286:0: note: this is the location of the previous definition
#define UNUSED __attribute ((unused))
^
In file included from m68000/m68000.c:18:0:
m68000/m68000.c: In function ‘m68000_init’:
m68000/../x68k/memory.h:6:23: warning: passing argument 2 of ‘C68k_Set_ReadB’ from incompatible pointer type
#define Memory_ReadB cpu_readmem24
^
m68000/m68000.c:98:27: note: in expansion of macro ‘Memory_ReadB’
C68k_Set_ReadB(&C68K, Memory_ReadB);
^
In file included from m68000/m68000.h:13:0,
from m68000/m68000.c:9:
m68000/c68k/c68k.h:190:9: note: expected ‘u32 (*)(const u32)’ but argument is of type ‘BYTE (*)(DWORD)’
void C68k_Set_ReadB(c68k_struc *cpu, C68K_READ *Func);
^
In file included from m68000/m68000.c:18:0:
m68000/../x68k/memory.h:7:23: warning: passing argument 2 of ‘C68k_Set_ReadW’ from incompatible pointer type
#define Memory_ReadW cpu_readmem24_word
^
m68000/m68000.c:99:27: note: in expansion of macro ‘Memory_ReadW’
C68k_Set_ReadW(&C68K, Memory_ReadW);
^
In file included from m68000/m68000.h:13:0,
from m68000/m68000.c:9:
m68000/c68k/c68k.h:191:9: note: expected ‘u32 (*)(const u32)’ but argument is of type ‘WORD (*)(DWORD)’
void C68k_Set_ReadW(c68k_struc *cpu, C68K_READ *Func);
^
In file included from m68000/m68000.c:18:0:
m68000/../x68k/memory.h:10:24: warning: passing argument 2 of ‘C68k_Set_WriteB’ from incompatible pointer type
#define Memory_WriteB cpu_writemem24
^
m68000/m68000.c:100:28: note: in expansion of macro ‘Memory_WriteB’
C68k_Set_WriteB(&C68K, Memory_WriteB);
^
In file included from m68000/m68000.h:13:0,
from m68000/m68000.c:9:
m68000/c68k/c68k.h:192:9: note: expected ‘void (*)(const u32, u32)’ but argument is of type ‘void (*)(DWORD, BYTE)’
void C68k_Set_WriteB(c68k_struc *cpu, C68K_WRITE *Func);
^
In file included from m68000/m68000.c:18:0:
m68000/../x68k/memory.h:11:24: warning: passing argument 2 of ‘C68k_Set_WriteW’ from incompatible pointer type
#define Memory_WriteW cpu_writemem24_word
^
m68000/m68000.c:101:28: note: in expansion of macro ‘Memory_WriteW’
C68k_Set_WriteW(&C68K, Memory_WriteW);
^
In file included from m68000/m68000.h:13:0,
from m68000/m68000.c:9:
m68000/c68k/c68k.h:193:9: note: expected ‘void (*)(const u32, u32)’ but argument is of type ‘void (*)(DWORD, WORD)’
void C68k_Set_WriteW(c68k_struc *cpu, C68K_WRITE *Func);
^
cc -c -o m68000/c68k/c68k.o m68000/c68k/c68k.c -g -O2 -D__LINUX__ -DNO_MERCURY -DPX68K_VERSION=0.15 -O3 -ffast-math -fomit-frame-pointer -I. -I./libretro -I./x68k -I./fmgen -I./win32api -DC68K_NO_JUMP_TABLE -D__LIBRETRO__ -fPIC -std=gnu99
In file included from ./libretro/common.h:4:0,
from m68000/c68k/c68k.h:36,
from m68000/c68k/c68k.c:35:
./win32api/windows.h:80:0: warning: "UNUSED" redefined
#define UNUSED(v) ((void)(v))
^
In file included from m68000/c68k/c68k.h:35:0,
from m68000/c68k/c68k.c:35:
m68000/c68k/core.h:286:0: note: this is the location of the previous definition
#define UNUSED __attribute ((unused))
^
cc -c -o m68000/c68k/c68kexec.o m68000/c68k/c68kexec.c -g -O2 -D__LINUX__ -DNO_MERCURY -DPX68K_VERSION=0.15 -O3 -ffast-math -fomit-frame-pointer -I. -I./libretro -I./x68k -I./fmgen -I./win32api -DC68K_NO_JUMP_TABLE -D__LIBRETRO__ -fPIC -std=gnu99
In file included from ./libretro/common.h:4:0,
from m68000/c68k/c68k.h:36,
from m68000/c68k/c68kexec.c:25:
./win32api/windows.h:80:0: warning: "UNUSED" redefined
#define UNUSED(v) ((void)(v))
^
In file included from m68000/c68k/c68kexec.c:24:0:
m68000/c68k/core.h:286:0: note: this is the location of the previous definition
#define UNUSED __attribute ((unused))
^