Just checked preprocessed output (gcc -E ...). Probably NATMEM_OFFSET is not set in compemu_raw_x86.c.
EDIT: Yes, EUAE protects all access by to veccode in build_comp() by #ifdef NATMEM_OFFSET. PUAE/WinUAE does not.
EDIT2: Tried this:
Code:
#ifdef NATMEM_OFFSET
if (veccode == NULL)
veccode = cache_alloc (256)
#endif
I hope it makes sense.
Now I get
Code:
memory.c:3050: error: conflicting types for ‘mapped_malloc’
../src/include/memory.h:345: note: previous declaration of ‘mapped_malloc’ was here
EDIT3: Silly. Must be
Code:
uae_u8 *mapped_malloc (size_t s, const TCHAR *file)
in memory.h. And yet another error, but this time the linker...
Doesn't find "au" in sound.c and "gui_..." in disk.c. (I'm building without GUI).
EDIT4: One edit to end them all. au() is some unicode related routine. I commented all the missing functions away since I don't think they're strictly needed. Well, PUAE compiles, runs and restarts with illegal instructions.