help-octave
[Top][All Lists]
Advanced

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

problem compiling SparseCmplxQR.cc with a RHEL3 box


From: John W. Eaton
Subject: problem compiling SparseCmplxQR.cc with a RHEL3 box
Date: Tue, 8 May 2007 18:48:41 -0400

On  8-May-2007, Cohen-Tanugi, Johann wrote:

| I am getting the following compile error trying to build octave 2.9.10 on an 
RHEL3 box :
| -bash-2.05b$ gmake
| g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc   
-DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -g -O2 
SparseCmplxQR.cc -o pic/SparseCmplxQR.o
| SparseCmplxQR.cc:40: syntax error before `__attribute__'
| ...
| and then a bunch of warnings.
| 
| -bash-2.05b$ uname -a
| Linux noric02 2.4.21-47.0.1.ELsmp #1 SMP Fri Oct 13 17:47:16 EDT 2006 i686 
athlon i386 GNU/Linux

Why does everyone always seem to think the kernel version is relevant?
The compiler is failing here, not the kernel...

| the line 40 of the file is :
| SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep 
| (const SparseComplexMatrix& a GCC_ATTR_UNUSED,                     
<----------this line
|  int order GCC_ATTR_UNUSED)
| 
| so I am stuck as to debugging what goes wrong....

Does the following help?

  http://www.cae.wisc.edu/pipermail/bug-octave/2007-April/002111.html

jwe


reply via email to

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