[RegCNET] make postnc error

toure ndatchoh ndatchoheve at yahoo.fr
Tue Nov 23 12:21:57 CET 2010



 Dear all
I try  to compile postnc, but I met some difficults with make postnc
I use suse 11.1 , ifort compiler, and netcdf 4.0.1

this the report error

evelyne at linux-2n5a 11:10:04 RegCM-4.0 2 > make postnc          
make[1]: entrant dans le répertoire « /home/evelyne/scratch/RegCM-4.0/PostNc »
icpc -O2 -g -I. -I/opt/intel/ifort-10.0/include -D'SVN_REV="exporté"'  -c -o 
rcminp.o 
rcminp.cpp                                                                                 
 
/usr/include/c++/4.3/bits/char_traits.h(266): error: identifier 
"__builtin_memchr" is 
undefined                                                                                  
 
        { return static_cast<const char_type*>(__builtin_memchr(__s, __a, __n)); 
}       

                                               
^                                         


/usr/include/c++/4.3/bits/char_traits.h(270): error: identifier 
"__builtin_memmove" is 
undefined                                                                                 
 
        { return static_cast<char_type*>(__builtin_memmove(__s1, __s2, __n)); 
}          

                                         
^                                               


/usr/include/c++/4.3/bits/allocator.h(143): error: identifier "__is_empty" is 
undefined
    template<typename _Alloc, bool = 
__is_empty(_Alloc)>                               

                                     
^                                                 


/usr/include/c++/4.3/bits/allocator.h(143): error: function call is not allowed 
in a constant 
expression                                                                         
 
    template<typename _Alloc, bool = 
__is_empty(_Alloc)>                                 

                                     
^                                                   


/usr/include/c++/4.3/bits/allocator.h(143): error: type name is not allowed
    template<typename _Alloc, bool = __is_empty(_Alloc)>                   
                                                ^                          

/usr/include/c++/4.3/bits/allocator.h(160): error: identifier "__is_empty" is 
undefined
    template<typename _Alloc, bool = 
__is_empty(_Alloc)>                               

                                     
^                                                 


/usr/include/c++/4.3/bits/allocator.h(160): error: function call is not allowed 
in a constant 
expression                                                                         
 
    template<typename _Alloc, bool = 
__is_empty(_Alloc)>                                 

                                     
^                                                   


/usr/include/c++/4.3/bits/allocator.h(160): error: type name is not allowed
    template<typename _Alloc, bool = __is_empty(_Alloc)>                   
                                                ^                          

/usr/include/c++/4.3/bits/locale_facets.tcc(1284): error: class 
"std::ctype_byname<char>" is not an entity that can be 
instantiated                                               

    extern template class 
ctype_byname<char>;                                            

                    
^                                                                    


/usr/include/c++/4.3/bits/locale_facets.tcc(1319): error: class 
"std::ctype_byname<wchar_t>" is not an entity that can be 
instantiated                                            

    extern template class 
ctype_byname<wchar_t>;                                         

                    
^                                                                    


/usr/include/c++/4.3/bits/stl_tree.h(396): error: identifier "__is_pod" is 
undefined
               bool _Is_pod_comparator = 
__is_pod(_Key_compare)>                    

                                         
^                                          


/usr/include/c++/4.3/bits/stl_tree.h(396): error: function call is not allowed 
in a constant 
expression                                                                          
 
               bool _Is_pod_comparator = 
__is_pod(_Key_compare)>                         

                                         
^                                               


/usr/include/c++/4.3/bits/stl_tree.h(396): error: type name is not allowed
               bool _Is_pod_comparator = __is_pod(_Key_compare)>          
                                                  ^                       

/usr/include/c++/4.3/bits/stl_tree.h(396): error: identifier "__is_pod" is 
undefined
               bool _Is_pod_comparator = 
__is_pod(_Key_compare)>                    

                                         
^                                          

          detected 
during:                                                          

            instantiation of class "std::_Rb_tree<_Key, _Val, _KeyOfValue, 
_Compare, _Alloc> [with _Key=std::string, _Val=std::pair<const std::string, 
std::string>, _KeyOfValue=std::_Select1st<std::pair<const std::string, 
std::string>>, _Compare=std::less<std::string>, 
_Alloc=std::allocator<std::pair<const std::string, std::string>>]" at line 133 
of 
"/usr/include/c++/4.3/bits/stl_map.h"                                                       
 
            instantiation of class "std::map<_Key, _Tp, _Compare, _Alloc> [with 
_Key=std::string, _Tp=std::string, _Compare=std::less<std::string>, 
_Alloc=std::allocator<std::pair<const std::string, std::string>>]" at line 40 of 
"./rcminp.h"                          


/usr/include/c++/4.3/bits/stl_tree.h(396): error: function call is not allowed 
in a constant 
expression                                                                          
 
               bool _Is_pod_comparator = 
__is_pod(_Key_compare)>                         

                                         
^                                               

          detected 
during:                                                               

            instantiation of class "std::_Rb_tree<_Key, _Val, _KeyOfValue, 
_Compare, _Alloc> [with _Key=std::string, _Val=std::pair<const std::string, 
std::string>, _KeyOfValue=std::_Select1st<std::pair<const std::string, 
std::string>>, _Compare=std::less<std::string>, 
_Alloc=std::allocator<std::pair<const std::string, std::string>>]" at line 133 
of 
"/usr/include/c++/4.3/bits/stl_map.h"                                                       
 
            instantiation of class "std::map<_Key, _Tp, _Compare, _Alloc> [with 
_Key=std::string, _Tp=std::string, _Compare=std::less<std::string>, 
_Alloc=std::allocator<std::pair<const std::string, std::string>>]" at line 40 of 
"./rcminp.h"

/usr/include/c++/4.3/bits/stl_tree.h(396): error: type name is not allowed
               bool _Is_pod_comparator = __is_pod(_Key_compare)>
                                                  ^
          detected during:
            instantiation of class "std::_Rb_tree<_Key, _Val, _KeyOfValue, 
_Compare, _Alloc> [with _Key=std::string, _Val=std::pair<const std::string, 
std::string>, _KeyOfValue=std::_Select1st<std::pair<const std::string, 
std::string>>, _Compare=std::less<std::string>, 
_Alloc=std::allocator<std::pair<const std::string, std::string>>]" at line 133 
of "/usr/include/c++/4.3/bits/stl_map.h"
            instantiation of class "std::map<_Key, _Tp, _Compare, _Alloc> [with 
_Key=std::string, _Tp=std::string, _Compare=std::less<std::string>, 
_Alloc=std::allocator<std::pair<const std::string, std::string>>]" at line 40 of 
"./rcminp.h"

compilation aborted for rcminp.cpp (code 2)
make[1]: *** [rcminp.o] Erreur 2
make[1]: quittant le répertoire « /home/evelyne/scratch/RegCM-4.0/PostNc »
make: *** [postnc] Erreur 2

Thanks for your help

N'Datchoh Evelyne Touré
PHD student in LAPA (LAboratoire de Physique de l'Atmosphère)
University of Cocody Abidjan Côte d'Ivoire


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20101123/d241d346/attachment.html>


More information about the RegCNET mailing list