[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: issues compiling octave-2.1.69 on FreeBSD 5.4
From: |
John W. Eaton |
Subject: |
Re: issues compiling octave-2.1.69 on FreeBSD 5.4 |
Date: |
Fri, 22 Apr 2005 10:23:14 -0400 |
On 22-Apr-2005, Joan Picanyol i Puig <address@hidden> wrote:
| > Also, can you determine precisely which fnmatch.h file is being
| > included?
|
| I don't know how to.
If you are using GCC and add -save-temps to CXXFLAGS, then you will
get .ii files for each .cc file that is compiled. Those files
contain the output from the preprocessor, which should include the
full file names of all the files included.
| > Does it include lines like
| >
| > #ifdef __cplusplus
| > extern "C" {
| > #endif
| >
| > #ifdef __cplusplus
| > }
| > #endif
| >
| > around the contents of the file?
|
| None of them do.
|
| > If not, does changing the line
| >
| > #include <fnmatch.h>
| >
| > in liboctave/glob-match.h to be
| >
| > extern "C" {
| > #include <fnmatch.h>
| > }
|
| My liboctave/glob-match.h does not #include <fnmatch.h> (this is after
| applying your patch to configure.in and running autogen.sh).
Oops, I meant liboctave/glob-match.cc. It also includes glob.h, so
maybe the lines will need to be changed from
#include <fnmatch.h>
#include <glob.h>
to
extern "C" {
#include <fnmatch.h>
#include <glob.h>
}
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
-------------------------------------------------------------
- issues compiling 2.1.69 on FreeBSD 5.4, Joan Picanyol i Puig, 2005/04/20
- Re: issues compiling 2.1.69 on FreeBSD 5.4, Dmitri A. Sergatskov, 2005/04/21
- Re: issues compiling 2.1.69 on FreeBSD 5.4, Joan Picanyol i Puig, 2005/04/21
- Re: issues compiling 2.1.69 on FreeBSD 5.4, John W. Eaton, 2005/04/21
- Re: issues compiling 2.1.69 on FreeBSD 5.4, Joan Picanyol i Puig, 2005/04/21
- Re: issues compiling 2.1.69 on FreeBSD 5.4, John W. Eaton, 2005/04/21
- Re: issues compiling octave-2.1.69 on FreeBSD 5.4, Joan Picanyol i Puig, 2005/04/22
- Re: issues compiling octave-2.1.69 on FreeBSD 5.4,
John W. Eaton <=
- octave and heimdal conflict around fnmatch.h (was Re: issues compiling octave-2.1.69 on FreeBSD 5.4), Joan Picanyol i Puig, 2005/04/23
- octave and heimdal conflict around fnmatch.h (was Re: issues compiling octave-2.1.69 on FreeBSD 5.4), John W. Eaton, 2005/04/23
- Re: octave and heimdal conflict around fnmatch.h (was Re: issues compiling octave-2.1.69 on FreeBSD 5.4), Joan Picanyol i Puig, 2005/04/23
- Re: issues compiling octave-2.1.69 on FreeBSD 5.4, Sebastian Schulze Struchtrup, 2005/04/22
- Re: issues compiling octave-2.1.69 on FreeBSD 5.4, John W. Eaton, 2005/04/22
- Re: issues compiling octave-2.1.69 on FreeBSD 5.4, Sebastian Schulze Struchtrup, 2005/04/22
- Re: issues compiling octave-2.1.69 on FreeBSD 5.4, John W. Eaton, 2005/04/22
- Re: issues compiling octave-2.1.69 on FreeBSD 5.4, Dmitri A. Sergatskov, 2005/04/22
- Re: issues compiling octave-2.1.69 on FreeBSD 5.4, Joan Picanyol i Puig, 2005/04/23
- Re: issues compiling octave-2.1.69 on FreeBSD 5.4, John W. Eaton, 2005/04/23