How can i build ps2ftpd?
Posted: Mon Jun 28, 2004 9:48 pm
Hello,
sorry for my english, i'm chinese,
i installed PS2SDK(ps2sdk-v1.0alpha-bin.zip) and set $PS2SDKSRC on redhat 9 .
when i make (under src/) i had this error:
[root@localhost src]# make
cc -Wall -DLINUX -c -o FileSystem.o FileSystem.c
In file included from FileSystem.c:13:
FileSystem.h:112: parse error before '*' token
FileSystem.h:112: warning: type defaults to `int' in declaration of `FileSystem_ScanDevice'
FileSystem.h:112: warning: data definition has no type or storage class
FileSystem.c: In function `FileSystem_OpenDir':
FileSystem.c:125: structure has no member named `m_List'
FileSystem.c:128: structure has no member named `m_List'
FileSystem.c: In function `FileSystem_ReadDir':
FileSystem.c:230: structure has no member named `m_List'
FileSystem.c: In function `FileSystem_ClassifyPath':
FileSystem.c:454: structure has no member named `m_eType'
FileSystem.c:454: `FS_DEVLIST' undeclared (first use in this function)
FileSystem.c:454: (Each undeclared identifier is reported only once
FileSystem.c:454: for each function it appears in.)
FileSystem.c:463: warning: implicit declaration of function `isnum'
FileSystem.c:467: structure has no member named `m_kFile'
FileSystem.c:472: structure has no member named `m_kFile'
FileSystem.c:472: `IOPMGR_IOMAN_IDENT' undeclared (first use in this function)
FileSystem.c:474: structure has no member named `m_eType'
FileSystem.c:474: `FS_IODEVICE' undeclared (first use in this function)
FileSystem.c:485: structure has no member named `m_kFile'
FileSystem.c:485: `IOPMGR_IOMANX_IDENT' undeclared (first use in this function)
FileSystem.c:487: structure has no member named `m_eType'
FileSystem.c: At top level:
FileSystem.c:584: parse error before '*' token
FileSystem.c:585: warning: return type defaults to `int'
FileSystem.c: In function `FileSystem_ScanDevice':
FileSystem.c:586: `smod_mod_info_t' undeclared (first use in this function)
FileSystem.c:586: `pkModule' undeclared (first use in this function)
FileSystem.c:587: `iop_device_t' undeclared (first use in this function)
FileSystem.c:587: `pkDevInfoTable' undeclared (first use in this function)
FileSystem.c:592: parse error before ')' token
FileSystem.c:604: parse error before ')' token
FileSystem.c:611: `IOP_DT_FS' undeclared (first use in this function)
make: *** [FileSystem.o] Error 1
[root@localhost src]#
why?
please help me~
thank :x
sorry for my english, i'm chinese,
i installed PS2SDK(ps2sdk-v1.0alpha-bin.zip) and set $PS2SDKSRC on redhat 9 .
when i make (under src/) i had this error:
[root@localhost src]# make
cc -Wall -DLINUX -c -o FileSystem.o FileSystem.c
In file included from FileSystem.c:13:
FileSystem.h:112: parse error before '*' token
FileSystem.h:112: warning: type defaults to `int' in declaration of `FileSystem_ScanDevice'
FileSystem.h:112: warning: data definition has no type or storage class
FileSystem.c: In function `FileSystem_OpenDir':
FileSystem.c:125: structure has no member named `m_List'
FileSystem.c:128: structure has no member named `m_List'
FileSystem.c: In function `FileSystem_ReadDir':
FileSystem.c:230: structure has no member named `m_List'
FileSystem.c: In function `FileSystem_ClassifyPath':
FileSystem.c:454: structure has no member named `m_eType'
FileSystem.c:454: `FS_DEVLIST' undeclared (first use in this function)
FileSystem.c:454: (Each undeclared identifier is reported only once
FileSystem.c:454: for each function it appears in.)
FileSystem.c:463: warning: implicit declaration of function `isnum'
FileSystem.c:467: structure has no member named `m_kFile'
FileSystem.c:472: structure has no member named `m_kFile'
FileSystem.c:472: `IOPMGR_IOMAN_IDENT' undeclared (first use in this function)
FileSystem.c:474: structure has no member named `m_eType'
FileSystem.c:474: `FS_IODEVICE' undeclared (first use in this function)
FileSystem.c:485: structure has no member named `m_kFile'
FileSystem.c:485: `IOPMGR_IOMANX_IDENT' undeclared (first use in this function)
FileSystem.c:487: structure has no member named `m_eType'
FileSystem.c: At top level:
FileSystem.c:584: parse error before '*' token
FileSystem.c:585: warning: return type defaults to `int'
FileSystem.c: In function `FileSystem_ScanDevice':
FileSystem.c:586: `smod_mod_info_t' undeclared (first use in this function)
FileSystem.c:586: `pkModule' undeclared (first use in this function)
FileSystem.c:587: `iop_device_t' undeclared (first use in this function)
FileSystem.c:587: `pkDevInfoTable' undeclared (first use in this function)
FileSystem.c:592: parse error before ')' token
FileSystem.c:604: parse error before ')' token
FileSystem.c:611: `IOP_DT_FS' undeclared (first use in this function)
make: *** [FileSystem.o] Error 1
[root@localhost src]#
why?
please help me~
thank :x