From: "Mikhalev, Alex" <a.mikhalev@cranfield.ac.uk>
To: <caml-list@yquem.inria.fr>
Subject: ocamlgsl-0.6.0. fails to compile on ubuntu
Date: Mon, 12 Nov 2007 12:06:43 -0000 [thread overview]
Message-ID: <1194869203.9372.12.camel@mikhaa> (raw)
[-- Attachment #1: Type: text/plain, Size: 4295 bytes --]
Dear All,
Any help will be appreciated as well as suggestion to any docs or
tutorial (I have seen README and website). All error messages and system
configuration below.
Regards,
Alex
>tar zxvf ocamlgsl-0.6.0.tar.gz
>cd ocamlgsl-0.6.0/
>make
/ocamlgsl-0.6.0$ make
/bin/sh: gawk: not found
/bin/sh: gawk: not found
/bin/sh: gawk: not found
Makefile:100: mingw.mak: No such file or directory
/bin/sh: gawk: not found
make: *** No rule to make target `mingw.mak'. Stop.
>sudo aptitude install gawk
Setting up gawk (3.1.5.dfsg-4build1) ...
>make
....
ocamlc -ccopt ' -DHAVE_INLINE -DHAVE_FENV -g -O2 ' -c mlgsl_eigen.c
mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymm_alloc’:
mlgsl_eigen.c:152: error: ‘gsl_eigen_nonsymm_workspace’ undeclared
(first use in this function)
mlgsl_eigen.c:152: error: (Each undeclared identifier is reported only
once
mlgsl_eigen.c:152: error: for each function it appears in.)
mlgsl_eigen.c:152: error: ‘ws’ undeclared (first use in this function)
mlgsl_eigen.c:152: warning: implicit declaration of function
‘gsl_eigen_nonsymm_alloc’
mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymm_free’:
mlgsl_eigen.c:159: warning: implicit declaration of function
‘gsl_eigen_nonsymm_free’
mlgsl_eigen.c:159: error: ‘gsl_eigen_nonsymm_workspace’ undeclared
(first use in this function)
mlgsl_eigen.c:159: error: expected expression before ‘)’ token
mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymm’:
mlgsl_eigen.c:167: warning: implicit declaration of function
‘gsl_eigen_nonsymm’
mlgsl_eigen.c:167: error: ‘gsl_eigen_nonsymm_workspace’ undeclared
(first use in this function)
mlgsl_eigen.c:167: error: expected expression before ‘)’ token
mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymm_Z’:
mlgsl_eigen.c:177: warning: implicit declaration of function
‘gsl_eigen_nonsymm_Z’
mlgsl_eigen.c:177: error: ‘gsl_eigen_nonsymm_workspace’ undeclared
(first use in this function)
mlgsl_eigen.c:177: error: expected expression before ‘)’ token
mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymmv_alloc’:
mlgsl_eigen.c:184: error: ‘gsl_eigen_nonsymmv_workspace’ undeclared
(first use in this function)
mlgsl_eigen.c:184: error: ‘ws’ undeclared (first use in this function)
mlgsl_eigen.c:184: warning: implicit declaration of function
‘gsl_eigen_nonsymmv_alloc’
mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymmv_free’:
mlgsl_eigen.c:191: warning: implicit declaration of function
‘gsl_eigen_nonsymmv_free’
mlgsl_eigen.c:191: error: ‘gsl_eigen_nonsymmv_workspace’ undeclared
(first use in this function)
mlgsl_eigen.c:191: error: expected expression before ‘)’ token
mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymmv’:
mlgsl_eigen.c:201: warning: implicit declaration of function
‘gsl_eigen_nonsymmv’
mlgsl_eigen.c:201: error: ‘gsl_eigen_nonsymmv_workspace’ undeclared
(first use in this function)
mlgsl_eigen.c:201: error: expected expression before ‘)’ token
mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymmv_Z’:
mlgsl_eigen.c:213: warning: implicit declaration of function
‘gsl_eigen_nonsymmv_Z’
mlgsl_eigen.c:213: error: ‘gsl_eigen_nonsymmv_workspace’ undeclared
(first use in this function)
mlgsl_eigen.c:213: error: expected expression before ‘)’ token
mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymmv_sort’:
mlgsl_eigen.c:225: warning: implicit declaration of function
‘gsl_eigen_nonsymmv_sort’
make: *** [mlgsl_eigen.o] Error 2
>uname -a
Linux * 2.6.20-16-generic #2 SMP Sun Sep 23 18:31:23 UTC 2007 x86_64
GNU/Linux
>ocaml -version
The Objective Caml toplevel, version 3.09.2
>gsl-config gsl-config --libs --prefix
-L/usr/lib -lgsl -lgslcblas -lm
/usr
>gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c
++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
[-- Attachment #2: Type: text/html, Size: 5101 bytes --]
next reply other threads:[~2007-11-12 12:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AcglJM3yhgcnJfMbSXa2FAfGwexJyQ==>
2007-11-12 12:06 ` Mikhalev, Alex [this message]
2007-11-12 12:15 ` [Caml-list] " Erik de Castro Lopo
2007-11-12 12:14 ` Mikhalev, Alex
2007-11-12 12:22 ` Olivier Andrieu
2007-11-12 14:09 ` Alex Mikhalev
2007-11-12 14:15 ` Sylvain Le Gall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1194869203.9372.12.camel@mikhaa \
--to=a.mikhalev@cranfield.ac.uk \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox