Mailinglist Archive: opensuse (2831 mails)

< Previous Next >
[SLE] wikimedia: math requires ocaml. (compile problem on AMD 64)
  • From: CS - Ronald Wiplinger <ronald@xxxxxxxxxxxxxx>
  • Date: Tue, 04 Jul 2006 10:19:58 +0800
  • Message-id: <44A9D04E.7010404@xxxxxxxxxxxxxx>
I need math funtion for wiki, which requires to install ocaml.

I could not compile ocaml on a AMD 64. I got the following errors:

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/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/ when searching for -lX11
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [libgraphics.a] Error 2
make[1]: Leaving directory `/home/test/ocaml-3.09.2/otherlibs/graph'
make: *** [otherlibraries] Error 2

How can I overcome this?



Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at
Please read the FAQs: suse-linux-e-faq@xxxxxxxx

< Previous Next >