not able to compile usb_mass
Posted: Sun Jan 09, 2005 6:16 am
I have a win32 - cygwin installation (Jules compiler binaries) with ps2sdk 1.2. Yesterday I downloaded usb_mass module from CVS.
When compiling iop dir I get this messages:
And when compiling the ee dir I get this:
I don't know what's wrong (I´m new to ps2 dev but I'm an experienced programmer). Could someone help me?
Thanks in advance.
moev.
When compiling iop dir I get this messages:
Code: Select all
$ make
iop-gcc -O2 -G0 -c -I/ps2sdk/iop/include -I/ps2sdk/common/include -I. -D_PS2_ mass_stor.c -o mass_stor.o
iop-gcc -O2 -G0 -c -I/ps2sdk/iop/include -I/ps2sdk/common/include -I. -D_PS2_ fat_driver.c -o fat_driver.o
iop-gcc -O2 -G0 -c -I/ps2sdk/iop/include -I/ps2sdk/common/include -I. -D_PS2_ scache.c -o scache.o
iop-gcc -O2 -G0 -c -I/ps2sdk/iop/include -I/ps2sdk/common/include -I. -D_PS2_ usb_mass.c -o usb_mass.o
echo "#include \"irx_imports.h\"" > build-imports.c
cat imports.lst >> build-imports.c
iop-gcc -O2 -G0 -c -I/ps2sdk/iop/include -I/ps2sdk/common/include -I. -D_PS2_ build-imports.c -o imports.o
build-imports.c:3: section attributes are not supported for this target
build-imports.c:7: section attributes are not supported for this target
build-imports.c:11: section attributes are not supported for this target
build-imports.c:22: section attributes are not supported for this target
build-imports.c:30: section attributes are not supported for this target
build-imports.c:39: section attributes are not supported for this target
build-imports.c:44: section attributes are not supported for this target
build-imports.c:50: section attributes are not supported for this target
build-imports.c:57: section attributes are not supported for this target
make: *** [imports.o] Error 1
Code: Select all
$ make
ee-gcc -D_EE -O2 -G0 -Wall -I/ps2sdk/ee/include -I/ps2sdk/common/include -I. -c mass_example.c -o mass_example.o
mass_example.c: In function `listDirRecord':
mass_example.c:31: warning: implicit declaration of function `printf'
mass_example.c: In function `main':
mass_example.c:219: subscripted value is neither array nor pointer
mass_example.c:220: subscripted value is neither array nor pointer
mass_example.c:176: warning: `paddata' might be used uninitialized in this function
make: *** [mass_example.o] Error 1
Thanks in advance.
moev.