Disabling X11 should work. [with the switch --with-x=0] Send us the corresponding configure.log & make.log at petsc-maint at mcs.anl.gov - so that we chan check what went wrong.
BTW: You should consider upgrading to latest PETSc release - 3.0.0 Satish On Thu, 5 Feb 2009, Lukasz Kaczmarczyk wrote: > Hello > I deactivated graphics by using switches --with-x=0 --with-x11=0. However, > when I compile may program I get following errors. > > /golem/civil/likask/YaFEMS/petsc-2.3.3-p13/lib/linux-gnu-c-debug/libpetsc.a(xops.o): > In function `PetscDrawLine_X': > /golem/civil/likask/YaFEMS/petsc-2.3.3-p13/src/sys/draw/impls/x/xops.c:29: > undefined reference to `XSetForeground' > /golem/civil/likask/YaFEMS/petsc-2.3.3-p13/src/sys/draw/impls/x/xops.c:32: > undefined reference to `XDrawLine' > > > cut here > > What I have to do to make it working? > > Thank You for help, > Lukasz
