<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2006/02/8f3c94deba723122c8e8a54777c4b2c3"
  from="Hugues Leroy &lt;Hugues.Leroy@i...&gt;"
  author="Hugues Leroy"
  date="2006-02-23T17:02:59"
  subject="incompatible /usr/X11R6/lib/libX11.so when searching for -lX11 (on a opteron/redhat box)"
  prev="2006/02/25d9a1f031962f5f00379f4c2414f740"
  next="2006/02/f908dcb156bd0fb005460b3a0e333f44"
  prev-thread="2006/02/4cf867138bd82ccc6c7d261b650d80ef"
  next-thread="2006/02/f908dcb156bd0fb005460b3a0e333f44"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="incompatible /usr/X11R6/lib/libX11.so when searching for -lX11 (on a opteron/redhat box)">
<msg 
  url="2006/02/8f3c94deba723122c8e8a54777c4b2c3"
  from="Hugues Leroy &lt;Hugues.Leroy@i...&gt;"
  author="Hugues Leroy"
  date="2006-02-23T17:02:59"
  subject="incompatible /usr/X11R6/lib/libX11.so when searching for -lX11 (on a opteron/redhat box)">
</msg>
</thread>

<contents>
Hi
i have this  (OS =Red Hat Enterprise Linux AS release 4 Update 2, 
compiler = gcc (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2)
config: ./configure -prefix /local/ocaml/3.09.1)


make[1]: Entering directory 
`/automount/gfs/symbiose/hleroy/ocaml-3.09.1/otherlibs/graph'
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
  -fPIC   -c -o open.o open.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
  -fPIC   -c -o draw.o draw.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
  -fPIC   -c -o fill.o fill.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
  -fPIC   -c -o color.o color.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
  -fPIC   -c -o text.o text.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
  -fPIC   -c -o image.o image.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
  -fPIC   -c -o make_img.o make_img.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
  -fPIC   -c -o dump_img.o dump_img.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
  -fPIC   -c -o point_col.o point_col.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
  -fPIC   -c -o sound.o sound.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
  -fPIC   -c -o events.o events.c
gcc -I../../byterun -I/usr/X11R6/include -O -fno-defer-pop -Wall 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT
  -fPIC   -c -o subwindow.o subwindow.c
../../boot/ocamlrun ../../tools/ocamlmklib -o graphics open.o draw.o 
fill.o color.o text.o image.o make_img.o dump_img.o point_col.o sound.o 
events.o subwindow.o -L/usr/X11R6/lib -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when 
searching for -lX11
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when 
searching for -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [libgraphics.a] Error 2
make[1]: Leaving directory 
`/automount/gfs/symbiose/hleroy/ocaml-3.09.1/otherlibs/graph'
make: *** [otherlibraries] Error 2

-- 
Hugues Leroy // Inria Rennes
Projet Symbiose et Plate-forme bio-informatique d'OUEST-genopole
http://www.genouest.org
+ Service ASCII (Applications SCIentifiques et transfert Industriel)
tel : +33 2 99 84 74 17  / fax : +33 2 99 84 71 71

</contents>

</message>

