Ok, I forgot some part of the error message. Here the "complete" one:

src/numerics/petsc_matrix.C: In member function 'void libMesh::PetscMatrix<T>::p
rint_personal(std::ostream&) const':
src/numerics/petsc_matrix.C:388: error: there are no arguments to 'mkstemp' that
 depend on a template parameter, so a declaration of 'mkstemp' must be available

src/numerics/petsc_matrix.C:388: error: (if you use '-fpermissive', G++ will acc
ept your code, but allowing the use of an undeclared name is deprecated)
src/numerics/petsc_matrix.C: In member function 'void libMesh::PetscMatrix<T>::p
rint_personal(std::ostream&) const [with T = double]':
src/numerics/petsc_matrix.C:599:   instantiated from here
src/numerics/petsc_matrix.C:388: error: 'mkstemp' was not declared in this scope

make: *** [src/numerics/petsc_matrix.i686-pc-cygwin.opt.o] Error 1


-----Ursprüngliche Nachricht-----
Von: "John Peterson" <[email protected]>
Gesendet: 30.03.2011 18:01:30
An: [email protected]
Betreff: Re: [Libmesh-devel] libmesh, configure make error, cygwin

>On Wed, Mar 30, 2011 at 9:44 AM, <[email protected]> wrote:
>> That worked, but next one appeared:
>>
>> src/numerics/petsc_matrix.C:388: error: there are no arguments to 'mkstemp' 
>> that
>>  depend on a template parameter, so a declaration of 'mkstemp' must be 
>> available
>>
>> src/numerics/petsc_matrix.C:388: error: (if you use '-fpermissive', G++ will 
>> acc
>> ept your code, but allowing the use of an undeclared name is deprecated)
>> src/numerics/petsc_matrix.C: In member function 'void 
>> libMesh::PetscMatrix<T>::p
>> rint_personal(std::ostream&) const [with T = double]':
>> src/numerics/petsc_matrix.C:599:   instantiated from here
>> src/numerics/petsc_matrix.C:388: error: 'mkstemp' was not declared in this 
>> scope
>
>
>Hmm... this one might be more trouble, since it looks like we are
>#including the right header, <unistd.h> this time.
>
>Could you maybe try #include <sys/unistd.h> instead?
>
>--
>John
>
>------------------------------------------------------------------------------
>Create and publish websites with WebMatrix
>Use the most popular FREE web apps or write code yourself;
>WebMatrix provides all the features you need to develop and
>publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>_______________________________________________
>Libmesh-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/libmesh-devel
___________________________________________________________
WEB.DE DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt mit 
gratis Handy-Flat! http://produkte.web.de/go/DSL_Doppel_Flatrate/2

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to