help-octave
[Top][All Lists]
Advanced

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

Re: error: template with C linkage


From: David Bateman
Subject: Re: error: template with C linkage
Date: Sat, 12 May 2007 07:31:06 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

Brian Borchers wrote:
> I'm attempting to build octave on an x86_64 Red Hat Enterprise Linux 4 
> Machine,
> using gcc 3.4.6.  The configure goes normally, but in the actual build phase,
> the errors start popping up as soon as make enters the liboctave directory:
>  
> make[2]: Entering directory `/home/brian/octave/octave-2.9.10/liboctave'
> g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc   
> -DHAVE_CONF\
> IG_H  -Wall -W -Wshadow -Wold-style-cast -g -O2 sparse-base-chol.cc -o 
> pic/spar\
> se-base-chol.o
> In file included from 
> /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../includ\
> e/c++/3.4.6/complex:49,
>                  from /usr/local/include/suitesparse/cs.h:14,
>                  from oct-sparse.h:86,
>                  from sparse-base-chol.h:30,
>                  from sparse-base-chol.cc:27:
> /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/cpp_t\
> ype_traits.h:75: error: template with C linkage
> /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/cpp_t\
> ype_traits.h:77: error: template with C linkage
> ...
>  
> Any suggestion of what could be causing this problem?  

Yes. Old compilers... See the thread

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

Regards
D.


reply via email to

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