help-octave
[Top][All Lists]
Advanced

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

Re: CVS: compile problem


From: John W. Eaton
Subject: Re: CVS: compile problem
Date: Mon, 4 Dec 2000 10:19:43 -0600

On  4-Dec-2000, Helgi Tomasson <address@hidden> wrote:

| It seems that when I downloaded  via CVS at least one file was missing
| 
| config.h.in

If you look at the top of config.h.in from any Octave source
distribution, you will find

  /* config.h.in.  Generated automatically from configure.in by autoheader.  */

Since this is a file that can be automatically generated, it is not
included in the CVS archive.

| I go the following errors, via make check, and a look at config.log
| 
| Running ./octave.test/poly/poly.exp ...
| FAIL: octave.test/poly/residue-1.m
| IT SEEMS THAT THE ACCURACY IS NOT ENOUGH HERE???
| Running ./octave.test/prefer/prefer.exp ...
| (MY GUESS FROM LOOKING AT residue-1.m)
| Running ./octave.test/quad/quad.exp ...

I don't think there is anything wrong with residue, but the test may
need to relax the standard for accuracy.

| an error reported in config.log
| 
| configure:1066: checking for C++ support for new friend template
| declaration
| configure:1103: c++ -o conftest -g -O2   conftest.C  1>&5
| /tmp/cc2QL8sP.o: In function `main':
| /tmp/octave/configure:1098: undefined reference to `operator==(A const &, A
| const &)'
| collect2: ld returned 1 exit status
| configure: failed program was:
| #line 1093 "configure"
| #include "confdefs.h"
| #include "conftest.h"
| int main() {
| 
|         A a (1);
|         return a == A(1);
| 
| ; return 0; }
| configure:1140: checking for gcc

So, does your config.h define CXX_NEW_FRIEND_TEMPLATE_DECL?  I think
the messages you are seeing are normal given the way the test is written.

BTW, the octave-maintainers mailing list is a better place to discuss
problems with the CVS sources.

Thanks,

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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