Page 1 of 1

building the genromfs tool - 2 header files missing

Posted: Thu Apr 24, 2008 12:49 am
by ttguy
svn://svn.ps2dev.org/ps2/trunk/ps2sdk-ports/romfs/ has a tool called genromfs for generating Rom File systems.

The source lives in tools/genromfs with the source genromfs.c trying to include two header files I do not have in my install.

#include <netinet/in.h> and include <sys/sysmacros.h>

I am runing the PS2SDK under MinGW/ Msys on a Win2k machine.

I can not find these header files on my system. Nor could I find them anywhere in the trunk of the subversion repository.

Can anyone send me these files or point to where I might find them.

Posted: Thu Apr 24, 2008 2:07 am
by Lukasz
The genromsfs.c is a host (PC) side tool, so the problem is that your Mingw32 install is missing the headers, not your PS2 enviroment.

Posted: Fri Apr 25, 2008 12:37 am
by ttguy
Lukasz wrote:The genromsfs.c is a host (PC) side tool, so the problem is that your Mingw32 install is missing the headers, not your PS2 enviroment.
Yep. I had suspisons along these lines too. Where would one get these missing header files? Would Cygwin have these do you think?