Hi Lianqing,

The first several errors are related to the defintion of vcl_size_t and vcl_ptrdiff_t types.  When using GCC, these types are defined in <cstddef>.  On my Linux box, the file is located at /usr/include/c++/4.4.5/cstddef. Could you find out where this file is located in your Irix box and whether the two types are defined in it?

The error reporting syntax does not look like GCC.  If you can find out what compiler is used, it may help us who do not have access to Irix machines to try to figure out solutions.

PS. I have not played with Irix and has no CTest script for Irix. 

Best regards,
Gehua

2010/12/30 YuLianqing <yulq@live.cn>

Peter and Gehua,

Since there are numerous build errors in the Irix build. I wonder if you could kindly come to help.
In fact, the submission is a build of VXL-1.14.0 release as I still had trouble in building svn on the box. I also disabled the build of contribution code (BUILD_CONTRIB:BOOL=OFF) since the majority of core code remains unchanged since the last Irix build years ago. I found most of build errors result from incorrect setting of compiler options (I added "-c99" to CMAKE_C_FLAGS to remove some errors). Do you still have a copy of CTest script written for Irix build (vxl_dashboard.cmake) so that I can check the compiler options. Thanks.

Lianqing Yu

----------------------------------------
> Date: Mon, 20 Dec 2010 17:33:16 +0000
> From: peter_vanroose@yahoo.co.uk
> Subject: Re: Troubleshooting the new Irix build
> To: yulq@live.cn
> CC: vxl-maintainers@lists.sourceforge.net
>
> Nice to have SGI back on the dashboard!
> (I've been running an SGI dashboard build a *very* long time ago...)
>
> Looks like a valid fix to me.
> I've just committed this to SVN (revision 30527). Let's watch the dashboard tomorrow...
>
> -- Peter.
>
> --- YuLianqing wrote:
> >
> > Starting from today, I will submit new builds on SGI Irix
> > platform (OS version 6.5, MIPSpro 7.4.2). As expected, there
> > are numerous build errors (please check the build name
> > Irix-6.5_MIPSpro-7.4.2 on vxl dashboard).
> > I managed to tackle the first error (compiler output listed
> > below) today and found that the issue results from the
> > absence of definition of vcl_atomic_count.
> > In detail, in $VXL_SOURCE_ROOT/vcl/vcl_atomic_count.h, no
> > head file in which vcl_atomic_count is defined is included
> > on SGI. I guess MIPSpro supports pthread implementation as
> > pthread.h exists in /usr/include. If the following line is
> > added to vcl_atomic_count.h, then this build error can be
> > eliminated:
> > #elif defined(sgi)
> > #include "internal/vcl_atomic_count_pthreads.h"
> >
> > However, I am not sure if this solution is OK. I would like
> > to know your opinions and welcome better advice on this
> > issue. Thanks.
> >
> > Lianqing Yu
> > 2010-12-21
> >
> >
> > Compiler output:
> > cc-1020 CC: ERROR File =
> > /.../vxl-1.14.0/vcl/tests/test_atomic_count.cxx, Line = 10
> > The identifier "vcl_atomic_count" is undefined.
> > vcl_atomic_count c(0);
> > cc-1020 CC: ERROR File =
> > /.../vxl-1.14.0/vcl/tests/test_atomic_count.cxx, Line = 44
> > The identifier "vcl_atomic_count" is undefined.
> > vcl_atomic_count d(1);
> > ^
> > 2 errors detected in the compilation of
> > "/.../vxl-1.14.0/vcl/tests/test_atomic_count.cxx".
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>