[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling problem on DEC Ultrix with gcc

From: Grant Denkinson
Subject: Compiling problem on DEC Ultrix with gcc
Date: Wed, 9 Mar 1994 10:37:59 +0000 (GMT)

I'm having trouble compiling octave-1.0 on a DECstation 5000/200 running 
Ultrix 4.3

I'm using gcc 2.5.8 , libg++ 2.5.3 and GNU make 3.70

I modified signal.h:

< #define       SIG_IGN         (void (*)()) 1
> #define       SIG_IGN         ((void (*)())( 1))
< /*extern void (*signal(int __sig, void(*__func)(int)))(int);*/
< extern void             (*signal())();
> extern void   (*signal(int __sig, void(*__func)(int)))(int);

which seemed to work.

The problem I have is with the stage in src:

Making defaults.h from
defaults.h is unchanged
g++  -I. -I. -I.. -I../liboctave -I. -I./liboctave  -DHAVE_CONFIG_H \  
-fexternal-templates  -g -O -Wall -L..  -g -O -o octave \
arith-ops.o builtins.o error.o file-io.o fnmatch.o g-builtins.o getopt.o \
getopt1.o gripes.o help.o idx-vector.o input.o lex.o mappers.o octave.o \
octave-hist.o pager.o parse.o pr-output.o procstream.o sighandlers.o \
strcasecmp.o strncase.o symtab.o sysdep.o \
 t-builtins.o tc-assign.o tc-extras.o tc-index.o token.o tree.o \ 
tree-const.o tree-plot.o unwind-prot.o user-prefs.o utils.o variables.o \ 
xdiv.o xpow.o SLStack.o  f-balance.o f-chol.o f-colloc.o f-dassl.o \
f-det.o f-eig.o f-expm.o f-fft.o f-fsolve.o f-fsqp.o \
 f-givens.o f-hess.o f-ifft.o f-inv.o f-lpsolve.o f-lsode.o f-lu.o \ 
f-npsol.o f-qpsol.o f-qr.o f-quad.o f-qzval.o f-rand.o f-schur.o f-svd.o \ 
f-syl.o  ../liboctave.a ../libcruft.a ../libinfo.a ../libreadline.a \
-lUfor -lfor -lutil -li -lots  -ltermcap -lm -lg++
collect2: ld returned 1 exit status
make: *** [octave] Error 1

Any suggestions as to how to solve this problem would be much appreciated.

"Obviously it's incumbent on a mailer not to end life on the planet
if it finds weird characters."    Steve Dorner, Qualcomm Inc
Grant Denkinson,                email:  address@hidden
Remote Sensing Unit,                    address@hidden
Department of Geography,                address@hidden
University of Nottingham,       phone:  +44 602 515731
Nottingham.  NG7 2RD    U.K.    fax:    +44 602 515249

reply via email to

[Prev in Thread] Current Thread [Next in Thread]