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 

Error compiling LIBHDD

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



Joined: 25 Dec 2004
Posts: 7

PostPosted: Sat Dec 25, 2004 5:09 am    Post subject: Error compiling LIBHDD Reply with quote

Helo guys I'm from spain (islas canarias) and my english is very bad ,excuseme for this but I am learning :)
Well a have a problem when a try to compile the LIBHDD, I do make a I get the folowing :
pancho@sargosbreados /usr/local/ps2dev/libhdd
$ make
make -C ee
make[1]: Entering directory `/usr/local/ps2dev/libhdd/ee'
make -C lib
make[2]: Entering directory `/usr/local/ps2dev/libhdd/ee/lib'
ee-gcc -mips3 -mcpu=r5900 -ffreestanding -fno-builtin -G0 -fshort-double -mlong6
4 -mhard-float -mno-abicalls -O2 -EL -Wall -c -I/usr/local/ps2dev/libhdd/ee/inc
lude -I/usr/local/ps2dev/libhdd/common/include -I/usr/local/ps2dev/ps2drv/common
/include -I/usr/local/ps2dev/ps2drv/ee/libfileXio -I/usr/local/ps2dev/ps2lib/ee/
include -I/usr/local/ps2dev/ps2lib/common/include -I. libhdd.c -o libhdd.o
/usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.2/../../../../ee/bin/as: unrecognized op
tion `-mcpu=r5900'
make[2]: *** [libhdd.o] Error 1
make[2]: Leaving directory `/usr/local/ps2dev/libhdd/ee/lib'
make[1]: *** [all-lib] Error 2
make[1]: Leaving directory `/usr/local/ps2dev/libhdd/ee'
make: *** [all-ee] Error 2
Can you help my pleace, I just compile PS2LIB,PS2DRV and I didn't have problems, I am working whith CYGWIN and the toolchain is the stable toolchain by oopo. THANK YOU.
Back to top
View user's profile Send private message
cheriff
Regular


Joined: 23 Jun 2004
Posts: 262
Location: Sydney.au

PostPosted: Sat Dec 25, 2004 9:33 am    Post subject: Reply with quote

Quote:
unrecognized option `-mcpu=r5900'


If it doesn't like that option, just edit the makefile not to use it.
The current ee-gcc is already "aimed at" the correct cpu and doesn't need to be told again.
Unlike previous versions, I assume....
_________________
Damn, I need a decent signature!


Last edited by cheriff on Sat Dec 25, 2004 9:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Sat Dec 25, 2004 11:59 am    Post subject: Reply with quote

Nah. He is using a wrong cygwin compiler. Trash it, and get a proper one.
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
cheriff
Regular


Joined: 23 Jun 2004
Posts: 262
Location: Sydney.au

PostPosted: Sat Dec 25, 2004 9:07 pm    Post subject: Reply with quote

Whoops. *blush*

I had a similar problem a while ago with older makefiles and removing offending flags did the trick.

similar problem..... but different...
_________________
Damn, I need a decent signature!
Back to top
View user's profile Send private message
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Sat Dec 25, 2004 11:20 pm    Post subject: Reply with quote

Huh, or maybe you're right: libhdd is rather old it seems, and still have old compilation options. Anyway, the right thing to do is to use the libhdd which is inside the ps2sdk.
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
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