I get these errors
Code: Select all
cdvd_iop.c: In function `CDVD_init':
cdvd_iop.c:292: dereferencing pointer to incomplete type
cdvd_iop.c: In function `CDVD_open':
cdvd_iop.c:322: `O_RDONLY' undeclared (first use in this function)
cdvd_iop.c:322: (Each undeclared identifier is reported only once
cdvd_iop.c:322: for each function it appears in.)
cdvd_iop.c: In function `CDVD_lseek':
cdvd_iop.c:386: `SEEK_SET' undeclared (first use in this function)
cdvd_iop.c:390: `SEEK_CUR' undeclared (first use in this function)
cdvd_iop.c:394: `SEEK_END' undeclared (first use in this function)
cdvd_iop.c: In function `_start':
cdvd_iop.c:559: storage size of `param' isn't known
cdvd_iop.c:581: invalid use of undefined type `struct fileio_driver'
cdvd_iop.c:582: invalid use of undefined type `struct fileio_driver'
cdvd_iop.c:583: invalid use of undefined type `struct fileio_driver'
cdvd_iop.c:584: invalid use of undefined type `struct fileio_driver'
cdvd_iop.c:585: invalid use of undefined type `struct fileio_driver'
cdvd_iop.c:590: `FIO_INITIALIZE' undeclared (first use in this function)
cdvd_iop.c:591: `FIO_OPEN' undeclared (first use in this function)
cdvd_iop.c:592: `FIO_CLOSE' undeclared (first use in this function)
cdvd_iop.c:593: `FIO_READ' undeclared (first use in this function)
cdvd_iop.c:594: `FIO_WRITE' undeclared (first use in this function)
cdvd_iop.c:595: `FIO_SEEK' undeclared (first use in this function)
cdvd_iop.c: In function `FindPath':
cdvd_iop.c:1079: warning: assignment makes pointer from integer without a cast
cdvd_iop.c:1187: warning: assignment makes pointer from integer without a cast
cdvd_iop.c:1233: warning: assignment makes pointer from integer without a cast
cdvd_iop.c: In function `CDVD_GetDir_RPC':
cdvd_iop.c:1292: storage size of `dmaStruct' isn't known
cdvd_iop.c: In function `CDVDRpc_TrayReq':
cdvd_iop.c:1634: warning: passing arg 2 of `CdTrayReq' from incompatible pointer type
cdvd_iop.c: In function `_splitpath':
cdvd_iop.c:1758: warning: assignment makes pointer from integer without a cast
cdvd_iop.c:1762: warning: assignment makes pointer from integer without a cast
cdvd_iop.c: In function `TocEntryCompare':
cdvd_iop.c:1836: warning: assignment makes pointer from integer without a cast
cdvd_iop.c:1841: warning: assignment makes pointer from integer without a cast
cdvd_iop.c:1847: warning: assignment makes pointer from integer without a cast
/usr/local/ps2dev/ps2sdk/common/include/tamtypes.h: At top level:
cdvd_iop.c:162: storage size of `qd' isn't known
cdvd_iop.c:163: storage size of `sd0' isn't known
cdvd_iop.c:170: storage size of `file_driver' isn't known
make[1]: *** [cdvd_iop.o] Error 1
make[1]: Leaving directory `/home/kenshin/xbmc/ps2toolchain/libcdvd/iop'
make: *** [build-iop] Error 2
it complains about a fileio_driver structure that isn't defined exist anywhere in the ps2sdk tree --anywhere in $(PS2DEV) int fact --
from what I could understand it needs PS2Lib, But on ps2sdk replaces ps2lib, ps2drv, ps2ip, ps2hid and libhdd projects. Use ps2sdk instead of any of these projects."
Ps2dev website we can see "
so I'm wondering ....
how can possibly this lib be built ...?