------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
Dear libmesh team and community,

My mails to user-mailing list are totally ignored. I do no know why. Therefore, 
I try it with devel and hope nobody gets upset. Sorry for the previous email. 
Can be deleted by an admin.

 I want to use libmesh together with Petsc. I followed your installation 
procedure in the wiki. Configure of libmesh apparently worked  fine and Petsc 
and other packages are recognized properly. When I try to  make (libmesh), I 
get the following warnings and error messages with "getpot.h"

 $ make
 Compiling C++ (in optimized mode) src/base/libmesh.C...
 src/base/libmesh.C:1: warning: -fPIC ignored for target (all code is position 
in
 dependent)
 In file included from src/base/libmesh.C:29:
 /home/bucher/soft/libmesh-0.7.0.4/include/base/getpot.h: In static member 
functi
 on 'static std::string GetPot::_double2string(const double&)':
 /home/bucher/soft/libmesh-0.7.0.4/include/base/getpot.h:394: error: 'snprintf' 
w
 as not declared in this scope
 /home/bucher/soft/libmesh-0.7.0.4/include/base/getpot.h: In static member 
functi
 on 'static std::string GetPot::_int2string(const int&)':
 /home/bucher/soft/libmesh-0.7.0.4/include/base/getpot.h:403: error: 'snprintf' 
w
 as not declared in this scope
 /home/bucher/soft/libmesh-0.7.0.4/include/base/getpot.h: In member function 
'con
 st GetPot::variable* GetPot::_DBE_get_variable(std::string)':
 /home/bucher/soft/libmesh-0.7.0.4/include/base/getpot.h:1928: error: 'snprintf'
 was not declared in this scope
 /home/bucher/soft/libmesh-0.7.0.4/include/base/getpot.h: In member function 
'voi
 d GetPot::variable::take(const char*, const char*)':
 /home/bucher/soft/libmesh-0.7.0.4/include/base/getpot.h:2563: error: 'strtok_r'
 was not declared in this scope
 make: *** [src/base/libmesh.i686-pc-cygwin.opt.o] Error 1


Now I looked into the config.log and I discovered a lots of errors as in the 
following:



In file included from 
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/unordered_map:40,
                 from conftest.cpp:39:
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/c++0x_warning.h:36:2: error: 
#error This file requires compiler and library support for the upcoming ISO C++ 
standard, C++0x. This support is currently experimental, and must be enabled 
with the -std=c++0x or -std=gnu++0x compiler options.
In file included from 
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/unordered_map:48,
                 from conftest.cpp:39:
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/type_traits:82: error: template 
argument 1 is invalid
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/type_traits:106: error: template 
argument 1 is invalid
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/type_traits:136: error: expected 
unqualified-id before '&&' token
In file included from 
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/bits/hashtable.h:55,
                 from 
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/unordered_map:54,
                 from conftest.cpp:39:
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/hashtable:223: error: 
expected ',' or '...' before '&&' token
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/hashtable:223: error: 
invalid constructor; you probably meant 'std::_Hashtable<_Key, _Value, 
_Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, 
__cache_hash_code, __constant_iterators, __unique_keys> (const 
std::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, _Hash, 
_RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>&)'
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/hashtable:232: error: 
expected ',' or '...' before '&&' token
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/hashtable:660: error: 
expected ',' or '...' before '&&' token
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/hashtable:660: error: 
prototype for 'std::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, 
_H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, 
__unique_keys>::_Hashtable(std::_Hashtable<_Key, _Value, _Allocator, 
_ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, 
__constant_iterators, __unique_keys>)' does not match any in class 
'std::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, _H1, _H2, 
_Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, __unique_keys>'
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/hashtable:619: error: 
candidates are: std::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, 
_H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, 
__unique_keys>::_Hashtable(const std::_Hashtable<_Key, _Value, _Allocator, 
_ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, 
__constant_iterators, __unique_keys>&)
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/hashtable:218: error:    
             template<class _Key, class _Value, class _Allocator, class 
_ExtractKey, class _Equal, class _H1, class _H2, class _Hash, class 
_RehashPolicy, bool __cache_hash_code, bool __constant_iterators, bool 
__unique_keys> template<class _InputIterator> 
std::_Hashtable::_Hashtable(_InputIterator, _InputIterator, typename 
_Allocator::size_type, const _H1&, const _H2&, const _Hash&, const _Equal&, 
const _ExtractKey&, const _Allocator&)
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/hashtable:557: error:    
             std::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, 
