From: YuLianqing <yu...@li...> - 2010-12-20 16:42:46
|
Hi all, 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". |
From: Peter V. <pet...@ya...> - 2010-12-20 17:33:25
|
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 <yu...@li...> 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". |
From: Gehua Y. <yan...@gm...> - 2010-12-20 20:13:02
|
Hi Lianqing, I think your solution is good enough for now. A better solution is to detect pthread automatically with CMake try_compile function and record the result in, say, vcl_config_headers.h Gehua On Mon, Dec 20, 2010 at 11:30 AM, YuLianqing <yu...@li...> wrote: > > > Hi all, > > 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". > > > > > > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ > Vxl-maintainers mailing list > Vxl...@li... > https://lists.sourceforge.net/lists/listinfo/vxl-maintainers > |
From: YuLianqing <yu...@li...> - 2010-12-30 15:22:25
|
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: pet...@ya... > Subject: Re: Troubleshooting the new Irix build > To: yu...@li... > CC: vxl...@li... > > 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". > > > > > > > > > > > > > > > > > |
From: Gehua Y. <yan...@gm...> - 2010-12-30 16:25:52
|
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 <yu...@li...> > > 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: pet...@ya... > > Subject: Re: Troubleshooting the new Irix build > > To: yu...@li... > > CC: vxl...@li... > > > > 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". > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > |
From: Peter V. <pet...@ya...> - 2011-01-09 17:32:24
|
Dear Yu, vxl has been built with the irix CC compiler before, but never under CMake. Have a look at http://vxl.svn.sourceforge.net/viewvc/vxl/branches/vxl-build-makefiles/config/dev-irix.mk for the makefile that was used about 7 years ago to compile vxl with CC. I have no access anymore to an SGI, so I cannot try out CMake. -- Peter. Yu Lianqing wrote: > 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. |