Hello again, My apologies, I've found a port of ncurses for Minix. It countains all of the KEY_ value defenitions that I was missing. This fixes a great deal of the issues I've been having trying to get Cscope to compile.
Unfortunately, there are still issues. It now clears all of the preprocessing, and as it starts to compile i get errors expecting a declaration specifier before one of the parameters to the definition of sigwinch_handler. I've been looking at the source for days trying to make sense of it, and I figure this is the best place to ask. As far as I can tell 'siginfo_t' is an instance of the 'siginfo' struct, and is declared when 'siginfo' is declared. I am using GCC 4.1.1 (its the latest GCC available on minix, but that is a separate problem). Thanks again, Alex (compiler error below) make all-recursive Making all in doc make: 'all' is up to date Making all in src if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/ncurses \ -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi main.c:126: error: expected declaration specifiers or '...' before 'siginfo_t' main.c: In function 'sigwinch_handler': main.c:129: error: 'info' undeclared (first use in this function) main.c:129: error: (Each undeclared identifier is reported only once main.c:129: error: for each function it appears in.) main.c: In function 'main': main.c:406: error: 'struct sigaction' has no member named 'sa_sigaction' make in /usr/ajray/cscope-15.7/cscope-15.7/src: Exit code 1 make in /usr/ajray/cscope-15.7/cscope-15.7: Exit code 1 make in /usr/ajray/cscope-15.7/cscope-15.7: Exit code 1 2009/3/27 Hans-Bernhard Bröker <hbbroe...@t-online.de>: > Alexander Ray wrote: > >> First is related to the <curses.h> standard library. In Minix, >> curses.h doesn't contain the KEY_LEFT, KEY_RIGHT, etc definitions. > > That would mean this implementation of curses is severely limited. The fact > that nobody else noticed this before, not even on some truly ancient Unix > derivates, suggests this is a defect in Minix' implementation of curses. > > Any chance you could just install ncurses or PDcurses and use that instead > of the system's rather crippled one? > > ------------------------------------------------------------------------------ _______________________________________________ Cscope-devel mailing list Cscope-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cscope-devel