help-octave
[Top][All Lists]
Advanced

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

Building octave on Solaris


From: pben
Subject: Building octave on Solaris
Date: Wed, 18 Jun 2003 13:17:36 -0500

Hi folks,

I was wondering if you would help me figure out why the octave build is failing on our Solaris 2.9 system. The config.log is attached. I am doing this as a user, not as root, so that may be the cause of this problem. I am trying to build 2.1.48, however the problem is the same for 2.1.35. I am using gcc v. 3.2.2.

Here's the snippet from the build process:


gcc -c -I/home/pben/readline-4.3 -I. -I../.. -I../../liboctave -I../../src -I../../libcruft/misc -I../../glob -I../../glob -DHAVE_CONFIG_H -g -O2 f77-fcn.c -o f77-fcn.o
In file included from f77-fcn.h:26,
from f77-fcn.c:30:
quit.h:56: parse error before "GCC_ATTR_NORETURN"
quit.h:56: warning: data definition has no type or storage class
quit.h:75: parse error before "GCC_ATTR_NORETURN"
quit.h:75: warning: data definition has no type or storage class
quit.h:77: parse error before "GCC_ATTR_NORETURN"
quit.h:77: warning: data definition has no type or storage class
In file included from f77-fcn.c:30:
f77-fcn.h:81: parse error before "GCC_ATTR_NORETURN"
f77-fcn.h:81: warning: data definition has no type or storage class
In file included from f77-fcn.c:32:
lo-error.h:30: parse error before "GCC_ATTR_NORETURN"
lo-error.h:30: warning: data definition has no type or storage class
f77-fcn.c:43: `F77_FUNC' declared as function returning a function
f77-fcn.c: In function `F77_FUNC':
f77-fcn.c:47: `s' undeclared (first use in this function)
f77-fcn.c:47: (Each undeclared identifier is reported only once
f77-fcn.c:47: for each function it appears in.)
f77-fcn.c:47: `slen' undeclared (first use in this function)
make[3]: *** [f77-fcn.o] Error 1
make[3]: Leaving directory `/home/pben/octave-2.1.48/libcruft/misc'
make[2]: *** [misc] Error 2
make[2]: Leaving directory `/home/pben/octave-2.1.48/libcruft'
make[1]: *** [libcruft] Error 2
make[1]: Leaving directory `/home/pben/octave-2.1.48'
make: *** [all] Error 2

If I remove instances of GCC_ATTR_NORETURN, the compile seems to work fine.

Many thanks in advance for your guidance,
Ben Harris
(See attached file: config.log)

Attachment: config.log
Description: Binary data


reply via email to

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