Version française
Home     About     Download     Resources     Contact us    
Browse thread
incompatible /usr/X11R6/lib/libX11.so when searching for -lX11 (on a opteron/redhat box)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Hugues Leroy <Hugues.Leroy@i...>
Subject: incompatible /usr/X11R6/lib/libX11.so when searching for -lX11 (on a opteron/redhat box)
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