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 

Problem Compiling on Mac Os X

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



Joined: 03 Oct 2006
Posts: 4

PostPosted: Wed Nov 01, 2006 4:32 am    Post subject: Problem Compiling on Mac Os X Reply with quote

Hello,

I've many difficulties to compile pspsdk on my Mac.
I'm using Os 10.4.7.
I got many warnings from gcc during the compilation ( especially "warning: function declaration isn't a prototype" ).
At the end i got an "fatal" error on the compilation of a file named "flat_bl.m" :

Code:

Code:

gcc -g -O2    -c -o flat_bl.o ../../gprof/flat_bl.m
../../gprof/flat_bl.m:2: error: parse error before '%' token
make[3]: *** [flat_bl.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-gprof] Error 2
ERROR BUILDING BINUTILS


I had already posted this error in an other topic but it seems that nobody has seen it...

Thx for your help...
Back to top
View user's profile Send private message
dsn



Joined: 09 Nov 2005
Posts: 47
Location: Indianapolis, Indiana, USA

PostPosted: Wed Nov 01, 2006 4:38 am    Post subject: Reply with quote

The compiler on OS X is hardwired to interpret .m files as Objective-C. Look at this thread for help: http://forums.ps2dev.org/viewtopic.php?p=40365#40365
Back to top
View user's profile Send private message Send e-mail
Elenaher



Joined: 03 Oct 2006
Posts: 4

PostPosted: Wed Nov 01, 2006 6:54 am    Post subject: Reply with quote

Thx a lot for your help. This post should be deleted...
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Fri Nov 03, 2006 9:25 am    Post subject: Reply with quote

YOu do realise 10.4.8 exists dont you :|
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP 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