hola ,
i got libmp3 & ps2sdk from cve and got this compile error :
In file included from libmp3.cpp:55:
C:/PS2Dev/ps2sdk/ee/include/fileXio_rpc.h:53: type specifier omitted for
parameter `iox_stat_t'
C:/PS2Dev/ps2sdk/ee/include/fileXio_rpc.h:53: parse error before `*' token
C:/PS2Dev/ps2sdk/ee/include/fileXio_rpc.h:54: type specifier omitted for
parameter `iox_stat_t'
C:/PS2Dev/ps2sdk/ee/include/fileXio_rpc.h:54: parse error before `*' token
C:/PS2Dev/ps2sdk/ee/include/fileXio_rpc.h:59: type specifier omitted for
parameter `iox_dirent_t'
C:/PS2Dev/ps2sdk/ee/include/fileXio_rpc.h:59: parse error before `*' token
libmp3.cpp:1752:1: operator '||' has no right operand
make: *** [libmp3.o] Error 1
does someone have idea how to solve this Error ?
take care
dror
question regarding libmp3 & ps2sdk
-
- Posts: 5
- Joined: Tue Jan 04, 2005 2:22 am
- Location: Israel
- Contact:
look at line 53 of fileXio_rpc.h:
Your error:
It's declared in my sys/stat.h.
Is it declared in your sys/stat.h?
... And you are using the right sys/stat.h?
Code: Select all
int fileXioChStat(const char *name, iox_stat_t *stat, int mask);
So... iox_stat_t is broken for you.C:/PS2Dev/ps2sdk/ee/include/fileXio_rpc.h:53: type specifier omitted for
parameter `iox_stat_t'
C:/PS2Dev/ps2sdk/ee/include/fileXio_rpc.h:53: parse error before `*' token
It's declared in my sys/stat.h.
Is it declared in your sys/stat.h?
... And you are using the right sys/stat.h?
Last edited by rinco on Mon Feb 07, 2005 9:33 am, edited 1 time in total.
-
- Posts: 5
- Joined: Tue Jan 04, 2005 2:22 am
- Location: Israel
- Contact:
Hola rinco ,
Hola rinco ,
thank you for your fast replay.
i was able to remove the stat.h error by change the sys/stat.h file .
thanks a lot ,
great job
take care
dror
thank you for your fast replay.
i was able to remove the stat.h error by change the sys/stat.h file .
thanks a lot ,
great job
take care
dror
-
- Posts: 5
- Joined: Tue Jan 04, 2005 2:22 am
- Location: Israel
- Contact:
problem complie the libmp3 sample
hola again.
i am tring to compile the libmp3 under windows , but i having problems with libmp3/contrib/lib/libsample.a
ee-gcc -mno-crt0 -TC:\PS2Dev\ps2sdk/ee/startup/linkfile -LC:\PS2Dev\ps2sdk/ee/lib -L./LIB -LC:\PS2De
v\libmp3/ee/lib/ -LC:\PS2Dev\libmp3/libmad/ -LC:\PS2Dev\libmp3/contrib/lib \
-o ../bin/mp3play.elf C:\PS2Dev\ps2sdk/ee/startup/crt0.o mp3play.o -lmp3 -lfileXio -
ldebug -lsample -lmad -lm -lcdvdfs -lkernel -lc -lkernel -lsyscall -lc
C:\PS2Dev\libmp3/contrib/lib/libsample.a: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make: *** [../bin/mp3play.elf] Error 1
i am tring to compile the libmp3 under windows , but i having problems with libmp3/contrib/lib/libsample.a
ee-gcc -mno-crt0 -TC:\PS2Dev\ps2sdk/ee/startup/linkfile -LC:\PS2Dev\ps2sdk/ee/lib -L./LIB -LC:\PS2De
v\libmp3/ee/lib/ -LC:\PS2Dev\libmp3/libmad/ -LC:\PS2Dev\libmp3/contrib/lib \
-o ../bin/mp3play.elf C:\PS2Dev\ps2sdk/ee/startup/crt0.o mp3play.o -lmp3 -lfileXio -
ldebug -lsample -lmad -lm -lcdvdfs -lkernel -lc -lkernel -lsyscall -lc
C:\PS2Dev\libmp3/contrib/lib/libsample.a: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make: *** [../bin/mp3play.elf] Error 1