<p dir="ltr">Run 'make getlinklibs' from PETSC_DIR and add everything exactly as shown to your IDE.</p>
<div class="gmail_quote">On Apr 1, 2013 6:30 AM, "Sonya Blade" <<a href="mailto:sonyablade2010@hotmail.com">sonyablade2010@hotmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The best that I achieved so far was those function, It seems that they are related to the <br>
visual representation of the matrices. I deliberately added the libblas.a, liblapack.a, <br>
libopa.a, libmpich.a etc... libpmpich.a to the linker search path and with every add of those <br>
libraries some of the errors vanished. <br>
<br>
<br>
In the ARCH/lib folder I couldn't find any library name which will account for those functions calls.<br>
It seems that the remaining errors are not related to the Petsc and SLepc installation ..<br>
<br>
<br>
Any guidance will be appreciated.<br>
 <br>
<br>
undefined reference to `_XSetForeground'<br>
/cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:219: undefined reference to `_XDrawString'<br>
C:/Users/...../Downloads/petsc-3.3-p6/arch-mswin-c-debug/lib/libpetsc.a(xops.c.o): In function `PetscDrawFlush_X':<br>
/cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:232: undefined reference to `_XCopyArea'<br>
/cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:234: undefined reference to `_XFlush'<br>
/cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:234: undefined reference to `_XSync'<br>
 <br>
C:/Users/...../Downloads/petsc-3.3-p6/arch-mswin-c-debug/lib/libpetsc.a(xops.c.o): In function PetscDrawSynchronizedFlush_X':<br>
/cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:247: undefined reference to `_XFlush'<br>
/cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:251: undefined reference to `_XSync'<br>
/cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:254: undefined reference to `_XCopyArea'<br>
/cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:255: undefined reference to `_XFlush'<br>
/cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:257: undefined reference to `_XSync'<br>
/cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:261: undefined reference to `_XSync'<br>
 <br>
<br>
Regards,                                          </blockquote></div>