Code: Select all
/usr/include/ncurses.h:553: error: syntax error before '*' token
/usr/include/ncurses.h:639: error: syntax error before 'FILE'
ncurses.h
Code: Select all
551 extern NCURSES_EXPORT(int) getnstr (char *, int); /* generated */
552 extern NCURSES_EXPORT(int) getstr (char *); /* generated */
553 extern NCURSES_EXPORT(WINDOW *) getwin (FILE *); /* implemented */
554 extern NCURSES_EXPORT(int) halfdelay (int); /* implemented */
555 extern NCURSES_EXPORT(bool) has_colors (void); /* implemented */
Code: Select all
636 extern NCURSES_EXPORT(int) mvwvline (WINDOW *,int, int, chtype, int); /* generated */
637 extern NCURSES_EXPORT(int) napms (int); /* implemented */
638 extern NCURSES_EXPORT(WINDOW *) newpad (int,int); /* implemented */
639 extern NCURSES_EXPORT(SCREEN *) newterm (NCURSES_CONST char *,FILE *,FILE *); /* implemented */
640 extern NCURSES_EXPORT(WINDOW *) newwin (int,int,int,int); /* implemented */
heres my makefile also for you guys.
Code: Select all
TARGET = nano
OBJS = color.o cut.o files.o global.o move.o nano.o rcfile.o search.o utils.o winio.o
INCDIR = intl /usr/local/share /usr/include
CFLAGS = -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
LIBDIR =
LDFLAGS =
LIBS= -lpspgum -lpspgu -lm -lncurses
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Nano
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
thanks