[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trouble compiling Octave on Linux Redhat7
From: |
Pierre Volcke |
Subject: |
trouble compiling Octave on Linux Redhat7 |
Date: |
Wed, 14 Mar 2001 15:24:12 +0100 |
hello,
I've got trouble compiling Octave 2.0.16 on
a Redhat7 box:
$ ./configure --prefix=/usr/local/octave --enable-shared --enable-dl
(...)
$ make
(...)
a few minutes after, it says:
(...)
c++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob
-I../glob -DHAVE_CONFIG_H -mieee-fp -fno-rtti -fno-exceptions
-fno-implicit-templates -g
-O2 -Wall Range.cc
ar rc liboctave.a Range.o
c++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob
-I../glob -DHAVE_CONFIG_H -mieee-fp -fno-rtti -fno-exceptions
-fno-implicit-templates -g
-O2 -Wall cmd-hist.cc
cmd-hist.cc: In method `command_history::command_history (const string
&, int)':
../readline/history.h:161: too many arguments to function `int
read_history ()'
cmd-hist.cc:69: at this point in file
cmd-hist.cc: In method `void command_history::add (const string &)':
../readline/history.h:71: too many arguments to function `void
add_history ()'
cmd-hist.cc:132: at this point in file
cmd-hist.cc: In method `void command_history::remove (int)':
../readline/history.h:76: too many arguments to function `HIST_ENTRY
*remove_history ()'
cmd-hist.cc:143: at this point in file
cmd-hist.cc: In method `void command_history::stifle (int)':
../readline/history.h:87: too many arguments to function `void
stifle_history ()'
cmd-hist.cc:175: at this point in file
cmd-hist.cc: In method `void command_history::read (const string &,
bool)':
../readline/history.h:161: too many arguments to function `int
read_history ()'
cmd-hist.cc:203: at this point in file
cmd-hist.cc: In method `void command_history::read_range (const string
&, int, int, bool)':
../readline/history.h:168: too many arguments to function `int
read_history_range ()'
cmd-hist.cc:237: at this point in file
cmd-hist.cc: In method `void command_history::write (const string &)':
../readline/history.h:173: too many arguments to function `int
write_history ()'
cmd-hist.cc:266: at this point in file
cmd-hist.cc: In method `void command_history::append (const string &)':
../readline/history.h:177: too many arguments to function `int
append_history ()'
cmd-hist.cc:306: at this point in file
cmd-hist.cc: In method `void command_history::truncate_file (const
string &, int)':
../readline/history.h:180: too many arguments to function `int
history_truncate_file ()'
cmd-hist.cc:335: at this point in file
cmd-hist.cc: In method `string command_history::get_entry (int)':
../readline/history.h:114: too many arguments to function `HIST_ENTRY
*history_get ()'
cmd-hist.cc:390: at this point in file
cmd-hist.cc: In method `void command_history::replace_entry (int, const
string &)':
../readline/history.h:81: too many arguments to function `HIST_ENTRY
*replace_history_entry ()'
cmd-hist.cc:404: at this point in file
cmd-hist.cc: In method `void command_history::clean_up_and_save (const
string &, int)':
../readline/history.h:173: too many arguments to function `int
write_history ()'
cmd-hist.cc:434: at this point in file
make[2]: *** [cmd-hist.o] Error 1
make[2]: Leaving directory `/root/octave-2.0.16/liboctave'
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory `/root/octave-2.0.16'
make: *** [all] Error 2
#################################
sorry, that was long!
the c++ version line is "gcc version 2.96 20000731 (Red Hat Linux 7.0)".
I guess that some functions prototypes are not okay in 'history.h' .
Have somebody already encountered this problem?
Maybe there's a patch for it?
thanks,
Pierre.
-------------------------------------------------------------
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
-------------------------------------------------------------
- trouble compiling Octave on Linux Redhat7,
Pierre Volcke <=