[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Install Octave 2.0.1 on Sparc20 And MkLinux
From: |
Jay J. Williams |
Subject: |
Install Octave 2.0.1 on Sparc20 And MkLinux |
Date: |
Fri, 17 Jan 1997 15:18:21 -0600 (CST) |
Hi,
I've been trying to get Octave to compile on a sprac20 workstation and
my MkLinux system at home. I'm using g++ version 2.7.2
On the Sparc20 I get the following error:
c++ -c -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc
-DHAVE_CONFIG_H -fno-implicit-templates -g -O2 -Wall sighandlers.cc
sighandlers.cc: In function `void my_friendly_exit(const char *, int)':
sighandlers.cc:128: passing `void (*)()' as argument 2 of
`octave_set_signal_handler(int, int (*)(int))'
sighandlers.cc: In function `int (* octave_set_signal_handler(int, int
(*)(int)))(int)':
sighandlers.cc:168: assignment to `void (*)(...)' from `int (*)(int)'
sighandlers.cc:173: return to `int (*)(int)' from `void (*)(...)'
sighandlers.cc:177: warning: control reaches end of non-void function
`octave_set_signal_handler(int, int (*)(int))'
sighandlers.cc: In function `int generic_sig_handler(int)':
sighandlers.cc:184: warning: `return' with no value, in function returning
non-void
sighandlers.cc: In function `int sigchld_handler(int)':
sighandlers.cc:243: warning: `return' with no value, in function returning
non-void
sighandlers.cc: In function `int sigint_handler(int)':
sighandlers.cc:285: warning: `return' with no value, in function returning
non-void
sighandlers.cc:274: warning: unused parameter `int sig'
sighandlers.cc: In function `int sigpipe_handler(int)':
sighandlers.cc:303: warning: `return' with no value, in function returning
non-void
sighandlers.cc: In function `struct octave_interrupt_handler *
octave_ignore_interrupts()':
sighandlers.cc:327: passing `void (*)()' as argument 2 of
`octave_set_signal_handler(int, int (*)(int))'
sighandlers.cc: In function `void install_signal_handlers()':
sighandlers.cc:415: passing `void (*)()' as argument 2 of
`octave_set_signal_handler(int, int (*)(int))'
sighandlers.cc:455: passing `void (*)()' as argument 2 of
`octave_set_signal_handler(int, int (*)(int))'
make[2]: *** [sighandlers.o] Error 1
make[2]: Leaving directory `/files1/lip-image/develop/octave-2.0.1/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/files1/lip-image/develop/octave-2.0.1'
make: *** [all] Error 2
jjw has logged on ttyr2 from :0.0.
{54}[/homes/jjw/lipreading/develop/octave-2.0.1]%cd src
{55}[/homes/jjw/lipreading/develop/octave-2.0.1/src]%emacs sighandlers.cc
&
======================
Under MkLinux I'm lost here:
O /
\/ C U T H E R E
/\ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
O \
c++ -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc
-DHAVE_CONFI
G_H -fno-implicit-templates -g -O2 -Wall -L.. -u MAIN__ -fPIC -g -o
octave \
octave.o builtins.o balance.o chol.o colloc.o dassl.o det.o eig.o
expm.o
fft.o fft2.o filter.o find.o fsolve.o fsqp.o getgrent.o getpwent.o
getr
usage.o givens.o hess.o ifft.o ifft2.o inv.o log.o lpsolve.o
lsode.o lu
.o minmax.o npsol.o pinv.o qpsol.o qr.o quad.o qzval.o rand.o
schur.o
sort.o svd.o syl.o time.o \
-L../liboctave -L../libcruft -L../readline -L../kpathsea -L../glob
-L../dlfcn -L
. \
-loctinterp -loctave -ltinst -lcruft -lreadline -lkpathsea -lglob \
-lF77 -lI77 -lncurses -lm -lg++
/usr/lib/libm.a(cabs.o): In function `z_abs':
cabs.o(.text+0x268): multiple definition of `z_abs'
/usr/lib/libF77.a(z_abs.o)(.text+0x4): first defined here
octave.o: In function `str_vec_compare(void const *, void const *)':
/home/beta/src/octave-2.0.1/src/../liboctave/str-vec.h:38: undefined
reference t
o `basic_string<char, string_char_traits<char>
>::compare(basic_string<char, str
ing_char_traits<char> > const &, unsigned long, unsigned long) const'
octave.o: In function `initialize_globals(basic_string<char,
string_char_traits<
char> > const &)':
/home/beta/src/octave-2.0.1/src/octave.cc:199: undefined reference to
`basic_str
ing<char, string_char_traits<char> >::rfind(char, unsigned long) const'
octave.o: In function `initialize_globals(basic_string<char,
string_char_traits<
char> > const &)':
I have the following configuration:
libg++-devel-2.7.1.4-4
libc-5.2.18-5g
libc-static-5.2.18-5g
libc-devel-5.2.18-5g
libc-include-5.2.18-5g
______________________________
\ \ ___ ______ |
\ \ / \___-=0`/|0`/__|
\ Help.... \_______\ / | / )
/ / `/-==__ _/__|/__=-|
/ / * \ | |
/_____________________________/ (o)
)|(
(o o)
------------------------------------------ooO-(_)-Ooo-------------------------
Jay J. Williams '||' \\|//
E-Mail: address@hidden || .... .... ... - -
Northwestern University || '' .|| '|. | (o o)
EECS Department || .|' || '|.| J
2145 Sheridan Road || .|' '|..'|' '| -
Evanston, IL 60208-3118 ''' .. | \_/
Voice: (847) 467-1949 ''
FAX: (847) 491-4455 URL -> http://www.eecs.nwu.edu/~jjw
** This Message Was Printed On 100% Recycled Electronics **
============ooO=(-)=Ooo==================ooO=======Ooo========================
(o o)
)|(
- Install Octave 2.0.1 on Sparc20 And MkLinux,
Jay J. Williams <=