Dear All,

I'm supposed to obtain the X11 library in the cygwin setup and all the 
related binaries under the X11 folder during the configuration from
cygwin download terminal. BUt I never get X11.dll or X11.a files after 
download and installation. 

Actually this X11 dependecy arises when I try to compile the Petsc library 
I don't know where Petsc uses X11 libraries but requires it during 
compilation. If it'S not provided then the following errors are are reported

Your help will be appreciated,

undefined reference to `XSetForeground'
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/classes/draw/impls/x/xops.c:94:
 undefined reference to `XDrawPoint'
..\..\..\..\petsc-3.4.2\arch-mswin-c-debug\lib\libpetsc.a(xops.c.o): In 
function `PetscDrawPointPixel_X':
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/classes/draw/impls/x/xops.c:107:
 undefined reference to `XSetForeground'
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/classes/draw/impls/x/xops.c:108:
 undefined reference to `XDrawPoint'
..\..\..\..\petsc-3.4.2\arch-mswin-c-debug\lib\libpetsc.a(xops.c.o): In 
function `PetscDrawRectangle_X':
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/classes/draw/impls/x/xops.c:120:
 undefined reference to `XSetForeground'
/cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/classes/draw/impls/x/xops.c:125:
 undefined reference to `XFillRectangle'                                        
 

Reply via email to