From bug-octave-request at bevo dot che dot wisc dot edu Tue Nov 6 10:04:47 2001 Subject: Building Octave-2.1.35 using Cygwin errors in rl_clear_screen From: "William D. Kirby" To: Octave Bug Report Date: Tue, 6 Nov 2001 10:03:48 -0600 Building Octave-2.1.35 using Cygwin-1.3.3-2 and XFree-4.1 on a Windows NT v4.0 SP3 I get an error message oct-rl-edit.c: In function `octave_rl_clear_screen': oct-rl-edit.c:63: too few arguments to function `rl_clear_screen' make[2]: *** [oct-rl-edit.o] Error 1 make[1]: *** [liboctave] Error 2 make: *** [all] Error 2 This occured after changing the function call from _rl_clear_screen to rl_clear_screen to correct a previous compiler error. The particular code involved is as follows: from /octave-2.1.35/liboctave/oct-rl-edit.c void octave_rl_clear_screen (void) { extern void _rl_clear_screen (); _rl_clear_screen (); } from /usr/include/readline/readline (v4.2-3) readline.h extern READLINE_EXPORT(int, rl_clear_screen) __P((int, int)); The configure command was ./configure --with-fftw --enable-static --x-includes=/usr/x11r6/include --x-libraries=/usr/x11r6/lib ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------