Run 'make getlinklibs' from PETSC_DIR and add everything exactly as shown to your IDE. On Apr 1, 2013 6:30 AM, "Sonya Blade" <sonyablade2010 at hotmail.com> wrote:
> The best that I achieved so far was those function, It seems that they are > related to the > visual representation of the matrices. I deliberately added the libblas.a, > liblapack.a, > libopa.a, libmpich.a etc... libpmpich.a to the linker search path and with > every add of those > libraries some of the errors vanished. > > > In the ARCH/lib folder I couldn't find any library name which will account > for those functions calls. > It seems that the remaining errors are not related to the Petsc and SLepc > installation .. > > > Any guidance will be appreciated. > > > undefined reference to `_XSetForeground' > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:219: > undefined reference to `_XDrawString' > C:/Users/...../Downloads/petsc-3.3-p6/arch-mswin-c-debug/lib/libpetsc.a(xops.c.o): > In function `PetscDrawFlush_X': > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:232: > undefined reference to `_XCopyArea' > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:234: > undefined reference to `_XFlush' > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:234: > undefined reference to `_XSync' > > C:/Users/...../Downloads/petsc-3.3-p6/arch-mswin-c-debug/lib/libpetsc.a(xops.c.o): > In function PetscDrawSynchronizedFlush_X': > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:247: > undefined reference to `_XFlush' > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:251: > undefined reference to `_XSync' > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:254: > undefined reference to `_XCopyArea' > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:255: > undefined reference to `_XFlush' > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:257: > undefined reference to `_XSync' > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/draw/impls/x/xops.c:261: > undefined reference to `_XSync' > > > Regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130401/bd2ac50e/attachment.html>
