ps4dev / ps4sdk

Modular open source ps4 sdk with user and kernel space support
Other
91 stars 41 forks source link

Missing header file "opt_compat.h" #18

Closed unknownv2 closed 8 years ago

unknownv2 commented 8 years ago

include/machine/reg.h:41:10: fatal error: 'opt_compat.h' file not found

include "opt_compat.h"

Works fine once you add an empty header (opt_compat.h) in the include dir. Error occurs when you include sys/ptrace.h in a kernel 'module' (kmain.c).

hitodama commented 8 years ago

Hi! Thanks, I look into it and resolve it :)

hitodama commented 8 years ago

I looked into it. The best approach seems to be, to define _STANDALONE. I should add such things to a standard header, like kern.h. But I will also add an empty file as you suggested, since the real file seems obscure. Thanks again :)

hitodama commented 8 years ago

Resolved with https://github.com/ps4dev/ps4sdk/commit/53924989bf289079047dd7dcf134ca061d98cfb8