| View previous topic :: View next topic |
| Author |
Message |
drorshalev
Joined: 04 Jan 2005 Posts: 5 Location: Israel
|
Posted: Mon Feb 07, 2005 8:12 am Post subject: question regarding libmp3 & ps2sdk |
|
|
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 |
|
| Back to top |
|
 |
rinco
Joined: 21 Jan 2005 Posts: 255 Location: Canberra, Australia
|
Posted: Mon Feb 07, 2005 8:44 am Post subject: |
|
|
look at line 53 of fileXio_rpc.h:
| Code: | int fileXioChStat(const char *name, iox_stat_t *stat, int mask);
|
Your error:
| Quote: | 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 |
So... iox_stat_t is broken for you.
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 |
|
| Back to top |
|
 |
drorshalev
Joined: 04 Jan 2005 Posts: 5 Location: Israel
|
Posted: Mon Feb 07, 2005 9:11 am Post subject: 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 |
|
| Back to top |
|
 |
drorshalev
Joined: 04 Jan 2005 Posts: 5 Location: Israel
|
Posted: Mon Feb 07, 2005 9:18 am Post subject: 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 |
|
| Back to top |
|
 |
rinco
Joined: 21 Jan 2005 Posts: 255 Location: Canberra, Australia
|
Posted: Mon Feb 07, 2005 9:37 am Post subject: |
|
|
hold off until tomorrow then update your cvs...
I've dropped libsample in favour of the madplayer resample code. |
|
| Back to top |
|
 |
|