forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

question regarding libmp3 & ps2sdk

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
drorshalev



Joined: 04 Jan 2005
Posts: 5
Location: Israel

PostPosted: Mon Feb 07, 2005 8:12 am    Post subject: question regarding libmp3 & ps2sdk Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
rinco



Joined: 21 Jan 2005
Posts: 255
Location: Canberra, Australia

PostPosted: Mon Feb 07, 2005 8:44 am    Post subject: Reply with quote

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
View user's profile Send private message
drorshalev



Joined: 04 Jan 2005
Posts: 5
Location: Israel

PostPosted: Mon Feb 07, 2005 9:11 am    Post subject: Hola rinco , Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
drorshalev



Joined: 04 Jan 2005
Posts: 5
Location: Israel

PostPosted: Mon Feb 07, 2005 9:18 am    Post subject: problem complie the libmp3 sample Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
rinco



Joined: 21 Jan 2005
Posts: 255
Location: Canberra, Australia

PostPosted: Mon Feb 07, 2005 9:37 am    Post subject: Reply with quote

hold off until tomorrow then update your cvs...

I've dropped libsample in favour of the madplayer resample code.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group