<div dir="ltr">On Sun, Oct 6, 2013 at 3:03 AM, Sonya Blade <span dir="ltr"><<a href="mailto:sonyablade2010@hotmail.com" target="_blank">sonyablade2010@hotmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you all,<br>
<br>
I gave up using the cygwin64, in any case compiling with classic cygwin_win32 must work in <br>
all platforms and is much more convenient for me. <br>
<br>
After succesfully installing petsc and slepc (ver 3.4.2 ) I get the following errors. I'm using <br>
Code Blocks as IDE editor and I set and configured all the required search directories, external libraries<br>
e.g. lipetsc.a, libslepc.a etc.. in C::B But again compiler raises the following errors. <br>
<br>
I don't think that its related with Petsc or Slepc installation, it seems that those intrinsically <br>
or inherently belong to the compiler misconfiguration, but mine is just a guess.<br>
<br>
I also would like to note that I'm using GNU GCC Compiler in C:B for compilation, or should I use CYGWin GCC?<br></blockquote><div><br></div><div>1) You must use the same compiler that you configured with.</div><div>
<br></div><div>2) You can get all the libraries you need to specify using</div><div><br></div><div> make get linklibs</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Your advice will be appreciated,<br>
<br>
<br>
.\..\..\slepc-3.4.2\arch-mswin-c-debug\lib\libslepc.a(slepcinit.c.o): In function `SlepcInitialize':<br>
/cygdrive/d/TEST_FOLDER_asus/slepc-3.4.2/src/sys/slepcinit.c:200: undefined reference to `srand48'<br>
..\..\..\..\petsc-3.4.2\arch-mswin-c-debug\lib\libpetsc.a(pinit.c.o): In function `PetscInitialize':<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/objects/pinit.c:659: undefined reference to `__getreent'<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/objects/pinit.c:660: undefined reference to `__getreent'<br>
..\..\..\..\petsc-3.4.2\arch-mswin-c-debug\lib\libpetsc.a(pinit.c.o): In function `PetscFinalize':<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/objects/pinit.c:1028: undefined reference to `__getreent'<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/objects/pinit.c:1098: undefined reference to `__getreent'<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/objects/pinit.c:1162: undefined reference to `__getreent'<br>
..\..\..\..\petsc-3.4.2\arch-mswin-c-debug\lib\libpetsc.a(pinit.c.o):/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/objects/pinit.c:1189: more undefined references to `__getreent' follow<br>
..\..\..\..\petsc-3.4.2\arch-mswin-c-debug\lib\libpetsc.a(mprint.c.o): In function `PetscSynchronizedFGets':<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/fileio/mprint.c:663: undefined reference to `__errno'<br>
..\..\..\..\petsc-3.4.2\arch-mswin-c-debug\lib\libpetsc.a(checkptr.c.o): In function `PetscCheckPointer':<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/error/checkptr.c:29: undefined reference to `sigemptyset'<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/error/checkptr.c:32: undefined reference to `sigaction'<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/error/checkptr.c:34: undefined reference to `setjmp'<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/error/checkptr.c:36: undefined reference to `sigaction'<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/error/checkptr.c:74: undefined reference to `sigaction'<br>
..\..\..\..\petsc-3.4.2\arch-mswin-c-debug\lib\libpetsc.a(mal.c.o): In function `PetscMallocAlign':<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/memory/mal.c:27: undefined reference to `memalign'<br>
..\..\..\..\petsc-3.4.2\arch-mswin-c-debug\lib\libpetsc.a(options.c.o): In function `PetscOptionsValidKey':<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/objects/options.c:242: undefined reference to `_imp____ctype_ptr__'<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/objects/options.c:243: undefined reference to `_imp____ctype_ptr__'<br>
..\..\..\..\petsc-3.4.2\arch-mswin-c-debug\lib\libpetsc.a(options.c.o): In function `PetscOptionsInsert':<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/objects/options.c:598: undefined reference to `__getreent'<br>
..\..\..\..\petsc-3.4.2\arch-mswin-c-debug\lib\libpetsc.a(filev.c.o): In function `PetscViewerFileClose_ASCII':<br>
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/classes/viewer/impls/ascii/filev.c:17: undefined reference to `__getreent' </blockquote></div><br><br clear="all"><div><br></div>
-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener
</div></div>