I believe there is a problem in vnl_math.h that is preventing it from compiling on my platform.
Beginning at line 54 is the following:
// Turn on fast impl when using GCC on Intel-based machines with the following exception:
// PPC with Mac OS X
#if defined(__GNUC__) && (!defined(__APPLE__) || !defined(__ppc__) )
# define GCC_USE_FAST_IMPL 1
# define GCC_USE_FAST_IMPL 0
This presumes that if you are using a GNU compiler and you are not on a Mac or a ppc, you must be on an Intel platform.
In my case I'm using the GNU compiler, but not on an Intel processor so the compiler dies because GCC_USE_FAST_IMPL causes Intel assembler code to be inserted.
There's a simple work-around for my case (force GCC_USE_FAST_IMPL to always be 0), but what is the best way to fix this?
I would think it would be something like
#if defined(__GNUC__) && (defined(__INTEL__) …
But I don't know if an __INTEL__ define exists.
Glen W. Brooksby
GE Global Research
T + 518 387 6977
F + 518 387 4136
1 Research Circle, KWC-408D
Niskayuna, NY 12309 USA
GE imagination at work