That looks right, yes.
Cheers.
On 22 Mar 2007, at 12:14, Christopher Cieply wrote:
> In the source code I have
>
> #if defined ( __CYGWIN__ )
> extern "C" {
> #include <ieeefp.h>
> }
> #endif
>
> Would editing this to the below fix my problem or is there another
> route to
> take?
>
> Thanks again
> Christopher
>
>
>
> Hi,
> Thanks for the output - it looks like you may be using an older
> version of fsl - do you have the following lines in the avwmaths++.cc
> source code?
>
> #if defined ( __CYGWIN__ ) || defined (__sun)
> extern "C" {
> #include <ieeefp.h>
> }
>
> regards
> Matt
>
>> Hello,
>>
>> Thank you for the reply. This is the error section from the
>> build.log file
>>
>> Making project src/avwutils
>>
>> c++ -Wall -ansi -pedantic -O3 -fexpensive-optimizations
>> -I/home/local/fsl/extras/include/newmat
>> -I/home/local/fsl/extras/include/zlib -I. -I/home/local/fsl/include
>> -I/home/local/fsl/include -c -o avwmaths++.o avwmaths++.cc
>> /usr/local/include/g++-v3/bits/stl_threads.h: In instantiation of
>> `__gthread_mutex_t std::_Swap_lock_struct<0>::_S_swap_lock':
>> /usr/local/include/g++-v3/bits/stl_threads.h:122: instantiated
>> from here
>> /usr/local/include/g++-v3/bits/stl_threads.h:115: warning:
>> aggregate has a
>> partly bracketed initializer
>> avwmaths++.cc: In function `int fmrib_main(int, char**, short int)
>> [with T =
>> char]':
>> avwmaths++.cc:459: instantiated from here
>> avwmaths++.cc:359: `finite' undeclared (first use this function)
>> avwmaths++.cc:359: (Each undeclared identifier is reported only
>> once for each
>> function it appears in.)
>> make: *** [avwmaths++.o] Error 1
>> make: Target `all' not remade because of errors.
>>
>> =========================
>> ERROR::Could not make avwutils successfully
>>
>>
>>
>> Thanks again,
>>
>> Christopher
>>
>>
>>> Hi,
>>> Are there any more detailed errors in the build.log file -
>>> e.g.
>>> a specific compiler error when building avwutils?
>>>
>>> Matt
>>> On 21 Mar 2007, at 13:04, Christopher Cieply wrote:
>>>
>>>> When I compiled FSL, everything worked fine except for the
>>>> avwutils.
>>>>
>>>> !!ERROR in BUILD!!
>>>> Could not make the following projects successfully:
>>>> avwutils
>>>>
>>>> I am working on a Solaris 9 machine. Any help with this issue is
>>>> appreciated.
>>>>
>>>> Christopher
>>>
>
> Download this as a file
------------------------------------------------------------------------
---
Stephen M. Smith, Professor of Biomedical Engineering
Associate Director, Oxford University FMRIB Centre
FMRIB, JR Hospital, Headington, Oxford OX3 9DU, UK
+44 (0) 1865 222726 (fax 222717)
[log in to unmask] http://www.fmrib.ox.ac.uk/~steve
------------------------------------------------------------------------
---
|