| View previous topic :: View next topic |
| Author |
Message |
CHERTS
Joined: 29 Oct 2007 Posts: 15
|
Posted: Sun Nov 09, 2008 7:17 pm Post subject: aalib patch |
|
|
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 |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Mon Nov 10, 2008 11:31 am Post subject: |
|
|
| Code: | Sending aalib/src/aastdin.c
Transmitting file data .
Committed revision 2444. |
Committed. |
|
| Back to top |
|
 |
|