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 

aalib patch

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



Joined: 29 Oct 2007
Posts: 15

PostPosted: Sun Nov 09, 2008 7:17 pm    Post subject: aalib patch Reply with quote

When compiling aalib error:

Quote:
$ make
make -C src all
make[1]: Entering directory `/cygdrive/c/svn/aalib/src'
psp-gcc -I../include -I. -I/usr/local/pspdev/psp/sdk/include -G0 -g -O2 -D_
PSP_FW_VERSION=150 -c -o aastdin.o aastdin.c
aastdin.c: In function 'stdin_getchar':
aastdin.c:58: error: 'fd_set' undeclared (first use in this function)
aastdin.c:58: error: (Each undeclared identifier is reported only once
aastdin.c:58: error: for each function it appears in.)
aastdin.c:58: error: expected ';' before 'readfds'
aastdin.c:61: error: 'readfds' undeclared (first use in this function)
make[1]: *** [aastdin.o] Error 1
make[1]: Leaving directory `/cygdrive/c/svn/aalib/src'
make: *** [all] Error 2


The patch to correct errors
aalib.patch

Code:
--- src/aastdin.c   2008-10-02 09:59:00.000000000 +0600
+++ src/aastdin.c.new   2008-11-09 14:10:40.000000000 +0500
@@ -5,6 +5,7 @@
 #include <setjmp.h>
 #include <sys/time.h>
 #include <sys/types.h>
+#include <sys/fd_set.h>
 #ifdef GPM_MOUSEDRIVER
 #include <gpm.h>
 #endif
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Nov 10, 2008 11:31 am    Post subject: Reply with quote

Code:
Sending        aalib/src/aastdin.c
Transmitting file data .
Committed revision 2444.

Committed.
Back to top
View user's profile Send private message Visit poster's website
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