_H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, 
__unique_keys>::_Hashtable(typename _Allocator::size_type, const _H1&, const 
_H2&, const _Hash&, const _Equal&, const _ExtractKey&, const _Allocator&)
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/hashtable:714: error: 
expected ',' or '...' before '&&' token
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/hashtable: In member 
function 'void std::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, _Equal, 
_H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, __constant_iterators, 
__unique_keys>::swap(std::_Hashtable<_Key, _Value, _Allocator, _ExtractKey, 
_Equal, _H1, _H2, _Hash, _RehashPolicy, __cache_hash_code, 
__constant_iterators, __unique_keys>)':
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/hashtable:723: error: 
'__x' was not declared in this scope
In file included from 
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/unordered_map:69,
                 from conftest.cpp:39:
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map: At global 
scope:
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:90: error: 
expected ',' or '...' before '&&' token
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:90: error: 
invalid constructor; you probably meant 'std::__unordered_map<_Key, _Tp, _Hash, 
_Pred, _Alloc, __cache_hash_code> (const std::__unordered_map<_Key, _Tp, _Hash, 
_Pred, _Alloc, __cache_hash_code>&)'
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:147: 
error: expected ',' or '...' before '&&' token
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:147: 
error: invalid constructor; you probably meant 'std::__unordered_multimap<_Key, 
_Tp, _Hash, _Pred, _Alloc, __cache_hash_code> (const 
std::__unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc, __cache_hash_code>&)'
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:205: 
error: expected ',' or '...' before '&&' token
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:205: 
error: invalid constructor; you probably meant 'std::unordered_map<_Key, _Tp, 
_Hash, _Pred, _Alloc> (const std::unordered_map<_Key, _Tp, _Hash, _Pred, 
_Alloc>&)'
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:209: 
error: expected ',' or '...' before '&&' token
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map: In member 
function 'std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& 
std::unordered_map<_Key, _Tp, _Hash, _Pred, 
_Alloc>::operator=(std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>)':
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:213: 
error: '__x' was not declared in this scope
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map: At global 
scope:
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:254: 
error: expected ',' or '...' before '&&' token
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:254: 
error: invalid constructor; you probably meant 'std::unordered_multimap<_Key, 
_Tp, _Hash, _Pred, _Alloc> (const std::unordered_multimap<_Key, _Tp, _Hash, 
_Pred, _Alloc>&)'
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:258: 
error: expected ',' or '...' before '&&' token
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map: In member 
function 'std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& 
std::unordered_multimap<_Key, _Tp, _Hash, _Pred, 
_Alloc>::operator=(std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>)':
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:262: 
error: '__x' was not declared in this scope
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map: At global 
scope:
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:283: 
error: expected ',' or '...' before '&&' token
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map: In 
function 'void std::swap(std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>)':
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:285: 
error: '__x' was not declared in this scope
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:285: 
error: '__y' was not declared in this scope
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map: At global 
scope:
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:290: 
error: expected ',' or '...' before '&&' token
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map: In 
function 'void std::swap(std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&, 
std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>)':
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:291: 
error: '__y' was not declared in this scope
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map: At global 
scope:
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:295: 
error: expected ',' or '...' before '&&' token
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map: In 
function 'void std::swap(std::unordered_multimap<_Key, _Tp, _Hash, _Pred, 
_Alloc>)':
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:297: 
error: '__x' was not declared in this scope
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:297: 
error: '__y' was not declared in this scope
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map: At global 
scope:
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:302: 
error: expected ',' or '...' before '&&' token
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map: In 
function 'void std::swap(std::unordered_multimap<_Key, _Tp, _Hash, _Pred, 
_Alloc>&, std::unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>)':
/usr/lib/gcc/i686-pc-cygwin/4.3.4/include/c++/tr1_impl/unordered_map:303: 
error: '__y' was not declared in this scope


 Additional info:
 I use a WIN7-64Bit-system and Petsc and libmesh are supposed to run on  
cygwin. Cygwin was installed completely with all packages available.
 Petsc was not configuring properly at first (python-problem), had to rebase 
cygwin. After that, no problems with Petsc.
(Besides that, I also receive errors during the make of vtk with conio.h)
This errors are reproducible on my home PC. On a real linux system I tried that 
also, it works. However, I have to get it runninng on my cygwin.

 Could you please help me?

 Best regards.
Joe





___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to