Hope this is the correct place for this kind of question.
I'm trying to build App2USB from source.
I'm using ps4-vtx-sdk as this seems to correct some unresolved references I had originally but I get following issue:
main.c.text+0x1707): undefined reference to `symlink'
and similarly for 'lstat' although I seem to have worked around it by using stat instead.
man symlink gives the include required as unistd.h but adding that conflicts with the ps4 header includes.
Also, I tried setting my compiler flags to gnu99 as opposed to gnu11 but still no luck.
Thanks in advance if anyone can help a poor lad out.
Edit: I should add all other payloads I can build fine, including vtx-hen, it's just App2USB giving me problem.
I'm trying to build App2USB from source.
I'm using ps4-vtx-sdk as this seems to correct some unresolved references I had originally but I get following issue:
main.c.text+0x1707): undefined reference to `symlink'
and similarly for 'lstat' although I seem to have worked around it by using stat instead.
man symlink gives the include required as unistd.h but adding that conflicts with the ps4 header includes.
Also, I tried setting my compiler flags to gnu99 as opposed to gnu11 but still no luck.
Thanks in advance if anyone can help a poor lad out.
Edit: I should add all other payloads I can build fine, including vtx-hen, it's just App2USB giving me problem.