Building on x86-bm-12.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a) Unable to find image 'ocaml/opam:debian-unstable@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a' locally docker.io/ocaml/opam@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a: Pulling from ocaml/opam d94e46e039c4: Pulling fs layer d94e46e039c4: Verifying Checksum d94e46e039c4: Download complete d94e46e039c4: Pull complete Digest: sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a Status: Downloaded newer image for ocaml/opam@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a 2022-11-03 16:59.24 ---> using "6615d3400d8dabf8928c82fbcb18e477501a38f64d3b1412a91a4e86499e265b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2022-11-03 16:59.24 ---> using "c909a0ff168e383d01aa2cb84f3e6cbc7a0c470ffe3d07946f43f83d47cc9bfa" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 94675aaefe68e1e4a4ad959d88dd65afa3a9ed3d")) 2022-11-03 16:59.24 ---> using "5315c90a66cfce3be1f8ac668b7f4445c317bfeb4b1de04fe278a4bdf33753ae" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2022-11-03 16:59.24 ---> using "f46d72ea67943cab7c832114e4ca486dbfd4f12ff8812515d1a06b3a229da8ee" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.0' '5.0.0+trunk'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-variants" {= "5.0.0+trunk"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-variants.5.0.0+trunk (https://github.com/ocaml/ocaml/archive/5.0.tar.gz) -> installed ocaml-variants.5.0.0+trunk -> installed ocaml-config.3 -> installed ocaml.5.0.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.0) to update the current shell environment 2022-11-03 16:59.24 ---> using "6004bf9b6a57a1dd63c88407f62571e48e517e43e71ee2dfc99c260ab06b1716" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [161 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-11-02-0803.40-F-2022-11-01-2004.36.pdiff [67.9 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-11-02-0803.40-F-2022-11-01-2004.36.pdiff [67.9 kB] - Fetched 293 kB in 2s (162 kB/s) - Reading package lists... - 2022-11-03 16:59.24 ---> using "09402de71bade8aa2332b1d6516734605c171d15a9a79012a498cfccfb747e81" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"pareto.0.3\"\ \nopam install -vy \"pareto.0.3\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"pareto.0.3\" | grep -q '\"debian-unstable\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) [NOTE] pareto.0.3 is not installed. Nothing to do. The following actions will be performed: === install 9 packages - install conf-gsl 2 [required by gsl] - install conf-pkg-config 2 [required by gsl] - install csexp 1.5.1 [required by dune-configurator] - install dune 3.5.0 [required by gsl] - install dune-configurator 3.5.0 [required by gsl] - install gsl 1.24.3 [required by pareto] - install ocamlbuild 0.14.2 [required by pareto] - install ocamlfind 1.9.5 [required by pareto] - install pareto 0.3 The following system packages will first need to be installed: libgsl-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apt-get to install them (may need root/sudo access) 2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal) 3. Attempt installation anyway, and permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgsl-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libglib2.0-0:amd64. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19051 files and directories currently installed.) - Preparing to unpack .../0-libglib2.0-0_2.74.1-1_amd64.deb ... - Unpacking libglib2.0-0:amd64 (2.74.1-1) ... - Selecting previously unselected package libglib2.0-data. - Preparing to unpack .../1-libglib2.0-data_2.74.1-1_all.deb ... - Unpacking libglib2.0-data (2.74.1-1) ... - Selecting previously unselected package libgslcblas0:amd64. - Preparing to unpack .../2-libgslcblas0_2.7.1+dfsg-3+b1_amd64.deb ... - Unpacking libgslcblas0:amd64 (2.7.1+dfsg-3+b1) ... - Selecting previously unselected package libgsl27:amd64. - Preparing to unpack .../3-libgsl27_2.7.1+dfsg-3+b1_amd64.deb ... - Unpacking libgsl27:amd64 (2.7.1+dfsg-3+b1) ... - Selecting previously unselected package libgsl-dev. - Preparing to unpack .../4-libgsl-dev_2.7.1+dfsg-3+b1_amd64.deb ... - Unpacking libgsl-dev (2.7.1+dfsg-3+b1) ... - Selecting previously unselected package libicu71:amd64. - Preparing to unpack .../5-libicu71_71.1-3_amd64.deb ... - Unpacking libicu71:amd64 (71.1-3) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../6-libxml2_2.9.14+dfsg-1.1_amd64.deb ... - Unpacking libxml2:amd64 (2.9.14+dfsg-1.1) ... - Selecting previously unselected package pkg-config. - Preparing to unpack .../7-pkg-config_0.29.2-1_amd64.deb ... - Unpacking pkg-config (0.29.2-1) ... - Selecting previously unselected package shared-mime-info. - Preparing to unpack .../8-shared-mime-info_2.2-1_amd64.deb ... - Unpacking shared-mime-info (2.2-1) ... - Selecting previously unselected package xdg-user-dirs. - Preparing to unpack .../9-xdg-user-dirs_0.18-1_amd64.deb ... - Unpacking xdg-user-dirs (0.18-1) ... - Setting up libicu71:amd64 (71.1-3) ... - Setting up libgslcblas0:amd64 (2.7.1+dfsg-3+b1) ... - Setting up xdg-user-dirs (0.18-1) ... - Setting up libglib2.0-0:amd64 (2.74.1-1) ... - No schema files found: doing nothing. - Setting up libgsl27:amd64 (2.7.1+dfsg-3+b1) ... - Setting up libglib2.0-data (2.74.1-1) ... - Setting up pkg-config (0.29.2-1) ... - Setting up libxml2:amd64 (2.9.14+dfsg-1.1) ... - Setting up libgsl-dev (2.7.1+dfsg-3+b1) ... - Setting up shared-mime-info (2.2-1) ... - Processing triggers for libc-bin (2.35-4) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 3/26: Processing 4/26: Processing 5/26: Processing 6/26: [conf-pkg-config: pkg-config] -> retrieved csexp.1.5.1 (cached) Processing 7/26: [conf-pkg-config: pkg-config] -> retrieved gsl.1.24.3 (cached) Processing 8/26: [conf-pkg-config: pkg-config] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/5.0/.opam-switch/build/conf-pkg-config.2) - Usage: - pkg-config [OPTION?] - - Help Options: - -h, --help Show help options - - Application Options: - --version output version of pkg-config - --modversion output version for package - --atleast-pkgconfig-version=VERSION require given version of pkg-config - --libs output all linker flags - --static output linker flags for static linking - --short-errors print short errors - --libs-only-l output -l flags - --libs-only-other output other libs (e.g. -pthread) - --libs-only-L output -L flags - --cflags output all pre-processor and compiler flags - --cflags-only-I output -I flags - --cflags-only-other output cflags not covered by the cflags-only-I option - --variable=NAME get the value of variable named NAME - --define-variable=NAME=VALUE set variable NAME to VALUE - --exists return 0 if the module(s) exist - --print-variables output list of variables defined by the module - --uninstalled return 0 if the uninstalled version of one or more module(s) or their dependencies will be used - --atleast-version=VERSION return 0 if the module is at least version VERSION - --exact-version=VERSION return 0 if the module is at exactly version VERSION - --max-version=VERSION return 0 if the module is at no newer than version VERSION - --list-all list all known packages - --debug show verbose debug information - --print-errors show verbose information about missing or conflicting packages (default unless --exists or --atleast/exact/max-version given on the command line) - --silence-errors be silent about errors (default when --exists or --atleast/exact/max-version given on the command line) - --errors-to-stdout print errors from --print-errors to stdout not stderr - --print-provides print which packages the package provides - --print-requires print which packages the package requires - --print-requires-private print which packages the package requires for static linking - --validate validate a package's .pc file - --define-prefix try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file - --dont-define-prefix don't try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file - --prefix-variable=PREFIX set the name of the variable that pkg-config automatically sets - -> compiled conf-pkg-config.2 Processing 8/26: Processing 9/26: [conf-pkg-config: mkdir] -> retrieved dune.3.5.0, dune-configurator.3.5.0 (cached) Processing 10/26: [conf-pkg-config: mkdir] Processing 11/26: [dune: ocaml bootstrap.ml] [conf-pkg-config: mkdir] -> retrieved ocamlbuild.0.14.2 (cached) Processing 12/26: [dune: ocaml bootstrap.ml] [ocamlbuild: make configure.make] [conf-pkg-config: mkdir] -> retrieved ocamlfind.1.9.5 (cached) [ocamlfind: patch] applying 0001-Fix-bug-when-installing-with-a-system-compiler.patch Processing 13/26: [dune: ocaml bootstrap.ml] [ocamlbuild: make configure.make] [ocamlfind: patch] [conf-pkg-config: mkdir] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/5.0/lib/pkgconfig" (CWD=/home/opam/.opam/5.0/.opam-switch/build/conf-pkg-config.2) -> installed conf-pkg-config.2 Processing 13/26: [dune: ocaml bootstrap.ml] [ocamlbuild: make configure.make] [ocamlfind: patch] Processing 14/26: [conf-gsl: pkg-config gsl] [dune: ocaml bootstrap.ml] [ocamlbuild: make configure.make] [ocamlfind: patch] -> retrieved pareto.0.3 (cached) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "-f" "configure.make" "all" "OCAMLBUILD_PREFIX=/home/opam/.opam/5.0" "OCAMLBUILD_BINDIR=/home/opam/.opam/5.0/bin" "OCAMLBUILD_LIBDIR=/home/opam/.opam/5.0/lib" "OCAMLBUILD_MANDIR=/home/opam/.opam/5.0/man" "OCAML_NATIVE=true" "OCAML_NATIVE_TOOLS=true" (CWD=/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2) - (echo "# This file was generated from configure.make"; \ - echo ;\ - echo "OCAML_PREFIX="; \ - echo "OCAML_BINDIR=/home/opam/.opam/5.0/bin"; \ - echo "OCAML_LIBDIR=/home/opam/.opam/5.0/lib/ocaml"; \ - echo "OCAML_MANDIR=/home/opam/.opam/5.0/man"; \ - echo ;\ - echo "EXT_OBJ=.o"; \ - echo "EXT_ASM=.s"; \ - echo "EXT_LIB=.a"; \ - echo "EXT_DLL=.so"; \ - echo "EXE="; \ - echo ;\ - echo "OCAML_NATIVE=true"; \ - echo "OCAML_NATIVE_TOOLS=true"; \ - echo "NATDYNLINK=true"; \ - echo "SUPPORT_SHARED_LIBRARIES=true"; \ - echo ;\ - echo "PREFIX=/home/opam/.opam/5.0"; \ - echo "BINDIR=/home/opam/.opam/5.0/bin"; \ - echo "LIBDIR=/home/opam/.opam/5.0/lib"; \ - echo "MANDIR=/home/opam/.opam/5.0/man"; \ - ) > Makefile.config - (echo "(* This file was generated from ../configure.make *)"; \ - echo ;\ - echo 'let bindir = "/home/opam/.opam/5.0/bin"'; \ - echo 'let libdir = "/home/opam/.opam/5.0/lib"'; \ - echo 'let ocaml_libdir = "/home/opam/.opam/5.0/lib/ocaml"'; \ - echo 'let libdir_abs = "/home/opam/.opam/5.0/lib"'; \ - echo 'let ocaml_native = true'; \ - echo 'let ocaml_native_tools = true'; \ - echo 'let supports_shared_libraries = true';\ - echo 'let a = "a"'; \ - echo 'let o = "o"'; \ - echo 'let so = "so"'; \ - echo 'let ext_dll = ".so"'; \ - echo 'let exe = ""'; \ - echo 'let version = "0.14.2"'; \ - ) > src/ocamlbuild_config.ml Processing 14/26: [conf-gsl: pkg-config gsl] [dune: ocaml bootstrap.ml] [ocamlbuild: make check-if-preinstalled] [ocamlfind: patch] Processing 14/26: [conf-gsl: pkg-config gsl] [dune: ocaml bootstrap.ml] [ocamlbuild: make check-if-preinstalled] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "gsl" (CWD=/home/opam/.opam/5.0/.opam-switch/build/conf-gsl.2) -> compiled conf-gsl.2 Processing 14/26: [dune: ocaml bootstrap.ml] [ocamlbuild: make check-if-preinstalled] [ocamlfind: ./configure] -> installed conf-gsl.2 Processing 15/26: [dune: ocaml bootstrap.ml] [ocamlbuild: make check-if-preinstalled] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/5.0/bin" "-sitelib" "/home/opam/.opam/5.0/lib" "-mandir" "/home/opam/.opam/5.0/man" "-config" "/home/opam/.opam/5.0/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5) - Welcome to findlib version 1.9.5 - Configuring core... - Checking for #remove_directory... - Testing threading model... - systhread_supported: true - Testing DLLs... - Testing whether ppxopt can be supported... - Checking for ocamlc -opaque... - Querying installation: META list not found - make install will double-check installed META files - Configuring libraries... - unix: found (in +unix) - dynlink: found (in +dynlink) - bigarray: not present (possible since 4.08) - compiler-libs: found - dbm: not present (normal since 4.00) - graphics: not present (normal since 4.09) - num: not present (normal since 4.06) - ocamlbuild: not present (normal since 4.03) - ocamldoc: found (in +ocamldoc) - raw_spacetime: not present (normal since 4.12) - threads: found (in +threads) - runtime_events: found (in +runtime_events) - str: found (in +str) - labltk: not present (normal since 4.02) - native dynlink: found - camlp4: disabled - bytes: found, installing fake library - Configuration for stdlib written to site-lib-src/stdlib/META - Configuration for unix written to site-lib-src/unix/META - Configuration for dynlink written to site-lib-src/dynlink/META - Configuration for compiler-libs written to site-lib-src/compiler-libs/META - Configuration for ocamldoc written to site-lib-src/ocamldoc/META - Configuration for threads written to site-lib-src/threads/META - Configuration for runtime_events written to site-lib-src/runtime_events/META - Configuration for str written to site-lib-src/str/META - Configuration for bytes written to site-lib-src/bytes/META - Detecting compiler arguments: (extractor built) ok - - About the OCAML core installation: - Standard library: /home/opam/.opam/5.0/lib/ocaml - Binaries: /home/opam/.opam/5.0/bin - Manual pages: /home/opam/.opam/5.0/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/5.0/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/5.0/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/5.0/bin - Manual pages: /home/opam/.opam/5.0/man - topfind script: /home/opam/.opam/5.0/lib/ocaml - Topfind ppxopt support: yes - Toolbox: no - Link custom runtime: no - Need bytes compatibility: no - - Configuration has been written to Makefile.config - - You can now do 'make all', and optionally 'make opt', to build ocamlfind. Processing 15/26: [dune: ocaml bootstrap.ml] [ocamlbuild: make check-if-preinstalled] [ocamlfind: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5) - for p in findlib; do ( cd src/$p; make all ) || exit; done - make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - ocamllex fl_meta.mll - 22 states, 392 transitions, table size 1700 bytes - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib_config.mlp | \ - ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/5.0/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/5.0/lib/ocaml' | \ - sed -e 's;@AUTOLINK@;true;g' \ - -e 's;@SYSTEM@;linux;g' \ - >findlib_config.ml - if [ "true" = "true" ]; then \ - cp topfind.ml.in topfind.ml; \ - else \ - sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \ - > topfind.ml ; \ - fi - ocamldep *.ml *.mli >depend - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib_config.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_split.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metatoken.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_meta.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_metascanner.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metascanner.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_topo.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_topo.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_package_base.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_package_base.ml - File "fl_package_base.ml", line 304, characters 22-40: - 304 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 350, characters 18-36: - 350 | let ancestors = query_requirements predlist package_name in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 375, characters 23-41: - 375 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 510, characters 16-35: - 510 | ( let c = package_definitions search_path pkg.package_name in - ^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label search_path was omitted in the application of this function. - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c findlib.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib.ml - File "findlib.ml", line 390, characters 2-26: - 390 | Fl_package_base.requires predlist pkg - ^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "findlib.ml", line 396, characters 2-33: - 396 | Fl_package_base.requires_deeply predlist pkglist - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_args.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_lint.ml - ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c ocaml_args.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c frontend.ml - File "frontend.ml", line 859, characters 10-39: - 859 | Fl_package_base.package_users predicates1 packages1 - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \ - -I +unix -I +dynlink ocaml_args.cmo frontend.cmo - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c topfind.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c topfind.ml - File "topfind.ml", line 126, characters 40-63: - 126 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 256, characters 4-27: - 256 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 266, characters 4-27: - 266 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 278, characters 4-27: - 278 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 291, characters 4-27: - 291 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 305, characters 4-27: - 305 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 317, characters 4-27: - 317 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat topfind_rd1.p | \ - ../../tools/patch '@SITELIB@' '/home/opam/.opam/5.0/lib' \ - >topfind - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_dynload.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_dynload.ml - ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo - make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/5.0/lib' >findlib.conf - if ./tools/cmd_from_same_dir ocamlc; then \ - echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamlopt; then \ - echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldep; then \ - echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldoc; then \ - echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \ - fi - make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5' Processing 15/26: [dune: ocaml bootstrap.ml] [ocamlbuild: make check-if-preinstalled] [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5) - for p in findlib; do ( cd src/$p; make opt ) || exit; done - make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c findlib_config.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_split.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_metatoken.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_meta.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_metascanner.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_topo.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_package_base.ml - File "fl_package_base.ml", line 304, characters 22-40: - 304 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 350, characters 18-36: - 350 | let ancestors = query_requirements predlist package_name in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 375, characters 23-41: - 375 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 510, characters 16-35: - 510 | ( let c = package_definitions search_path pkg.package_name in - ^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label search_path was omitted in the application of this function. - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c findlib.ml - File "findlib.ml", line 390, characters 2-26: - 390 | Fl_package_base.requires predlist pkg - ^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "findlib.ml", line 396, characters 2-33: - 396 | Fl_package_base.requires_deeply predlist pkglist - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_args.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_lint.ml - ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c ocaml_args.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c frontend.ml - File "frontend.ml", line 859, characters 10-39: - 859 | Fl_package_base.package_users predicates1 packages1 - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \ - -I +unix -I +dynlink ocaml_args.cmx frontend.cmx - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c topfind.ml - File "topfind.ml", line 126, characters 40-63: - 126 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 256, characters 4-27: - 256 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 266, characters 4-27: - 266 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 278, characters 4-27: - 278 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 291, characters 4-27: - 291 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 305, characters 4-27: - 305 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 317, characters 4-27: - 317 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - ocamlopt -I +compiler-libs -g -a -o findlib_top.cmxa topfind.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_top.cmxs topfind.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_dynload.ml - ocamlopt -I +compiler-libs -g -a -o findlib_dynload.cmxa fl_dynload.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_dynload.cmxs fl_dynload.cmx; \ - fi - make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5/src/findlib' -> compiled ocamlfind.1.9.5 Processing 15/26: [dune: ocaml bootstrap.ml] [ocamlbuild: make check-if-preinstalled] Processing 16/26: [dune: ocaml bootstrap.ml] [ocamlbuild: make check-if-preinstalled] [ocamlfind: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5) - if [ "1" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "/home/opam/.opam/5.0/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/5.0/lib/$x/META"; then \ - rm -f site-lib-src/$x/META; \ - fi; \ - fi; \ - done; \ - test -f "site-lib-src/num/META" || rm -f "site-lib-src/num-top/META"; \ - fi - echo 'SITELIB_META =' > Makefile.packages.in - for x in `ls site-lib-src`; do test ! -f "site-lib-src/$x/META" || echo $x >> Makefile.packages.in; done - tr '\n' ' ' < Makefile.packages.in > Makefile.packages - rm Makefile.packages.in - install -d "/home/opam/.opam/5.0/bin" - install -d "/home/opam/.opam/5.0/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5' - install -d "`dirname \"/home/opam/.opam/5.0/lib/findlib.conf\"`" - test -f "/home/opam/.opam/5.0/lib/findlib.conf" || install -c findlib.conf "/home/opam/.opam/5.0/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5' - for p in findlib; do ( cd src/$p; make install ); done - make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - install -d "/home/opam/.opam/5.0/lib/findlib" - install -d "/home/opam/.opam/5.0/bin" - test 1 -eq 0 || install -d "/home/opam/.opam/5.0/lib/ocaml" - test 1 -eq 0 || install -c topfind "/home/opam/.opam/5.0/lib/ocaml/" - files=` ../../tools/collect_files ../../Makefile.config \ - findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs \ - findlib_config.cmi findlib_config.ml topfind.cmi topfind.mli \ - fl_args.cmi fl_lint.cmi fl_meta.cmi fl_split.cmi fl_topo.cmi ocaml_args.cmi \ - fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi \ - fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs \ - findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi \ - META` && \ - install -c $files "/home/opam/.opam/5.0/lib/findlib/" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - install -c $f "/home/opam/.opam/5.0/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/5.0/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/5.0/lib/ocaml/compiler-libs/"; \ - install -c topdirs.cmi toploop.cmi "/home/opam/.opam/5.0/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5' - for x in bytes compiler-libs dynlink ocamldoc runtime_events stdlib str threads unix ; do install -d "/home/opam/.opam/5.0/lib/$x"; install -c site-lib-src/$x/META "/home/opam/.opam/5.0/lib/$x/META.tmp" && mv "/home/opam/.opam/5.0/lib/$x/META.tmp" "/home/opam/.opam/5.0/lib/$x/META"; done - install -d "/home/opam/.opam/5.0/lib/findlib"; install -c Makefile.packages "/home/opam/.opam/5.0/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5' - test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; } - test ! -f 'site-lib-src/camlp4/META' || install -c tools/safe_camlp4 "/home/opam/.opam/5.0/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5' - install -d "/home/opam/.opam/5.0/man/man1" "/home/opam/.opam/5.0/man/man3" "/home/opam/.opam/5.0/man/man5" - install -c doc/ref-man/ocamlfind.1 "/home/opam/.opam/5.0/man/man1" - install -c doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/5.0/man/man5" - make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.5' -> installed ocamlfind.1.9.5 Processing 16/26: [dune: ocaml bootstrap.ml] [ocamlbuild: make check-if-preinstalled] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "check-if-preinstalled" "all" "opam-install" (CWD=/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2) - if test -d /home/opam/.opam/5.0/lib/ocaml/ocamlbuild; then\ - >&2 echo "ERROR: Preinstalled ocamlbuild detected at"\ - "/home/opam/.opam/5.0/lib/ocaml/ocamlbuild";\ - >&2 echo "Installation aborted; if you want to bypass this"\ - "safety check, pass CHECK_IF_PREINSTALLED=false to make";\ - exit 2;\ - fi - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/const.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/loc.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/loc.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/discard_printf.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/discard_printf.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/signatures.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/my_std.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/my_std.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/my_unix.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/my_unix.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/tags.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/tags.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/display.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/display.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/log.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/log.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/shell.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/shell.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/bool.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/bool.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/glob_ast.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/glob_ast.ml - ocamllex.opt src/glob_lexer.mll - 55 states, 419 transitions, table size 2006 bytes - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/glob_lexer.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/glob_lexer.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/glob.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/glob.ml - ocamllex.opt src/lexers.mll - 251 states, 1051 transitions, table size 5710 bytes - 4334 additional bytes used for bindings - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/lexers.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/lexers.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/param_tags.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/param_tags.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/command.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/command.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocamlbuild_config.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocamlbuild_where.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocamlbuild_where.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/slurp.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/slurp.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/options.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/options.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/pathname.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/pathname.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/configuration.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/configuration.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/flags.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/flags.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/hygiene.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/hygiene.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/digest_cache.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/digest_cache.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/resource.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/resource.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/rule.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/rule.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/solver.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/solver.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/report.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/report.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/tools.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/tools.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/fda.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/fda.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/findlib.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/findlib.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_arch.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_arch.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_utils.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_utils.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_dependencies.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_dependencies.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_compiler.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_compiler.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_tools.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_tools.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_specific.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_specific.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/exit_codes.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/exit_codes.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/plugin.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/plugin.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/hooks.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/hooks.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/main.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/main.ml - mkdir -p tmp - ocamlc.opt -pack src/const.cmo src/loc.cmo src/discard_printf.cmo src/signatures.cmi src/my_std.cmo src/my_unix.cmo src/tags.cmo src/display.cmo src/log.cmo src/shell.cmo src/bool.cmo src/glob_ast.cmo src/glob_lexer.cmo src/glob.cmo src/lexers.cmo src/param_tags.cmo src/command.cmo src/ocamlbuild_config.cmo src/ocamlbuild_where.cmo src/slurp.cmo src/options.cmo src/pathname.cmo src/configuration.cmo src/flags.cmo src/hygiene.cmo src/digest_cache.cmo src/resource.cmo src/rule.cmo src/solver.cmo src/report.cmo src/tools.cmo src/fda.cmo src/findlib.cmo src/ocaml_arch.cmo src/ocaml_utils.cmo src/ocaml_dependencies.cmo src/ocaml_compiler.cmo src/ocaml_tools.cmo src/ocaml_specific.cmo src/exit_codes.cmo src/plugin.cmo src/hooks.cmo src/main.cmo -o tmp/ocamlbuild_pack.cmo - mv tmp/ocamlbuild_pack.cmi src/ocamlbuild_pack.cmi - mv tmp/ocamlbuild_pack.cmo src/ocamlbuild_pack.cmo - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c plugin-lib/ocamlbuild_plugin.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c plugin-lib/ocamlbuild_plugin.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c plugin-lib/ocamlbuild_executor.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c plugin-lib/ocamlbuild_executor.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c plugin-lib/ocamlbuild_unix_plugin.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c plugin-lib/ocamlbuild_unix_plugin.ml - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c bin/ocamlbuild.mli - ocamlc.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c bin/ocamlbuild.ml - ocamlc.opt -I +unix -I src -o ocamlbuild.byte unix.cma src/ocamlbuild_pack.cmo plugin-lib/ocamlbuild_plugin.cmo plugin-lib/ocamlbuild_executor.cmo plugin-lib/ocamlbuild_unix_plugin.cmo bin/ocamlbuild.cmo - ocamlc.opt -a -o plugin-lib/ocamlbuildlib.cma src/ocamlbuild_pack.cmo plugin-lib/ocamlbuild_plugin.cmo plugin-lib/ocamlbuild_executor.cmo plugin-lib/ocamlbuild_unix_plugin.cmo - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/const.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/loc.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/discard_printf.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/my_std.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/my_unix.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/tags.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/display.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/log.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/shell.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/bool.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/glob_ast.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/glob_lexer.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/glob.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/lexers.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/param_tags.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/command.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocamlbuild_config.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocamlbuild_where.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/slurp.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/options.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/pathname.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/configuration.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/flags.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/hygiene.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/digest_cache.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/resource.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/rule.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/solver.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/report.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/tools.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/fda.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/findlib.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_arch.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_utils.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_dependencies.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_compiler.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_tools.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/ocaml_specific.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/exit_codes.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/plugin.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/hooks.ml - ocamlopt.opt -for-pack Ocamlbuild_pack -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c src/main.ml - mkdir -p tmp - ocamlopt.opt -pack src/const.cmx src/loc.cmx src/discard_printf.cmx src/signatures.cmi src/my_std.cmx src/my_unix.cmx src/tags.cmx src/display.cmx src/log.cmx src/shell.cmx src/bool.cmx src/glob_ast.cmx src/glob_lexer.cmx src/glob.cmx src/lexers.cmx src/param_tags.cmx src/command.cmx src/ocamlbuild_config.cmx src/ocamlbuild_where.cmx src/slurp.cmx src/options.cmx src/pathname.cmx src/configuration.cmx src/flags.cmx src/hygiene.cmx src/digest_cache.cmx src/resource.cmx src/rule.cmx src/solver.cmx src/report.cmx src/tools.cmx src/fda.cmx src/findlib.cmx src/ocaml_arch.cmx src/ocaml_utils.cmx src/ocaml_dependencies.cmx src/ocaml_compiler.cmx src/ocaml_tools.cmx src/ocaml_specific.cmx src/exit_codes.cmx src/plugin.cmx src/hooks.cmx src/main.cmx -o tmp/ocamlbuild_pack.cmx - mv tmp/ocamlbuild_pack.cmx src/ocamlbuild_pack.cmx - mv tmp/ocamlbuild_pack.o src/ocamlbuild_pack.o - ocamlopt.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c plugin-lib/ocamlbuild_plugin.ml - ocamlopt.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c plugin-lib/ocamlbuild_executor.ml - ocamlopt.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c plugin-lib/ocamlbuild_unix_plugin.ml - ocamlopt.opt -w +L -w +R -w +Z -I src -I plugin-lib -I bin -I +unix -safe-string -bin-annot -strict-sequence -c bin/ocamlbuild.ml - ocamlopt.opt -I +unix -I src -o ocamlbuild.native unix.cmxa src/ocamlbuild_pack.cmx plugin-lib/ocamlbuild_plugin.cmx plugin-lib/ocamlbuild_executor.cmx plugin-lib/ocamlbuild_unix_plugin.cmx bin/ocamlbuild.cmx - ocamlopt.opt -a -o plugin-lib/ocamlbuildlib.cmxa src/ocamlbuild_pack.cmx plugin-lib/ocamlbuild_plugin.cmx plugin-lib/ocamlbuild_executor.cmx plugin-lib/ocamlbuild_unix_plugin.cmx - ocamlc.opt src/ocamlbuild_pack.cmo -I src man/options_man.ml -o man/options_man.byte - ./man/options_man.byte > man/ocamlbuild.options.1 - cat man/ocamlbuild.header.1 man/ocamlbuild.options.1 man/ocamlbuild.footer.1 > man/ocamlbuild.1 - make ocamlbuild.install - make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' - rm -f ocamlbuild.install - touch ocamlbuild.install - make install-bin-opam - make[2]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' - echo 'bin: [' >> ocamlbuild.install - echo ' "ocamlbuild.byte" {"ocamlbuild.byte"}' >> ocamlbuild.install - echo ' "ocamlbuild.native" {"ocamlbuild.native"}' >> ocamlbuild.install - echo ' "ocamlbuild.native" {"ocamlbuild"}' >> ocamlbuild.install - echo ']' >> ocamlbuild.install - echo >> ocamlbuild.install - make[2]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' - make install-lib-opam - make[2]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' - echo 'lib: [' >> ocamlbuild.install - make install-lib-basics-opam - make[3]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' - echo ' "ocamlbuild.opam" {"opam"}' >> ocamlbuild.install - echo ' "META"' >> ocamlbuild.install - for lib in src/signatures.mli src/signatures.cmi src/signatures.cmti; do \ - echo " \"$lib\" {\"$(basename $lib)\"}" >> ocamlbuild.install; \ - done - make[3]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' - make install-lib-byte-opam - make[3]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' - for lib in plugin-lib/ocamlbuildlib.cma bin/ocamlbuild.cmo src/ocamlbuild_pack.cmi plugin-lib/ocamlbuild_plugin.cmi plugin-lib/ocamlbuild_executor.cmi plugin-lib/ocamlbuild_unix_plugin.cmi; do \ - echo " \"$lib\" {\"$(basename $lib)\"}" >> ocamlbuild.install; \ - done - make[3]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' - make install-lib-native-opam - make[3]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' - for lib in plugin-lib/ocamlbuildlib.cmxa plugin-lib/ocamlbuildlib.a bin/ocamlbuild.cmx bin/ocamlbuild.o src/ocamlbuild_pack.cmx plugin-lib/ocamlbuild_plugin.cmx plugin-lib/ocamlbuild_executor.cmx plugin-lib/ocamlbuild_unix_plugin.cmx plugin-lib/ocamlbuild_plugin.o plugin-lib/ocamlbuild_executor.o plugin-lib/ocamlbuild_unix_plugin.o; do \ - echo " \"$lib\" {\"$(basename $lib)\"}" >> ocamlbuild.install; \ - done - make[3]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' - echo ']' >> ocamlbuild.install - echo >> ocamlbuild.install - make[2]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' - make install-man-opam - make[2]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' - echo 'man: [' >> ocamlbuild.install - echo ' "man/ocamlbuild.1" {"man1/ocamlbuild.1"}' >> ocamlbuild.install - echo ']' >> ocamlbuild.install - echo >> ocamlbuild.install - make[2]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' - make install-doc-opam - make[2]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' - echo 'doc: [' >> ocamlbuild.install - echo ' "LICENSE"' >> ocamlbuild.install - echo ' "Changes"' >> ocamlbuild.install - echo ' "Readme.md"' >> ocamlbuild.install - echo ']' >> ocamlbuild.install - make[2]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' - make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/ocamlbuild.0.14.2' -> compiled ocamlbuild.0.14.2 Processing 16/26: [dune: ocaml bootstrap.ml] -> installed ocamlbuild.0.14.2 Processing 17/26: [dune: ocaml bootstrap.ml] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "31" (CWD=/home/opam/.opam/5.0/.opam-switch/build/dune.3.5.0) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 31 - cd _boot && /home/opam/.opam/5.0/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads build_path_prefix_map.ml - File "vendor/build_path_prefix_map/src/build_path_prefix_map.ml", line 5, characters 17-31: - Alert deprecated: Stdlib.Printf.kprintf - Use Printf.ksprintf instead. - cd _boot && /home/opam/.opam/5.0/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamLexer.ml - File "vendor/opam-file-format/src/opamLexer.mll", line 21, characters 2-16: - Alert deprecated: Stdlib.Printf.kprintf - Use Printf.ksprintf instead. - Processing 17/26: [dune: ./dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "31" (CWD=/home/opam/.opam/5.0/.opam-switch/build/dune.3.5.0) -> compiled dune.3.5.0 -> installed dune.3.5.0 Processing 19/26: [csexp: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "31" "@install" (CWD=/home/opam/.opam/5.0/.opam-switch/build/csexp.1.5.1) -> compiled csexp.1.5.1 -> installed csexp.1.5.1 Processing 21/26: [dune-configurator: rm] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/csexp" (CWD=/home/opam/.opam/5.0/.opam-switch/build/dune-configurator.3.5.0) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/pp" (CWD=/home/opam/.opam/5.0/.opam-switch/build/dune-configurator.3.5.0) Processing 21/26: [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "31" "@install" (CWD=/home/opam/.opam/5.0/.opam-switch/build/dune-configurator.3.5.0) -> compiled dune-configurator.3.5.0 -> installed dune-configurator.3.5.0 Processing 23/26: [gsl: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "gsl" "-j" "1" (CWD=/home/opam/.opam/5.0/.opam-switch/build/gsl.1.24.3) - File "src/dune", line 4, characters 4-14: - 4 | mlgsl_blas - ^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_blas.o -c mlgsl_blas.c) - In file included from mlgsl_vector.h:9, - from mlgsl_vector_double.h:9, - from mlgsl_blas.c:8: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': - mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - In file included from mlgsl_matrix_double.h:11, - from mlgsl_blas.c:9: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - File "src/dune", line 5, characters 4-22: - 5 | mlgsl_blas_complex - ^^^^^^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_blas_complex.o -c mlgsl_blas_complex.c) - In file included from mlgsl_complex.h:7, - from mlgsl_blas_complex.c:7: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_vector_complex.h:11, - from mlgsl_blas_complex.c:8: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray_complex': - mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - In file included from mlgsl_matrix_complex.h:13, - from mlgsl_blas_complex.c:9: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_complex': - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - File "src/dune", line 6, characters 4-28: - 6 | mlgsl_blas_complex_float - ^^^^^^^^^^^^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_blas_complex_float.o -c mlgsl_blas_complex_float.c) - In file included from mlgsl_complex.h:7, - from mlgsl_blas_complex_float.c:9: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_vector_complex_float.h:11, - from mlgsl_blas_complex_float.c:10: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray_complex_float': - mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - In file included from mlgsl_matrix_complex_float.h:13, - from mlgsl_blas_complex_float.c:11: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_complex_float': - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - File "src/dune", line 7, characters 4-20: - 7 | mlgsl_blas_float - ^^^^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_blas_float.o -c mlgsl_blas_float.c) - In file included from mlgsl_vector_float.h:1, - from mlgsl_blas_float.c:8: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_vector_float.h:10: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray_float': - mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - In file included from mlgsl_matrix_float.h:13, - from mlgsl_blas_float.c:9: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_float': - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - File "src/dune", line 8, characters 4-17: - 8 | mlgsl_bspline - ^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_bspline.o -c mlgsl_bspline.c) - In file included from mlgsl_bspline.c:10: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_vector_double.h:9, - from mlgsl_bspline.c:25: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': - mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_cheb.o -c mlgsl_cheb.c) - In file included from mlgsl_cheb.c:12: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_cheb.c: In function 'ml_gsl_cheb_coefs': - mlgsl_cheb.c:30:7: warning: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] - 30 | a = alloc(len * Double_wosize, Double_array_tag); - | ^~~~~ - | valloc - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_combi.o -c mlgsl_combi.c) - mlgsl_combi.c: In function 'combi_of_val': - mlgsl_combi.c:11:15: warning: implicit declaration of function 'Data_bigarray_val'; did you mean 'Caml_ba_array_val'? [-Wimplicit-function-declaration] - 11 | c->data = Data_bigarray_val(Field(vc, 2)); - | ^~~~~~~~~~~~~~~~~ - | Caml_ba_array_val - mlgsl_combi.c:11:13: warning: assignment to 'size_t *' {aka 'long unsigned int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] - 11 | c->data = Data_bigarray_val(Field(vc, 2)); - | ^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_complex.o -c mlgsl_complex.c) - In file included from mlgsl_complex.h:7, - from mlgsl_complex.c:7: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_deriv.o -c mlgsl_deriv.c) - In file included from mlgsl_deriv.c:11: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - File "src/dune", line 14, characters 4-15: - 14 | mlgsl_eigen - ^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_eigen.o -c mlgsl_eigen.c) - In file included from mlgsl_eigen.c:8: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_vector_complex.h:11, - from mlgsl_eigen.c:12: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray_complex': - mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - In file included from mlgsl_matrix_complex.h:13, - from mlgsl_eigen.c:13: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_complex': - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - In file included from mlgsl_matrix_double.h:11, - from mlgsl_eigen.c:22: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - In file included from mlgsl_vector_double.h:9, - from mlgsl_eigen.c:23: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_error.o -c mlgsl_error.c) - mlgsl_error.c: In function 'ml_gsl_error_handler': - mlgsl_error.c:38:5: warning: implicit declaration of function 'failwith'; did you mean 'caml_failwith'? [-Wimplicit-function-declaration] - 38 | failwith("invalid GSL error code"); - | ^~~~~~~~ - | caml_failwith - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_fft.o -c mlgsl_fft.c) - In file included from mlgsl_fft.c:14: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_fft.c: In function 'check_layout': - mlgsl_fft.c:31:9: warning: implicit declaration of function 'invalid_argument'; did you mean 'caml_invalid_argument'? [-Wimplicit-function-declaration] - 31 | invalid_argument("wrong fft_array layout"); - | ^~~~~~~~~~~~~~~~ - | caml_invalid_argument - mlgsl_fft.c:33:5: warning: implicit declaration of function 'raise_constant'; did you mean 'caml_raise_constant'? [-Wimplicit-function-declaration] - 33 | raise_constant(*layout_exn); - | ^~~~~~~~~~~~~~ - | caml_raise_constant - File "src/dune", line 17, characters 4-13: - 17 | mlgsl_fit - ^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_fit.o -c mlgsl_fit.c) - In file included from mlgsl_fit.c:12: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_matrix_double.h:11, - from mlgsl_fit.c:13: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': - mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - In file included from mlgsl_vector_double.h:9, - from mlgsl_fit.c:14: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - File "src/dune", line 18, characters 4-13: - 18 | mlgsl_fun - ^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_fun.o -c mlgsl_fun.c) - In file included from mlgsl_fun.c:15: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_fun.c: In function 'gslfun_callback': - mlgsl_fun.c:25:7: warning: implicit declaration of function 'callback'; did you mean 'calloc'? [-Wimplicit-function-declaration] - 25 | res=callback(p->closure, v_x); - | ^~~~~~~~ - | calloc - mlgsl_fun.c: In function 'gsl_multiroot_callback': - mlgsl_fun.c:94:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) - 94 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~ - mlgsl_fun.c:94:20: note: each undeclared identifier is reported only once for each function it appears in - mlgsl_fun.c:94:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) - 94 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~~ - mlgsl_fun.c:100:12: warning: implicit declaration of function 'alloc_bigarray_dims' [-Wimplicit-function-declaration] - 100 | x_barr = alloc_bigarray_dims(barr_flags, 1, NULL, len); - | ^~~~~~~~~~~~~~~~~~~ - mlgsl_fun.c:102:31: warning: implicit declaration of function 'Data_bigarray_val'; did you mean 'Caml_ba_array_val'? [-Wimplicit-function-declaration] - 102 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); - | ^~~~~~~~~~~~~~~~~ - | Caml_ba_array_val - mlgsl_fun.c:102:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 102 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - In file included from /usr/include/gsl/gsl_vector_complex_double.h:28, - from /usr/include/gsl/gsl_vector.h:5, - from /usr/include/gsl/gsl_multiroots.h:26, - from mlgsl_fun.h:7, - from mlgsl_fun.c:16: - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c:103:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 103 | f_v = gsl_vector_view_array(Data_bigarray_val(f_barr), len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c:106:3: warning: implicit declaration of function 'callback2' [-Wimplicit-function-declaration] - 106 | callback2(p->closure, x_barr, f_barr); - | ^~~~~~~~~ - mlgsl_fun.c: In function 'gsl_multiroot_callback_f': - mlgsl_fun.c:113:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) - 113 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~ - mlgsl_fun.c:113:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) - 113 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~~ - mlgsl_fun.c:121:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 121 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c:122:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 122 | f_v = gsl_vector_view_array(Data_bigarray_val(f_barr), len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c: In function 'gsl_multiroot_callback_df': - mlgsl_fun.c:132:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) - 132 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~ - mlgsl_fun.c:132:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) - 132 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~~ - mlgsl_fun.c:141:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 141 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c:142:31: warning: passing argument 1 of 'gsl_matrix_view_array' makes pointer from integer without a cast [-Wint-conversion] - 142 | j_v = gsl_matrix_view_array(Data_bigarray_val(j_barr), len, len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - In file included from /usr/include/gsl/gsl_matrix.h:9, - from /usr/include/gsl/gsl_multiroots.h:27: - /usr/include/gsl/gsl_matrix_double.h:130:33: note: expected 'double *' but argument is of type 'int' - 130 | gsl_matrix_view_array (double * base, - | ~~~~~~~~~^~~~ - mlgsl_fun.c: In function 'gsl_multiroot_callback_fdf': - mlgsl_fun.c:153:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) - 153 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~ - mlgsl_fun.c:153:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) - 153 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~~ - mlgsl_fun.c:163:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 163 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c:164:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 164 | f_v = gsl_vector_view_array(Data_bigarray_val(f_barr), len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c:165:31: warning: passing argument 1 of 'gsl_matrix_view_array' makes pointer from integer without a cast [-Wint-conversion] - 165 | j_v = gsl_matrix_view_array(Data_bigarray_val(j_barr), len, len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_matrix_double.h:130:33: note: expected 'double *' but argument is of type 'int' - 130 | gsl_matrix_view_array (double * base, - | ~~~~~~~~~^~~~ - mlgsl_fun.c:168:3: warning: implicit declaration of function 'callback3' [-Wimplicit-function-declaration] - 168 | callback3(Field(p->closure, 2), x_barr, f_barr, j_barr); - | ^~~~~~~~~ - mlgsl_fun.c: In function 'gsl_multimin_callback': - mlgsl_fun.c:179:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) - 179 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~ - mlgsl_fun.c:179:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) - 179 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~~ - mlgsl_fun.c:187:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 187 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c: In function 'gsl_multimin_callback_f': - mlgsl_fun.c:196:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) - 196 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~ - mlgsl_fun.c:196:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) - 196 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~~ - mlgsl_fun.c:204:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 204 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c: In function 'gsl_multimin_callback_df': - mlgsl_fun.c:213:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) - 213 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~ - mlgsl_fun.c:213:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) - 213 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~~ - mlgsl_fun.c:221:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 221 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c:222:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 222 | g_v = gsl_vector_view_array(Data_bigarray_val(g_barr), len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c: In function 'gsl_multimin_callback_fdf': - mlgsl_fun.c:232:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) - 232 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~ - mlgsl_fun.c:232:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) - 232 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~~ - mlgsl_fun.c:241:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 241 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c:242:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 242 | g_v = gsl_vector_view_array(Data_bigarray_val(g_barr), len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c: In function 'gsl_multifit_callback_f': - mlgsl_fun.c:255:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) - 255 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~ - mlgsl_fun.c:255:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) - 255 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~~ - mlgsl_fun.c:264:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 264 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), p); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c:265:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 265 | f_v = gsl_vector_view_array(Data_bigarray_val(f_barr), n); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c: In function 'gsl_multifit_callback_df': - mlgsl_fun.c:275:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) - 275 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~ - mlgsl_fun.c:275:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) - 275 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~~ - mlgsl_fun.c:286:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 286 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), p); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c:287:31: warning: passing argument 1 of 'gsl_matrix_view_array' makes pointer from integer without a cast [-Wint-conversion] - 287 | j_v = gsl_matrix_view_array(Data_bigarray_val(j_barr), n, p); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_matrix_double.h:130:33: note: expected 'double *' but argument is of type 'int' - 130 | gsl_matrix_view_array (double * base, - | ~~~~~~~~~^~~~ - mlgsl_fun.c: In function 'gsl_multifit_callback_fdf': - mlgsl_fun.c:300:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) - 300 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~ - mlgsl_fun.c:300:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) - 300 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; - | ^~~~~~~~~~~~~~~~~ - mlgsl_fun.c:311:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 311 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), p); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c:312:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] - 312 | f_v = gsl_vector_view_array(Data_bigarray_val(f_barr), n); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' - 87 | gsl_vector_view_array (double *v, size_t n); - | ~~~~~~~~^ - mlgsl_fun.c:313:31: warning: passing argument 1 of 'gsl_matrix_view_array' makes pointer from integer without a cast [-Wint-conversion] - 313 | j_v = gsl_matrix_view_array(Data_bigarray_val(j_barr), n, p); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | int - /usr/include/gsl/gsl_matrix_double.h:130:33: note: expected 'double *' but argument is of type 'int' - 130 | gsl_matrix_view_array (double * base, - | ~~~~~~~~~^~~~ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_histo.o -c mlgsl_histo.c) - In file included from mlgsl_histo.c:13: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_ieee.o -c mlgsl_ieee.c) - In file included from mlgsl_ieee.c:12: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_ieee.c: In function 'rep_val': - mlgsl_ieee.c:18:5: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration] - 18 | m=copy_string(r->mantissa); - | ^~~~~~~~~~~ - | caml_copy_string - mlgsl_ieee.c: In function 'ml_gsl_ieee_set_mode': - mlgsl_ieee.c:53:14: warning: implicit declaration of function 'convert_flag_list'; did you mean 'caml_convert_flag_list'? [-Wimplicit-function-declaration] - 53 | int mask = convert_flag_list(ex_list, mask_conv); - | ^~~~~~~~~~~~~~~~~ - | caml_convert_flag_list - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_integration.o -c mlgsl_integration.c) - In file included from mlgsl_integration.c:15: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_interp.o -c mlgsl_interp.c) - In file included from mlgsl_interp.c:13: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_interp.c: In function 'ml_gsl_interp_name': - mlgsl_interp.c:50:10: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration] - 50 | return copy_string(gsl_interp_name(Interp_val(i))); - | ^~~~~~~~~~~ - | caml_copy_string - File "src/dune", line 23, characters 4-16: - 23 | mlgsl_linalg - ^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_linalg.o -c mlgsl_linalg.c) - In file included from mlgsl_matrix.h:9, - from mlgsl_matrix_double.h:11, - from mlgsl_linalg.c:8: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': - mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - In file included from mlgsl_vector_double.h:9, - from mlgsl_linalg.c:9: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - In file included from mlgsl_linalg.c:10: - mlgsl_linalg.c: In function 'ml_gsl_linalg_LU_decomp': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:33:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 33 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:33:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 33 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:33:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 33 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_LU_solve': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:42:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 42 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:42:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 42 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:42:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 42 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_LU_svx': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:53:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 53 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:53:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 53 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:53:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 53 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_LU_refine': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:65:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 65 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:65:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 65 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:65:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 65 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_LU_invert': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:82:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 82 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:82:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 82 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:82:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 82 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_decomp': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:250:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 250 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:250:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 250 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:250:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 250 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_decomp2': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:263:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 263 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:263:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 263 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:263:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 263 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_solve': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:281:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 281 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:281:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 281 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:281:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 281 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_svx': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:292:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 292 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:292:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 292 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:292:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 292 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_QRsolve': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:304:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 304 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:304:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 304 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:304:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 304 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_update': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:316:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 316 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:316:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 316 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:316:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 316 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_Rsolve': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:328:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 328 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:328:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 328 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:328:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 328 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_Rsvx': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:339:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 339 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:339:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 339 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:339:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 339 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_decomp': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:524:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 524 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:524:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 524 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:524:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 524 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_decomp2': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:537:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 537 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:537:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 537 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:537:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 537 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_solve_T': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:554:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 554 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:554:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 554 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:554:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 554 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_svx_T': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:565:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 565 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:565:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 565 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:565:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 565 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_LQsolve_T': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:576:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 576 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:576:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 576 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:576:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 576 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_Lsolve_T': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:587:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 587 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:587:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 587 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:587:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 587 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_Lsvx_T': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:598:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 598 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:598:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 598 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:598:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 598 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_update': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg.c:609:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 609 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg.c:609:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 609 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg.c:609:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 609 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - File "src/dune", line 24, characters 4-24: - 24 | mlgsl_linalg_complex - ^^^^^^^^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_linalg_complex.o -c mlgsl_linalg_complex.c) - In file included from mlgsl_matrix_complex.h:2, - from mlgsl_linalg_complex.c:8: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_matrix_complex.h:13: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_complex': - mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - In file included from mlgsl_vector_complex.h:11, - from mlgsl_linalg_complex.c:9: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray_complex': - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - In file included from mlgsl_linalg_complex.c:10: - mlgsl_linalg_complex.c: In function 'ml_gsl_linalg_complex_LU_decomp': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg_complex.c:19:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 19 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg_complex.c:19:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 19 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg_complex.c:19:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 19 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg_complex.c: In function 'ml_gsl_linalg_complex_LU_solve': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg_complex.c:28:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 28 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg_complex.c:28:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 28 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg_complex.c:28:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 28 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg_complex.c: In function 'ml_gsl_linalg_complex_LU_svx': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg_complex.c:39:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 39 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg_complex.c:39:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 39 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg_complex.c:39:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 39 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg_complex.c: In function 'ml_gsl_linalg_complex_LU_refine': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg_complex.c:51:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 51 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg_complex.c:51:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 51 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg_complex.c:51:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 51 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_linalg_complex.c: In function 'ml_gsl_linalg_complex_LU_invert': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_linalg_complex.c:68:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 68 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_linalg_complex.c:68:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 68 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_linalg_complex.c:68:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 68 | GSL_PERMUT_OF_BIGARRAY(P); - | ^~~~~~~~~~~~~~~~~~~~~~ - In file included from mlgsl_matrix_double.h:11, - from mlgsl_linalg_complex.c:112: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - In file included from mlgsl_vector_double.h:9, - from mlgsl_linalg_complex.c:113: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_math.o -c mlgsl_math.c) - In file included from mlgsl_math.c:8: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - File "src/dune", line 26, characters 4-24: - 26 | mlgsl_matrix_complex - ^^^^^^^^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_matrix_complex.o -c mlgsl_matrix_complex.c) - In file included from mlgsl_matrix_complex.h:2, - from mlgsl_matrix_complex.c:2: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_matrix_complex.h:13: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_complex': - mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - File "src/dune", line 27, characters 4-30: - 27 | mlgsl_matrix_complex_float - ^^^^^^^^^^^^^^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_matrix_complex_float.o -c mlgsl_matrix_complex_float.c) - In file included from mlgsl_matrix_complex_float.h:2, - from mlgsl_matrix_complex_float.c:2: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_matrix_complex_float.h:13: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_complex_float': - mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - File "src/dune", line 28, characters 4-23: - 28 | mlgsl_matrix_double - ^^^^^^^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_matrix_double.o -c mlgsl_matrix_double.c) - In file included from mlgsl_matrix.h:9, - from mlgsl_matrix_double.h:11, - from mlgsl_matrix_double.c:2: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': - mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - File "src/dune", line 29, characters 4-22: - 29 | mlgsl_matrix_float - ^^^^^^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_matrix_float.o -c mlgsl_matrix_float.c) - In file included from mlgsl_matrix_float.h:2, - from mlgsl_matrix_float.c:2: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_matrix_float.h:13: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_float': - mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_min.o -c mlgsl_min.c) - In file included from mlgsl_min.c:11: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_min.c: In function 'ml_gsl_min_fminimizer_alloc': - mlgsl_min.c:30:10: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration] - 30 | params=stat_alloc(sizeof *params); - | ^~~~~~~~~~ - mlgsl_min.c:30:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 30 | params=stat_alloc(sizeof *params); - | ^ - mlgsl_min.c:39:3: warning: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration] - 39 | register_global_root(&(params->closure)); - | ^~~~~~~~~~~~~~~~~~~~ - | caml_register_global_root - mlgsl_min.c: In function 'ml_gsl_min_fminimizer_free': - mlgsl_min.c:56:3: warning: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration] - 56 | remove_global_root(&(Mparams_val(s)->closure)); - | ^~~~~~~~~~~~~~~~~~ - | caml_remove_global_root - mlgsl_min.c:57:3: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration] - 57 | stat_free(Mparams_val(s)); - | ^~~~~~~~~ - | caml_stat_free - In file included from mlgsl_min.c:8: - mlgsl_min.c: In function 'ml_gsl_min_fminimizer_name': - mlgsl_min.c:62:45: warning: implicit declaration of function 'copy_string'; did you mean 'copysign'? [-Wimplicit-function-declaration] - 62 | ML1(gsl_min_fminimizer_name, Minimizer_val, copy_string) - | ^~~~~~~~~~~ - /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' - 423 | type caml__temp_result = (result); \ - | ^~~~~~ - wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' - 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } - | ^~~~~~~~~~ - mlgsl_min.c:62:1: note: in expansion of macro 'ML1' - 62 | ML1(gsl_min_fminimizer_name, Minimizer_val, copy_string) - | ^~~ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_monte.o -c mlgsl_monte.c) - In file included from mlgsl_monte.c:26: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_monte.c: In function 'ml_gsl_monte_plain_alloc': - mlgsl_monte.c:46:10: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration] - 46 | params=stat_alloc(sizeof(*params)); - | ^~~~~~~~~~ - mlgsl_monte.c:46:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 46 | params=stat_alloc(sizeof(*params)); - | ^ - mlgsl_monte.c:59:19: warning: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] - 59 | params->dbl = alloc(dim * Double_wosize, Double_array_tag); - | ^~~~~ - | valloc - mlgsl_monte.c:61:5: warning: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration] - 61 | register_global_root(&(params->closure)); - | ^~~~~~~~~~~~~~~~~~~~ - | caml_register_global_root - mlgsl_monte.c: In function 'ml_gsl_monte_plain_free': - mlgsl_monte.c:71:3: warning: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration] - 71 | remove_global_root(&(CallbackParams_val(s)->closure)); - | ^~~~~~~~~~~~~~~~~~ - | caml_remove_global_root - mlgsl_monte.c:73:3: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration] - 73 | stat_free(CallbackParams_val(s)); - | ^~~~~~~~~ - | caml_stat_free - mlgsl_monte.c: In function 'ml_gsl_monte_miser_alloc': - mlgsl_monte.c:122:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 122 | params=stat_alloc(sizeof(*params)); - | ^ - mlgsl_monte.c: In function 'ml_gsl_monte_miser_get_params': - mlgsl_monte.c:190:5: warning: implicit declaration of function 'alloc_tuple'; did you mean 'caml_alloc_tuple'? [-Wimplicit-function-declaration] - 190 | r=alloc_tuple(5); - | ^~~~~~~~~~~ - | caml_alloc_tuple - mlgsl_monte.c: In function 'ml_gsl_monte_vegas_alloc': - mlgsl_monte.c:223:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 223 | params=stat_alloc(sizeof(*params)); - | ^ - mlgsl_monte.c: In function 'ml_gsl_monte_vegas_set_params': - mlgsl_monte.c:341:7: warning: implicit declaration of function 'flush'; did you mean 'fflush'? [-Wimplicit-function-declaration] - 341 | flush(chan); - | ^~~~~ - | fflush - File "src/dune", line 32, characters 4-18: - 32 | mlgsl_multifit - ^^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_multifit.o -c mlgsl_multifit.c) - In file included from mlgsl_multifit.c:12: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_vector_double.h:9, - from mlgsl_multifit.c:14: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': - mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - In file included from mlgsl_matrix_double.h:11, - from mlgsl_multifit.c:15: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - mlgsl_multifit.c: In function 'ml_gsl_multifit_fdfsolver_alloc': - mlgsl_multifit.c:34:10: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration] - 34 | params=stat_alloc(sizeof(*params)); - | ^~~~~~~~~~ - mlgsl_multifit.c:34:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 34 | params=stat_alloc(sizeof(*params)); - | ^ - mlgsl_multifit.c:48:3: warning: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration] - 48 | register_global_root(&(params->closure)); - | ^~~~~~~~~~~~~~~~~~~~ - | caml_register_global_root - mlgsl_multifit.c: In function 'ml_gsl_multifit_fdfsolver_free': - mlgsl_multifit.c:68:3: warning: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration] - 68 | remove_global_root(&(p->closure)); - | ^~~~~~~~~~~~~~~~~~ - | caml_remove_global_root - mlgsl_multifit.c:69:3: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration] - 69 | stat_free(p); - | ^~~~~~~~~ - | caml_stat_free - In file included from mlgsl_multifit.c:9: - mlgsl_multifit.c: In function 'ml_gsl_multifit_fdfsolver_name': - mlgsl_multifit.c:74:49: warning: implicit declaration of function 'copy_string'; did you mean 'copysign'? [-Wimplicit-function-declaration] - 74 | ML1(gsl_multifit_fdfsolver_name, FDFSOLVER_VAL, copy_string) - | ^~~~~~~~~~~ - /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' - 423 | type caml__temp_result = (result); \ - | ^~~~~~ - wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' - 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } - | ^~~~~~~~~~ - mlgsl_multifit.c:74:1: note: in expansion of macro 'ML1' - 74 | ML1(gsl_multifit_fdfsolver_name, FDFSOLVER_VAL, copy_string) - | ^~~ - File "src/dune", line 33, characters 4-18: - 33 | mlgsl_multimin - ^^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_multimin.o -c mlgsl_multimin.c) - In file included from mlgsl_multimin.c:12: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_vector_double.h:9, - from mlgsl_multimin.c:14: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': - mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - In file included from mlgsl_matrix_double.h:11, - from mlgsl_multimin.c:15: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - mlgsl_multimin.c: In function 'ml_gsl_multimin_fdfminimizer_alloc': - mlgsl_multimin.c:38:10: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration] - 38 | params=stat_alloc(sizeof(*params)); - | ^~~~~~~~~~ - mlgsl_multimin.c:38:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 38 | params=stat_alloc(sizeof(*params)); - | ^ - mlgsl_multimin.c:51:3: warning: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration] - 51 | register_global_root(&(params->closure)); - | ^~~~~~~~~~~~~~~~~~~~ - | caml_register_global_root - mlgsl_multimin.c: In function 'ml_gsl_multimin_fdfminimizer_free': - mlgsl_multimin.c:74:3: warning: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration] - 74 | remove_global_root(&(p->closure)); - | ^~~~~~~~~~~~~~~~~~ - | caml_remove_global_root - mlgsl_multimin.c:75:3: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration] - 75 | stat_free(p); - | ^~~~~~~~~ - | caml_stat_free - In file included from mlgsl_multimin.c:8: - mlgsl_multimin.c: In function 'ml_gsl_multimin_fdfminimizer_name': - mlgsl_multimin.c:80:66: warning: implicit declaration of function 'copy_string'; did you mean 'copysign'? [-Wimplicit-function-declaration] - 80 | ML1(gsl_multimin_fdfminimizer_name, GSLMULTIMINFDFMINIMIZER_VAL, copy_string) - | ^~~~~~~~~~~ - /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' - 423 | type caml__temp_result = (result); \ - | ^~~~~~ - wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' - 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } - | ^~~~~~~~~~ - mlgsl_multimin.c:80:1: note: in expansion of macro 'ML1' - 80 | ML1(gsl_multimin_fdfminimizer_name, GSLMULTIMINFDFMINIMIZER_VAL, copy_string) - | ^~~ - mlgsl_multimin.c: In function 'ml_gsl_multimin_fminimizer_alloc': - mlgsl_multimin.c:137:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 137 | params=stat_alloc(sizeof(*params)); - | ^ - File "src/dune", line 34, characters 4-20: - 34 | mlgsl_multiroots - ^^^^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_multiroots.o -c mlgsl_multiroots.c) - In file included from mlgsl_multiroots.c:12: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_vector_double.h:9, - from mlgsl_multiroots.c:14: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': - mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - In file included from mlgsl_matrix_double.h:11, - from mlgsl_multiroots.c:15: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - mlgsl_multiroots.c: In function 'ml_gsl_multiroot_fsolver_alloc': - mlgsl_multiroots.c:48:10: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration] - 48 | params=stat_alloc(sizeof(*params)); - | ^~~~~~~~~~ - mlgsl_multiroots.c:48:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 48 | params=stat_alloc(sizeof(*params)); - | ^ - mlgsl_multiroots.c:58:3: warning: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration] - 58 | register_global_root(&(params->closure)); - | ^~~~~~~~~~~~~~~~~~~~ - | caml_register_global_root - mlgsl_multiroots.c: In function 'ml_gsl_multiroot_fdfsolver_alloc': - mlgsl_multiroots.c:71:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 71 | params=stat_alloc(sizeof(*params)); - | ^ - mlgsl_multiroots.c: In function 'ml_gsl_multiroot_fsolver_free': - mlgsl_multiroots.c:118:3: warning: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration] - 118 | remove_global_root(&(p->closure)); - | ^~~~~~~~~~~~~~~~~~ - | caml_remove_global_root - mlgsl_multiroots.c:119:3: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration] - 119 | stat_free(p); - | ^~~~~~~~~ - | caml_stat_free - In file included from mlgsl_multiroots.c:8: - mlgsl_multiroots.c: In function 'ml_gsl_multiroot_fsolver_name': - mlgsl_multiroots.c:133:57: warning: implicit declaration of function 'copy_string'; did you mean 'copysign'? [-Wimplicit-function-declaration] - 133 | ML1(gsl_multiroot_fsolver_name, GSLMULTIROOTSOLVER_VAL, copy_string) - | ^~~~~~~~~~~ - /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' - 423 | type caml__temp_result = (result); \ - | ^~~~~~ - wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' - 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } - | ^~~~~~~~~~ - mlgsl_multiroots.c:133:1: note: in expansion of macro 'ML1' - 133 | ML1(gsl_multiroot_fsolver_name, GSLMULTIROOTSOLVER_VAL, copy_string) - | ^~~ - File "src/dune", line 35, characters 4-15: - 35 | mlgsl_odeiv - ^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_odeiv.o -c mlgsl_odeiv.c) - In file included from mlgsl_odeiv.c:17: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_odeiv.c: In function 'ml_gsl_odeiv_func': - mlgsl_odeiv.c:35:9: warning: implicit declaration of function 'callback3_exn'; did you mean 'caml_callback3_exn'? [-Wimplicit-function-declaration] - 35 | res = callback3_exn(p->closure, vt, p->arr1, p->arr2); - | ^~~~~~~~~~~~~ - | caml_callback3_exn - mlgsl_odeiv.c: In function 'ml_gsl_odeiv_jacobian': - mlgsl_odeiv.c:51:3: warning: implicit declaration of function 'Data_bigarray_val'; did you mean 'Caml_ba_array_val'? [-Wimplicit-function-declaration] - 51 | Data_bigarray_val(p->mat) = dfdy; - | ^~~~~~~~~~~~~~~~~ - | Caml_ba_array_val - mlgsl_odeiv.c:51:29: error: lvalue required as left operand of assignment - 51 | Data_bigarray_val(p->mat) = dfdy; - | ^ - mlgsl_odeiv.c:54:9: warning: implicit declaration of function 'callbackN_exn'; did you mean 'caml_callbackN_exn'? [-Wimplicit-function-declaration] - 54 | res = callbackN_exn(p->jac_closure, 4, args); - | ^~~~~~~~~~~~~ - | caml_callbackN_exn - mlgsl_odeiv.c: In function 'ml_gsl_odeiv_alloc_system': - mlgsl_odeiv.c:63:26: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) - 63 | const int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT | BIGARRAY_EXTERNAL; - | ^~~~~~~~~~~~~~~~ - mlgsl_odeiv.c:63:26: note: each undeclared identifier is reported only once for each function it appears in - mlgsl_odeiv.c:63:45: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) - 63 | const int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT | BIGARRAY_EXTERNAL; - | ^~~~~~~~~~~~~~~~~ - mlgsl_odeiv.c:63:65: error: 'BIGARRAY_EXTERNAL' undeclared (first use in this function) - 63 | const int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT | BIGARRAY_EXTERNAL; - | ^~~~~~~~~~~~~~~~~ - mlgsl_odeiv.c:67:5: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration] - 67 | p=stat_alloc(sizeof (*p)); - | ^~~~~~~~~~ - mlgsl_odeiv.c:67:4: warning: assignment to 'struct mlgsl_odeiv_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 67 | p=stat_alloc(sizeof (*p)); - | ^ - mlgsl_odeiv.c:70:3: warning: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration] - 70 | register_global_root(&(p->closure)); - | ^~~~~~~~~~~~~~~~~~~~ - | caml_register_global_root - mlgsl_odeiv.c:73:13: warning: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] - 73 | p->arr1 = alloc(Int_val(dim) * Double_wosize, Double_array_tag); - | ^~~~~ - | valloc - mlgsl_odeiv.c:80:7: warning: implicit declaration of function 'alloc_bigarray_dims' [-Wimplicit-function-declaration] - 80 | : alloc_bigarray_dims(barr_flags, 2, NULL, Int_val(dim), Int_val(dim)); - | ^~~~~~~~~~~~~~~~~~~ - mlgsl_odeiv.c:83:7: warning: assignment to 'gsl_odeiv_system *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 83 | syst=stat_alloc(sizeof (*syst)); - | ^ - mlgsl_odeiv.c: In function 'ml_gsl_odeiv_free_system': - mlgsl_odeiv.c:98:3: warning: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration] - 98 | remove_global_root(&(p->closure)); - | ^~~~~~~~~~~~~~~~~~ - | caml_remove_global_root - mlgsl_odeiv.c:103:3: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration] - 103 | stat_free(p); - | ^~~~~~~~~ - | caml_stat_free - In file included from mlgsl_odeiv.c:10: - mlgsl_odeiv.c: In function 'ml_gsl_odeiv_step_name': - mlgsl_odeiv.c:129:42: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration] - 129 | ML1(gsl_odeiv_step_name, ODEIV_STEP_VAL, copy_string) - | ^~~~~~~~~~~ - /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' - 423 | type caml__temp_result = (result); \ - | ^~~~~~ - wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' - 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } - | ^~~~~~~~~~ - mlgsl_odeiv.c:129:1: note: in expansion of macro 'ML1' - 129 | ML1(gsl_odeiv_step_name, ODEIV_STEP_VAL, copy_string) - | ^~~ - File "src/dune", line 36, characters 4-16: - 36 | mlgsl_permut - ^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_permut.o -c mlgsl_permut.c) - In file included from mlgsl_permut.c:9: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_permut.c:10: - mlgsl_permut.c: In function 'ml_gsl_permutation_init': - mlgsl_permut.h:9:40: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:14:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 14 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:14:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 14 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:14:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 14 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:14:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 14 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c: In function 'ml_gsl_permutation_valid': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:22:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 22 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:22:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 22 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:22:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 22 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c: In function 'ml_gsl_permutation_reverse': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:29:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 29 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:29:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 29 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:29:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 29 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c: In function 'ml_gsl_permutation_inverse': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:36:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 36 | GSL_PERMUT_OF_BIGARRAY(src); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:36:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 36 | GSL_PERMUT_OF_BIGARRAY(src); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:36:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 36 | GSL_PERMUT_OF_BIGARRAY(src); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:37:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 37 | GSL_PERMUT_OF_BIGARRAY(dst); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:37:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 37 | GSL_PERMUT_OF_BIGARRAY(dst); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:37:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 37 | GSL_PERMUT_OF_BIGARRAY(dst); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c: In function 'ml_gsl_permutation_next': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:44:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 44 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:44:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 44 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:44:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 44 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c: In function 'ml_gsl_permutation_prev': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:51:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 51 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:51:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 51 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:51:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 51 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c: In function 'ml_gsl_permute': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:58:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 58 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:58:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 58 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:58:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 58 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c: In function 'ml_gsl_permute_barr': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:69:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 69 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:69:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 69 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:69:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 69 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c:70:32: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 70 | struct caml_bigarray *barr = Bigarray_val(arr); - | ^~~~~~~~~~~~ - mlgsl_permut.c:71:8: error: variable 'kind' has initializer but incomplete type - 71 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; - | ^~~~~~~~~~~~~~~~~~ - mlgsl_permut.c:71:39: error: invalid use of undefined type 'struct caml_bigarray' - 71 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; - | ^~ - mlgsl_permut.c:71:50: error: 'BIGARRAY_KIND_MASK' undeclared (first use in this function) - 71 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; - | ^~~~~~~~~~~~~~~~~~ - mlgsl_permut.c:71:50: note: each undeclared identifier is reported only once for each function it appears in - mlgsl_permut.c:71:27: error: storage size of 'kind' isn't known - 71 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; - | ^~~~ - mlgsl_permut.c:73:8: error: 'BIGARRAY_FLOAT32' undeclared (first use in this function) - 73 | case BIGARRAY_FLOAT32: - | ^~~~~~~~~~~~~~~~ - mlgsl_permut.c:74:40: error: invalid use of undefined type 'struct caml_bigarray' - 74 | gsl_permute_float(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:74:55: error: invalid use of undefined type 'struct caml_bigarray' - 74 | gsl_permute_float(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:75:8: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) - 75 | case BIGARRAY_FLOAT64: - | ^~~~~~~~~~~~~~~~ - mlgsl_permut.c:76:34: error: invalid use of undefined type 'struct caml_bigarray' - 76 | gsl_permute(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:76:49: error: invalid use of undefined type 'struct caml_bigarray' - 76 | gsl_permute(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:77:8: error: 'BIGARRAY_SINT8' undeclared (first use in this function) - 77 | case BIGARRAY_SINT8: - | ^~~~~~~~~~~~~~ - mlgsl_permut.c:78:39: error: invalid use of undefined type 'struct caml_bigarray' - 78 | gsl_permute_char(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:78:54: error: invalid use of undefined type 'struct caml_bigarray' - 78 | gsl_permute_char(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:79:8: error: 'BIGARRAY_UINT8' undeclared (first use in this function) - 79 | case BIGARRAY_UINT8: - | ^~~~~~~~~~~~~~ - mlgsl_permut.c:80:40: error: invalid use of undefined type 'struct caml_bigarray' - 80 | gsl_permute_uchar(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:80:55: error: invalid use of undefined type 'struct caml_bigarray' - 80 | gsl_permute_uchar(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:81:8: error: 'BIGARRAY_SINT16' undeclared (first use in this function) - 81 | case BIGARRAY_SINT16: - | ^~~~~~~~~~~~~~~ - mlgsl_permut.c:82:40: error: invalid use of undefined type 'struct caml_bigarray' - 82 | gsl_permute_short(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:82:55: error: invalid use of undefined type 'struct caml_bigarray' - 82 | gsl_permute_short(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:83:8: error: 'BIGARRAY_UINT16' undeclared (first use in this function) - 83 | case BIGARRAY_UINT16: - | ^~~~~~~~~~~~~~~ - mlgsl_permut.c:84:41: error: invalid use of undefined type 'struct caml_bigarray' - 84 | gsl_permute_ushort(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:84:56: error: invalid use of undefined type 'struct caml_bigarray' - 84 | gsl_permute_ushort(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:86:8: error: 'BIGARRAY_INT64' undeclared (first use in this function) - 86 | case BIGARRAY_INT64: - | ^~~~~~~~~~~~~~ - mlgsl_permut.c:90:8: error: 'BIGARRAY_CAML_INT' undeclared (first use in this function) - 90 | case BIGARRAY_CAML_INT: - | ^~~~~~~~~~~~~~~~~ - mlgsl_permut.c:91:8: error: 'BIGARRAY_NATIVE_INT' undeclared (first use in this function) - 91 | case BIGARRAY_NATIVE_INT: - | ^~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c:92:39: error: invalid use of undefined type 'struct caml_bigarray' - 92 | gsl_permute_long(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:92:54: error: invalid use of undefined type 'struct caml_bigarray' - 92 | gsl_permute_long(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:93:8: error: 'BIGARRAY_COMPLEX32' undeclared (first use in this function) - 93 | case BIGARRAY_COMPLEX32: - | ^~~~~~~~~~~~~~~~~~ - mlgsl_permut.c:94:48: error: invalid use of undefined type 'struct caml_bigarray' - 94 | gsl_permute_complex_float(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:94:63: error: invalid use of undefined type 'struct caml_bigarray' - 94 | gsl_permute_complex_float(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:95:8: error: 'BIGARRAY_COMPLEX64' undeclared (first use in this function) - 95 | case BIGARRAY_COMPLEX64: - | ^~~~~~~~~~~~~~~~~~ - mlgsl_permut.c:96:42: error: invalid use of undefined type 'struct caml_bigarray' - 96 | gsl_permute_complex(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:96:57: error: invalid use of undefined type 'struct caml_bigarray' - 96 | gsl_permute_complex(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c: In function 'ml_gsl_permute_complex': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:105:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 105 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:105:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 105 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:105:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 105 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c: In function 'ml_gsl_permute_inverse': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:113:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 113 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:113:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 113 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:113:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 113 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c: In function 'ml_gsl_permute_inverse_barr': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:124:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 124 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:124:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 124 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:124:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 124 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c:125:32: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 125 | struct caml_bigarray *barr = Bigarray_val(arr); - | ^~~~~~~~~~~~ - mlgsl_permut.c:126:8: error: variable 'kind' has initializer but incomplete type - 126 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; - | ^~~~~~~~~~~~~~~~~~ - mlgsl_permut.c:126:39: error: invalid use of undefined type 'struct caml_bigarray' - 126 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; - | ^~ - mlgsl_permut.c:126:50: error: 'BIGARRAY_KIND_MASK' undeclared (first use in this function) - 126 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; - | ^~~~~~~~~~~~~~~~~~ - mlgsl_permut.c:126:27: error: storage size of 'kind' isn't known - 126 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; - | ^~~~ - mlgsl_permut.c:128:8: error: 'BIGARRAY_FLOAT32' undeclared (first use in this function) - 128 | case BIGARRAY_FLOAT32: - | ^~~~~~~~~~~~~~~~ - mlgsl_permut.c:129:48: error: invalid use of undefined type 'struct caml_bigarray' - 129 | gsl_permute_float_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:129:63: error: invalid use of undefined type 'struct caml_bigarray' - 129 | gsl_permute_float_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:130:8: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) - 130 | case BIGARRAY_FLOAT64: - | ^~~~~~~~~~~~~~~~ - mlgsl_permut.c:131:42: error: invalid use of undefined type 'struct caml_bigarray' - 131 | gsl_permute_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:131:57: error: invalid use of undefined type 'struct caml_bigarray' - 131 | gsl_permute_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:132:8: error: 'BIGARRAY_SINT8' undeclared (first use in this function) - 132 | case BIGARRAY_SINT8: - | ^~~~~~~~~~~~~~ - mlgsl_permut.c:133:47: error: invalid use of undefined type 'struct caml_bigarray' - 133 | gsl_permute_char_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:133:62: error: invalid use of undefined type 'struct caml_bigarray' - 133 | gsl_permute_char_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:134:8: error: 'BIGARRAY_UINT8' undeclared (first use in this function) - 134 | case BIGARRAY_UINT8: - | ^~~~~~~~~~~~~~ - mlgsl_permut.c:135:48: error: invalid use of undefined type 'struct caml_bigarray' - 135 | gsl_permute_uchar_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:135:63: error: invalid use of undefined type 'struct caml_bigarray' - 135 | gsl_permute_uchar_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:136:8: error: 'BIGARRAY_SINT16' undeclared (first use in this function) - 136 | case BIGARRAY_SINT16: - | ^~~~~~~~~~~~~~~ - mlgsl_permut.c:137:48: error: invalid use of undefined type 'struct caml_bigarray' - 137 | gsl_permute_short_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:137:63: error: invalid use of undefined type 'struct caml_bigarray' - 137 | gsl_permute_short_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:138:8: error: 'BIGARRAY_UINT16' undeclared (first use in this function) - 138 | case BIGARRAY_UINT16: - | ^~~~~~~~~~~~~~~ - mlgsl_permut.c:139:49: error: invalid use of undefined type 'struct caml_bigarray' - 139 | gsl_permute_ushort_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:139:64: error: invalid use of undefined type 'struct caml_bigarray' - 139 | gsl_permute_ushort_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:141:8: error: 'BIGARRAY_INT64' undeclared (first use in this function) - 141 | case BIGARRAY_INT64: - | ^~~~~~~~~~~~~~ - mlgsl_permut.c:145:8: error: 'BIGARRAY_CAML_INT' undeclared (first use in this function) - 145 | case BIGARRAY_CAML_INT: - | ^~~~~~~~~~~~~~~~~ - mlgsl_permut.c:146:8: error: 'BIGARRAY_NATIVE_INT' undeclared (first use in this function) - 146 | case BIGARRAY_NATIVE_INT: - | ^~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c:147:47: error: invalid use of undefined type 'struct caml_bigarray' - 147 | gsl_permute_long_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:147:62: error: invalid use of undefined type 'struct caml_bigarray' - 147 | gsl_permute_long_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:148:8: error: 'BIGARRAY_COMPLEX32' undeclared (first use in this function) - 148 | case BIGARRAY_COMPLEX32: - | ^~~~~~~~~~~~~~~~~~ - mlgsl_permut.c:149:56: error: invalid use of undefined type 'struct caml_bigarray' - 149 | gsl_permute_complex_float_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:149:71: error: invalid use of undefined type 'struct caml_bigarray' - 149 | gsl_permute_complex_float_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:150:8: error: 'BIGARRAY_COMPLEX64' undeclared (first use in this function) - 150 | case BIGARRAY_COMPLEX64: - | ^~~~~~~~~~~~~~~~~~ - mlgsl_permut.c:151:50: error: invalid use of undefined type 'struct caml_bigarray' - 151 | gsl_permute_complex_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c:151:65: error: invalid use of undefined type 'struct caml_bigarray' - 151 | gsl_permute_complex_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; - | ^~ - mlgsl_permut.c: In function 'ml_gsl_permute_inverse_complex': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:160:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 160 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:160:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 160 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:160:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 160 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c: In function 'ml_gsl_permute_mul': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:168:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 168 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:168:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 168 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:168:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 168 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:169:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 169 | GSL_PERMUT_OF_BIGARRAY(pa); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:169:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 169 | GSL_PERMUT_OF_BIGARRAY(pa); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:169:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 169 | GSL_PERMUT_OF_BIGARRAY(pa); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:170:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 170 | GSL_PERMUT_OF_BIGARRAY(pb); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:170:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 170 | GSL_PERMUT_OF_BIGARRAY(pb); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:170:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 170 | GSL_PERMUT_OF_BIGARRAY(pb); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c: In function 'ml_gsl_permute_linear_to_canonical': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:177:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 177 | GSL_PERMUT_OF_BIGARRAY(q); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:177:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 177 | GSL_PERMUT_OF_BIGARRAY(q); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:177:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 177 | GSL_PERMUT_OF_BIGARRAY(q); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:178:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 178 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:178:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 178 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:178:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 178 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c: In function 'ml_gsl_permute_canonical_to_linear': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:185:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 185 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:185:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 185 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:185:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 185 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:186:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 186 | GSL_PERMUT_OF_BIGARRAY(q); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:186:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 186 | GSL_PERMUT_OF_BIGARRAY(q); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:186:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 186 | GSL_PERMUT_OF_BIGARRAY(q); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c: In function 'ml_gsl_permute_inversions': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:194:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 194 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:194:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 194 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:194:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 194 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c: In function 'ml_gsl_permute_canonical_cycles': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:202:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 202 | GSL_PERMUT_OF_BIGARRAY(q); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:202:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 202 | GSL_PERMUT_OF_BIGARRAY(q); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:202:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 202 | GSL_PERMUT_OF_BIGARRAY(q); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.c: In function 'ml_gsl_permute_linear_cycles': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_permut.c:210:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 210 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_permut.c:210:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 210 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_permut.c:210:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 210 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_poly.o -c mlgsl_poly.c) - In file included from mlgsl_poly.c:12: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_poly.c: In function 'ml_gsl_poly_solve_quadratic': - mlgsl_poly.c:32:11: warning: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] - 32 | r = alloc(2, 0); - | ^~~~~ - | valloc - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_qrng.o -c mlgsl_qrng.c) - In file included from mlgsl_qrng.c:8: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_qrng.c: In function 'ml_gsl_qrng_sample': - mlgsl_qrng.c:46:15: warning: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] - 46 | value arr = alloc(q->dimension * Double_wosize, Double_array_tag); - | ^~~~~ - | valloc - In file included from wrappers.h:10: - mlgsl_qrng.c: In function 'ml_gsl_qrng_name': - mlgsl_qrng.c:51:30: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration] - 51 | ML1(gsl_qrng_name, Qrng_val, copy_string) - | ^~~~~~~~~~~ - /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' - 423 | type caml__temp_result = (result); \ - | ^~~~~~ - wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' - 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } - | ^~~~~~~~~~ - mlgsl_qrng.c:51:1: note: in expansion of macro 'ML1' - 51 | ML1(gsl_qrng_name, Qrng_val, copy_string) - | ^~~ - File "src/dune", line 39, characters 4-17: - 39 | mlgsl_randist - ^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_randist.o -c mlgsl_randist.c) - In file included from mlgsl_randist.c:11: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_vector_double.h:9, - from mlgsl_randist.c:13: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': - mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - In file included from mlgsl_matrix_double.h:11, - from mlgsl_randist.c:14: - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - mlgsl_randist.c: In function 'ml_gsl_ran_dir_3d': - mlgsl_randist.c:195:7: warning: implicit declaration of function 'alloc_tuple'; did you mean 'caml_alloc_tuple'? [-Wimplicit-function-declaration] - 195 | r=alloc_tuple(3); - | ^~~~~~~~~~~ - | caml_alloc_tuple - mlgsl_randist.c: In function 'ml_gsl_ran_multinomial': - mlgsl_randist.c:244:9: warning: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] - 244 | r = alloc(K, 0); - | ^~~~~ - | valloc - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_rng.o -c mlgsl_rng.c) - In file included from mlgsl_rng.c:13: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_rng.c: In function 'int_of_rngtype': - mlgsl_rng.c:102:5: warning: implicit declaration of function 'failwith'; did you mean 'caml_failwith'? [-Wimplicit-function-declaration] - 102 | failwith("should not happen") ; - | ^~~~~~~~ - | caml_failwith - mlgsl_rng.c: In function 'ml_gsl_rng_get_default_seed': - mlgsl_rng.c:112:10: warning: implicit declaration of function 'copy_nativeint'; did you mean 'caml_copy_nativeint'? [-Wimplicit-function-declaration] - 112 | return copy_nativeint(gsl_rng_default_seed); - | ^~~~~~~~~~~~~~ - | caml_copy_nativeint - mlgsl_rng.c: In function 'ml_gsl_rng_name': - mlgsl_rng.c:148:10: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration] - 148 | return copy_string(gsl_rng_name(Rng_val(rng))); - | ^~~~~~~~~~~ - | caml_copy_string - mlgsl_rng.c: In function 'ml_gsl_rng_set_state': - mlgsl_rng.c:200:25: warning: implicit declaration of function 'string_length'; did you mean 'caml_string_length'? [-Wimplicit-function-declaration] - 200 | gsl_rng_size(r) != string_length(state) ) - | ^~~~~~~~~~~~~ - | caml_string_length - mlgsl_rng.c:201:5: warning: implicit declaration of function 'invalid_argument'; did you mean 'caml_invalid_argument'? [-Wimplicit-function-declaration] - 201 | invalid_argument("Gsl.Rng.set_state : wrong rng type"); - | ^~~~~~~~~~~~~~~~ - | caml_invalid_argument - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_roots.o -c mlgsl_roots.c) - In file included from mlgsl_roots.c:11: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_roots.c: In function 'ml_gsl_root_fsolver_alloc': - mlgsl_roots.c:38:10: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration] - 38 | params=stat_alloc(sizeof(*params)); - | ^~~~~~~~~~ - mlgsl_roots.c:38:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 38 | params=stat_alloc(sizeof(*params)); - | ^ - mlgsl_roots.c:51:5: warning: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration] - 51 | register_global_root(&(params->closure)); - | ^~~~~~~~~~~~~~~~~~~~ - | caml_register_global_root - mlgsl_roots.c: In function 'ml_gsl_root_fdfsolver_alloc': - mlgsl_roots.c:62:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 62 | params=stat_alloc(sizeof(*params)); - | ^ - mlgsl_roots.c: In function 'ml_gsl_root_fsolver_free': - mlgsl_roots.c:108:3: warning: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration] - 108 | remove_global_root(&(p->closure)); - | ^~~~~~~~~~~~~~~~~~ - | caml_remove_global_root - mlgsl_roots.c:109:3: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration] - 109 | stat_free(p); - | ^~~~~~~~~ - | caml_stat_free - In file included from mlgsl_roots.c:8: - mlgsl_roots.c: In function 'ml_gsl_root_fsolver_name': - mlgsl_roots.c:123:41: warning: implicit declaration of function 'copy_string'; did you mean 'copysign'? [-Wimplicit-function-declaration] - 123 | ML1(gsl_root_fsolver_name, Fsolver_val, copy_string) - | ^~~~~~~~~~~ - /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' - 423 | type caml__temp_result = (result); \ - | ^~~~~~ - wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' - 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } - | ^~~~~~~~~~ - mlgsl_roots.c:123:1: note: in expansion of macro 'ML1' - 123 | ML1(gsl_root_fsolver_name, Fsolver_val, copy_string) - | ^~~ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_sf.o -c mlgsl_sf.c) - In file included from mlgsl_sf.c:14: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - File "src/dune", line 43, characters 4-14: - 43 | mlgsl_sort - ^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_sort.o -c mlgsl_sort.c) - In file included from mlgsl_sort.c:11: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_vector_double.h:9, - from mlgsl_sort.c:12: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': - mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - In file included from mlgsl_sort.c:13: - mlgsl_sort.c: In function 'ml_gsl_sort_vector_index': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_sort.c:27:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 27 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_sort.c:27:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 27 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_sort.c:27:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 27 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_sort.c: In function 'ml_gsl_sort_vector_smallest_index': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_sort.c:55:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 55 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_sort.c:55:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 55 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_sort.c:55:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 55 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_sort.c: In function 'ml_gsl_sort_vector_largest_index': - mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ - | ^~~~~~~~~~~~ - mlgsl_sort.c:65:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 65 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' - 11 | /*.size =*/ bigarr_##arr->dim[0], \ - | ^~ - mlgsl_sort.c:65:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 65 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' - 12 | /*.data =*/ bigarr_##arr->data } - | ^~ - mlgsl_sort.c:65:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' - 65 | GSL_PERMUT_OF_BIGARRAY(p); - | ^~~~~~~~~~~~~~~~~~~~~~ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_stats.o -c mlgsl_stats.c) - In file included from mlgsl_stats.c:12: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_sum.o -c mlgsl_sum.c) - In file included from mlgsl_sum.c:10: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - File "src/dune", line 46, characters 4-23: - 46 | mlgsl_vector_double - ^^^^^^^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_vector_double.o -c mlgsl_vector_double.c) - In file included from mlgsl_vector.h:9, - from mlgsl_vector_double.h:9, - from mlgsl_vector_double.c:2: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': - mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - File "src/dune", line 47, characters 4-22: - 47 | mlgsl_vector_float - ^^^^^^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_vector_float.o -c mlgsl_vector_float.c) - In file included from mlgsl_vector_float.h:1, - from mlgsl_vector_float.c:2: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - In file included from mlgsl_vector_float.h:10: - mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray_float': - mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); - | ^~~~~~~~~~~~ - mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cvec->size = bigarr->dim[0]; - | ^~ - mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cvec->data = bigarr->data; - | ^~ - File "src/dune", line 48, characters 4-17: - 48 | mlgsl_wavelet - ^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_wavelet.o -c mlgsl_wavelet.c) - In file included from mlgsl_matrix.h:9, - from mlgsl_matrix_double.h:11, - from mlgsl_wavelet.c:13: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small - mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': - mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] - 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); - | ^~~~~~~~~~~~ - mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' - 20 | cmat->size1 = bigarr->dim[0]; - | ^~ - mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' - 21 | cmat->size2 = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' - 22 | cmat->tda = bigarr->dim[1]; - | ^~ - mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' - 23 | cmat->data = bigarr->data; - | ^~ - In file included from mlgsl_wavelet.c:6: - mlgsl_wavelet.c: In function 'ml_gsl_wavelet_name': - mlgsl_wavelet.c:42:37: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration] - 42 | ML1 (gsl_wavelet_name, Wavelet_val, copy_string) - | ^~~~~~~~~~~ - /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' - 423 | type caml__temp_result = (result); \ - | ^~~~~~ - wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' - 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } - | ^~~~~~~~~~ - mlgsl_wavelet.c:42:1: note: in expansion of macro 'ML1' - 42 | ML1 (gsl_wavelet_name, Wavelet_val, copy_string) - | ^~~ - mlgsl_wavelet.c: In function 'ml_gsl_wavelet_transform_bigarray': - mlgsl_wavelet.c:99:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 99 | struct caml_bigarray *bigarr = Bigarray_val(b); - | ^~~~~~~~~~~~ - mlgsl_wavelet.c:100:25: error: invalid use of undefined type 'struct caml_bigarray' - 100 | double *data = bigarr->data; - | ^~ - mlgsl_wavelet.c:101:25: error: invalid use of undefined type 'struct caml_bigarray' - 101 | size_t n = bigarr->dim[0]; - | ^~ - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_cdf.o -c mlgsl_cdf.c) - In file included from mlgsl_cdf.c:2: - wrappers.h: In function 'copy_two_double': - wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] - 34 | va = copy_double(a); - | ^~~~~~~~~~~ - | copy_two_double - wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] - 36 | r = alloc_small(2, 0); - | ^~~~~~~~~~~ - | caml_alloc_small [ERROR] The compilation of gsl.1.24.3 failed at "dune build -p gsl -j 1". #=== ERROR while compiling gsl.1.24.3 =========================================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-variants.5.0.0+trunk | file:///home/opam/opam-repository # path ~/.opam/5.0/.opam-switch/build/gsl.1.24.3 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p gsl -j 1 # exit-code 1 # env-file ~/.opam/log/gsl-9-11a858.env # output-file ~/.opam/log/gsl-9-11a858.out ### output ### # File "src/dune", line 4, characters 4-14: # 4 | mlgsl_blas # ^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_blas.o -c mlgsl_blas.c) # In file included from mlgsl_vector.h:9, # from mlgsl_vector_double.h:9, # from mlgsl_blas.c:8: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': # mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # In file included from mlgsl_matrix_double.h:11, # from mlgsl_blas.c:9: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # File "src/dune", line 5, characters 4-22: # 5 | mlgsl_blas_complex # ^^^^^^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_blas_complex.o -c mlgsl_blas_complex.c) # In file included from mlgsl_complex.h:7, # from mlgsl_blas_complex.c:7: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_vector_complex.h:11, # from mlgsl_blas_complex.c:8: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray_complex': # mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # In file included from mlgsl_matrix_complex.h:13, # from mlgsl_blas_complex.c:9: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_complex': # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # File "src/dune", line 6, characters 4-28: # 6 | mlgsl_blas_complex_float # ^^^^^^^^^^^^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_blas_complex_float.o -c mlgsl_blas_complex_float.c) # In file included from mlgsl_complex.h:7, # from mlgsl_blas_complex_float.c:9: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_vector_complex_float.h:11, # from mlgsl_blas_complex_float.c:10: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray_complex_float': # mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # In file included from mlgsl_matrix_complex_float.h:13, # from mlgsl_blas_complex_float.c:11: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_complex_float': # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # File "src/dune", line 7, characters 4-20: # 7 | mlgsl_blas_float # ^^^^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_blas_float.o -c mlgsl_blas_float.c) # In file included from mlgsl_vector_float.h:1, # from mlgsl_blas_float.c:8: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_vector_float.h:10: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray_float': # mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # In file included from mlgsl_matrix_float.h:13, # from mlgsl_blas_float.c:9: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_float': # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # File "src/dune", line 8, characters 4-17: # 8 | mlgsl_bspline # ^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_bspline.o -c mlgsl_bspline.c) # In file included from mlgsl_bspline.c:10: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_vector_double.h:9, # from mlgsl_bspline.c:25: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': # mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_cheb.o -c mlgsl_cheb.c) # In file included from mlgsl_cheb.c:12: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_cheb.c: In function 'ml_gsl_cheb_coefs': # mlgsl_cheb.c:30:7: warning: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] # 30 | a = alloc(len * Double_wosize, Double_array_tag); # | ^~~~~ # | valloc # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_combi.o -c mlgsl_combi.c) # mlgsl_combi.c: In function 'combi_of_val': # mlgsl_combi.c:11:15: warning: implicit declaration of function 'Data_bigarray_val'; did you mean 'Caml_ba_array_val'? [-Wimplicit-function-declaration] # 11 | c->data = Data_bigarray_val(Field(vc, 2)); # | ^~~~~~~~~~~~~~~~~ # | Caml_ba_array_val # mlgsl_combi.c:11:13: warning: assignment to 'size_t *' {aka 'long unsigned int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] # 11 | c->data = Data_bigarray_val(Field(vc, 2)); # | ^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_complex.o -c mlgsl_complex.c) # In file included from mlgsl_complex.h:7, # from mlgsl_complex.c:7: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_deriv.o -c mlgsl_deriv.c) # In file included from mlgsl_deriv.c:11: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # File "src/dune", line 14, characters 4-15: # 14 | mlgsl_eigen # ^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_eigen.o -c mlgsl_eigen.c) # In file included from mlgsl_eigen.c:8: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_vector_complex.h:11, # from mlgsl_eigen.c:12: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray_complex': # mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # In file included from mlgsl_matrix_complex.h:13, # from mlgsl_eigen.c:13: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_complex': # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # In file included from mlgsl_matrix_double.h:11, # from mlgsl_eigen.c:22: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # In file included from mlgsl_vector_double.h:9, # from mlgsl_eigen.c:23: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_error.o -c mlgsl_error.c) # mlgsl_error.c: In function 'ml_gsl_error_handler': # mlgsl_error.c:38:5: warning: implicit declaration of function 'failwith'; did you mean 'caml_failwith'? [-Wimplicit-function-declaration] # 38 | failwith("invalid GSL error code"); # | ^~~~~~~~ # | caml_failwith # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_fft.o -c mlgsl_fft.c) # In file included from mlgsl_fft.c:14: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_fft.c: In function 'check_layout': # mlgsl_fft.c:31:9: warning: implicit declaration of function 'invalid_argument'; did you mean 'caml_invalid_argument'? [-Wimplicit-function-declaration] # 31 | invalid_argument("wrong fft_array layout"); # | ^~~~~~~~~~~~~~~~ # | caml_invalid_argument # mlgsl_fft.c:33:5: warning: implicit declaration of function 'raise_constant'; did you mean 'caml_raise_constant'? [-Wimplicit-function-declaration] # 33 | raise_constant(*layout_exn); # | ^~~~~~~~~~~~~~ # | caml_raise_constant # File "src/dune", line 17, characters 4-13: # 17 | mlgsl_fit # ^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_fit.o -c mlgsl_fit.c) # In file included from mlgsl_fit.c:12: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_matrix_double.h:11, # from mlgsl_fit.c:13: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': # mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # In file included from mlgsl_vector_double.h:9, # from mlgsl_fit.c:14: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # File "src/dune", line 18, characters 4-13: # 18 | mlgsl_fun # ^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_fun.o -c mlgsl_fun.c) # In file included from mlgsl_fun.c:15: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_fun.c: In function 'gslfun_callback': # mlgsl_fun.c:25:7: warning: implicit declaration of function 'callback'; did you mean 'calloc'? [-Wimplicit-function-declaration] # 25 | res=callback(p->closure, v_x); # | ^~~~~~~~ # | calloc # mlgsl_fun.c: In function 'gsl_multiroot_callback': # mlgsl_fun.c:94:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) # 94 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~ # mlgsl_fun.c:94:20: note: each undeclared identifier is reported only once for each function it appears in # mlgsl_fun.c:94:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) # 94 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~~ # mlgsl_fun.c:100:12: warning: implicit declaration of function 'alloc_bigarray_dims' [-Wimplicit-function-declaration] # 100 | x_barr = alloc_bigarray_dims(barr_flags, 1, NULL, len); # | ^~~~~~~~~~~~~~~~~~~ # mlgsl_fun.c:102:31: warning: implicit declaration of function 'Data_bigarray_val'; did you mean 'Caml_ba_array_val'? [-Wimplicit-function-declaration] # 102 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); # | ^~~~~~~~~~~~~~~~~ # | Caml_ba_array_val # mlgsl_fun.c:102:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 102 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # In file included from /usr/include/gsl/gsl_vector_complex_double.h:28, # from /usr/include/gsl/gsl_vector.h:5, # from /usr/include/gsl/gsl_multiroots.h:26, # from mlgsl_fun.h:7, # from mlgsl_fun.c:16: # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c:103:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 103 | f_v = gsl_vector_view_array(Data_bigarray_val(f_barr), len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c:106:3: warning: implicit declaration of function 'callback2' [-Wimplicit-function-declaration] # 106 | callback2(p->closure, x_barr, f_barr); # | ^~~~~~~~~ # mlgsl_fun.c: In function 'gsl_multiroot_callback_f': # mlgsl_fun.c:113:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) # 113 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~ # mlgsl_fun.c:113:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) # 113 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~~ # mlgsl_fun.c:121:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 121 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c:122:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 122 | f_v = gsl_vector_view_array(Data_bigarray_val(f_barr), len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c: In function 'gsl_multiroot_callback_df': # mlgsl_fun.c:132:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) # 132 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~ # mlgsl_fun.c:132:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) # 132 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~~ # mlgsl_fun.c:141:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 141 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c:142:31: warning: passing argument 1 of 'gsl_matrix_view_array' makes pointer from integer without a cast [-Wint-conversion] # 142 | j_v = gsl_matrix_view_array(Data_bigarray_val(j_barr), len, len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # In file included from /usr/include/gsl/gsl_matrix.h:9, # from /usr/include/gsl/gsl_multiroots.h:27: # /usr/include/gsl/gsl_matrix_double.h:130:33: note: expected 'double *' but argument is of type 'int' # 130 | gsl_matrix_view_array (double * base, # | ~~~~~~~~~^~~~ # mlgsl_fun.c: In function 'gsl_multiroot_callback_fdf': # mlgsl_fun.c:153:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) # 153 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~ # mlgsl_fun.c:153:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) # 153 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~~ # mlgsl_fun.c:163:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 163 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c:164:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 164 | f_v = gsl_vector_view_array(Data_bigarray_val(f_barr), len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c:165:31: warning: passing argument 1 of 'gsl_matrix_view_array' makes pointer from integer without a cast [-Wint-conversion] # 165 | j_v = gsl_matrix_view_array(Data_bigarray_val(j_barr), len, len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_matrix_double.h:130:33: note: expected 'double *' but argument is of type 'int' # 130 | gsl_matrix_view_array (double * base, # | ~~~~~~~~~^~~~ # mlgsl_fun.c:168:3: warning: implicit declaration of function 'callback3' [-Wimplicit-function-declaration] # 168 | callback3(Field(p->closure, 2), x_barr, f_barr, j_barr); # | ^~~~~~~~~ # mlgsl_fun.c: In function 'gsl_multimin_callback': # mlgsl_fun.c:179:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) # 179 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~ # mlgsl_fun.c:179:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) # 179 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~~ # mlgsl_fun.c:187:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 187 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c: In function 'gsl_multimin_callback_f': # mlgsl_fun.c:196:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) # 196 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~ # mlgsl_fun.c:196:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) # 196 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~~ # mlgsl_fun.c:204:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 204 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c: In function 'gsl_multimin_callback_df': # mlgsl_fun.c:213:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) # 213 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~ # mlgsl_fun.c:213:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) # 213 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~~ # mlgsl_fun.c:221:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 221 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c:222:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 222 | g_v = gsl_vector_view_array(Data_bigarray_val(g_barr), len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c: In function 'gsl_multimin_callback_fdf': # mlgsl_fun.c:232:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) # 232 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~ # mlgsl_fun.c:232:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) # 232 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~~ # mlgsl_fun.c:241:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 241 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c:242:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 242 | g_v = gsl_vector_view_array(Data_bigarray_val(g_barr), len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c: In function 'gsl_multifit_callback_f': # mlgsl_fun.c:255:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) # 255 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~ # mlgsl_fun.c:255:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) # 255 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~~ # mlgsl_fun.c:264:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 264 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), p); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c:265:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 265 | f_v = gsl_vector_view_array(Data_bigarray_val(f_barr), n); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c: In function 'gsl_multifit_callback_df': # mlgsl_fun.c:275:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) # 275 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~ # mlgsl_fun.c:275:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) # 275 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~~ # mlgsl_fun.c:286:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 286 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), p); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c:287:31: warning: passing argument 1 of 'gsl_matrix_view_array' makes pointer from integer without a cast [-Wint-conversion] # 287 | j_v = gsl_matrix_view_array(Data_bigarray_val(j_barr), n, p); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_matrix_double.h:130:33: note: expected 'double *' but argument is of type 'int' # 130 | gsl_matrix_view_array (double * base, # | ~~~~~~~~~^~~~ # mlgsl_fun.c: In function 'gsl_multifit_callback_fdf': # mlgsl_fun.c:300:20: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) # 300 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~ # mlgsl_fun.c:300:39: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) # 300 | int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT; # | ^~~~~~~~~~~~~~~~~ # mlgsl_fun.c:311:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 311 | x_v = gsl_vector_view_array(Data_bigarray_val(x_barr), p); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c:312:31: warning: passing argument 1 of 'gsl_vector_view_array' makes pointer from integer without a cast [-Wint-conversion] # 312 | f_v = gsl_vector_view_array(Data_bigarray_val(f_barr), n); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_vector_double.h:87:32: note: expected 'double *' but argument is of type 'int' # 87 | gsl_vector_view_array (double *v, size_t n); # | ~~~~~~~~^ # mlgsl_fun.c:313:31: warning: passing argument 1 of 'gsl_matrix_view_array' makes pointer from integer without a cast [-Wint-conversion] # 313 | j_v = gsl_matrix_view_array(Data_bigarray_val(j_barr), n, p); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | int # /usr/include/gsl/gsl_matrix_double.h:130:33: note: expected 'double *' but argument is of type 'int' # 130 | gsl_matrix_view_array (double * base, # | ~~~~~~~~~^~~~ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_histo.o -c mlgsl_histo.c) # In file included from mlgsl_histo.c:13: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_ieee.o -c mlgsl_ieee.c) # In file included from mlgsl_ieee.c:12: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_ieee.c: In function 'rep_val': # mlgsl_ieee.c:18:5: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration] # 18 | m=copy_string(r->mantissa); # | ^~~~~~~~~~~ # | caml_copy_string # mlgsl_ieee.c: In function 'ml_gsl_ieee_set_mode': # mlgsl_ieee.c:53:14: warning: implicit declaration of function 'convert_flag_list'; did you mean 'caml_convert_flag_list'? [-Wimplicit-function-declaration] # 53 | int mask = convert_flag_list(ex_list, mask_conv); # | ^~~~~~~~~~~~~~~~~ # | caml_convert_flag_list # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_integration.o -c mlgsl_integration.c) # In file included from mlgsl_integration.c:15: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_interp.o -c mlgsl_interp.c) # In file included from mlgsl_interp.c:13: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_interp.c: In function 'ml_gsl_interp_name': # mlgsl_interp.c:50:10: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration] # 50 | return copy_string(gsl_interp_name(Interp_val(i))); # | ^~~~~~~~~~~ # | caml_copy_string # File "src/dune", line 23, characters 4-16: # 23 | mlgsl_linalg # ^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_linalg.o -c mlgsl_linalg.c) # In file included from mlgsl_matrix.h:9, # from mlgsl_matrix_double.h:11, # from mlgsl_linalg.c:8: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': # mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # In file included from mlgsl_vector_double.h:9, # from mlgsl_linalg.c:9: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # In file included from mlgsl_linalg.c:10: # mlgsl_linalg.c: In function 'ml_gsl_linalg_LU_decomp': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:33:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 33 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:33:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 33 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:33:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 33 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_LU_solve': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:42:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 42 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:42:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 42 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:42:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 42 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_LU_svx': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:53:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 53 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:53:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 53 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:53:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 53 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_LU_refine': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:65:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 65 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:65:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 65 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:65:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 65 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_LU_invert': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:82:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 82 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:82:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 82 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:82:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 82 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_decomp': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:250:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 250 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:250:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 250 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:250:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 250 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_decomp2': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:263:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 263 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:263:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 263 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:263:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 263 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_solve': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:281:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 281 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:281:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 281 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:281:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 281 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_svx': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:292:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 292 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:292:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 292 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:292:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 292 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_QRsolve': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:304:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 304 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:304:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 304 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:304:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 304 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_update': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:316:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 316 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:316:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 316 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:316:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 316 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_Rsolve': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:328:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 328 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:328:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 328 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:328:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 328 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_QRPT_Rsvx': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:339:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 339 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:339:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 339 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:339:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 339 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_decomp': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:524:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 524 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:524:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 524 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:524:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 524 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_decomp2': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:537:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 537 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:537:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 537 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:537:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 537 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_solve_T': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:554:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 554 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:554:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 554 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:554:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 554 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_svx_T': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:565:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 565 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:565:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 565 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:565:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 565 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_LQsolve_T': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:576:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 576 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:576:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 576 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:576:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 576 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_Lsolve_T': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:587:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 587 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:587:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 587 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:587:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 587 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_Lsvx_T': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:598:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 598 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:598:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 598 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:598:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 598 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg.c: In function 'ml_gsl_linalg_PTLQ_update': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg.c:609:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 609 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg.c:609:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 609 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg.c:609:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 609 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # File "src/dune", line 24, characters 4-24: # 24 | mlgsl_linalg_complex # ^^^^^^^^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_linalg_complex.o -c mlgsl_linalg_complex.c) # In file included from mlgsl_matrix_complex.h:2, # from mlgsl_linalg_complex.c:8: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_matrix_complex.h:13: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_complex': # mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # In file included from mlgsl_vector_complex.h:11, # from mlgsl_linalg_complex.c:9: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray_complex': # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # In file included from mlgsl_linalg_complex.c:10: # mlgsl_linalg_complex.c: In function 'ml_gsl_linalg_complex_LU_decomp': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg_complex.c:19:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 19 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg_complex.c:19:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 19 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg_complex.c:19:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 19 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg_complex.c: In function 'ml_gsl_linalg_complex_LU_solve': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg_complex.c:28:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 28 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg_complex.c:28:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 28 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg_complex.c:28:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 28 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg_complex.c: In function 'ml_gsl_linalg_complex_LU_svx': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg_complex.c:39:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 39 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg_complex.c:39:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 39 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg_complex.c:39:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 39 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg_complex.c: In function 'ml_gsl_linalg_complex_LU_refine': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg_complex.c:51:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 51 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg_complex.c:51:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 51 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg_complex.c:51:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 51 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_linalg_complex.c: In function 'ml_gsl_linalg_complex_LU_invert': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_linalg_complex.c:68:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 68 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_linalg_complex.c:68:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 68 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_linalg_complex.c:68:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 68 | GSL_PERMUT_OF_BIGARRAY(P); # | ^~~~~~~~~~~~~~~~~~~~~~ # In file included from mlgsl_matrix_double.h:11, # from mlgsl_linalg_complex.c:112: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # In file included from mlgsl_vector_double.h:9, # from mlgsl_linalg_complex.c:113: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_math.o -c mlgsl_math.c) # In file included from mlgsl_math.c:8: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # File "src/dune", line 26, characters 4-24: # 26 | mlgsl_matrix_complex # ^^^^^^^^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_matrix_complex.o -c mlgsl_matrix_complex.c) # In file included from mlgsl_matrix_complex.h:2, # from mlgsl_matrix_complex.c:2: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_matrix_complex.h:13: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_complex': # mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # File "src/dune", line 27, characters 4-30: # 27 | mlgsl_matrix_complex_float # ^^^^^^^^^^^^^^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_matrix_complex_float.o -c mlgsl_matrix_complex_float.c) # In file included from mlgsl_matrix_complex_float.h:2, # from mlgsl_matrix_complex_float.c:2: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_matrix_complex_float.h:13: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_complex_float': # mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # File "src/dune", line 28, characters 4-23: # 28 | mlgsl_matrix_double # ^^^^^^^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_matrix_double.o -c mlgsl_matrix_double.c) # In file included from mlgsl_matrix.h:9, # from mlgsl_matrix_double.h:11, # from mlgsl_matrix_double.c:2: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': # mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # File "src/dune", line 29, characters 4-22: # 29 | mlgsl_matrix_float # ^^^^^^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_matrix_float.o -c mlgsl_matrix_float.c) # In file included from mlgsl_matrix_float.h:2, # from mlgsl_matrix_float.c:2: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_matrix_float.h:13: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray_float': # mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_min.o -c mlgsl_min.c) # In file included from mlgsl_min.c:11: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_min.c: In function 'ml_gsl_min_fminimizer_alloc': # mlgsl_min.c:30:10: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration] # 30 | params=stat_alloc(sizeof *params); # | ^~~~~~~~~~ # mlgsl_min.c:30:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 30 | params=stat_alloc(sizeof *params); # | ^ # mlgsl_min.c:39:3: warning: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration] # 39 | register_global_root(&(params->closure)); # | ^~~~~~~~~~~~~~~~~~~~ # | caml_register_global_root # mlgsl_min.c: In function 'ml_gsl_min_fminimizer_free': # mlgsl_min.c:56:3: warning: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration] # 56 | remove_global_root(&(Mparams_val(s)->closure)); # | ^~~~~~~~~~~~~~~~~~ # | caml_remove_global_root # mlgsl_min.c:57:3: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration] # 57 | stat_free(Mparams_val(s)); # | ^~~~~~~~~ # | caml_stat_free # In file included from mlgsl_min.c:8: # mlgsl_min.c: In function 'ml_gsl_min_fminimizer_name': # mlgsl_min.c:62:45: warning: implicit declaration of function 'copy_string'; did you mean 'copysign'? [-Wimplicit-function-declaration] # 62 | ML1(gsl_min_fminimizer_name, Minimizer_val, copy_string) # | ^~~~~~~~~~~ # /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' # 423 | type caml__temp_result = (result); \ # | ^~~~~~ # wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' # 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } # | ^~~~~~~~~~ # mlgsl_min.c:62:1: note: in expansion of macro 'ML1' # 62 | ML1(gsl_min_fminimizer_name, Minimizer_val, copy_string) # | ^~~ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_monte.o -c mlgsl_monte.c) # In file included from mlgsl_monte.c:26: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_monte.c: In function 'ml_gsl_monte_plain_alloc': # mlgsl_monte.c:46:10: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration] # 46 | params=stat_alloc(sizeof(*params)); # | ^~~~~~~~~~ # mlgsl_monte.c:46:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 46 | params=stat_alloc(sizeof(*params)); # | ^ # mlgsl_monte.c:59:19: warning: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] # 59 | params->dbl = alloc(dim * Double_wosize, Double_array_tag); # | ^~~~~ # | valloc # mlgsl_monte.c:61:5: warning: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration] # 61 | register_global_root(&(params->closure)); # | ^~~~~~~~~~~~~~~~~~~~ # | caml_register_global_root # mlgsl_monte.c: In function 'ml_gsl_monte_plain_free': # mlgsl_monte.c:71:3: warning: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration] # 71 | remove_global_root(&(CallbackParams_val(s)->closure)); # | ^~~~~~~~~~~~~~~~~~ # | caml_remove_global_root # mlgsl_monte.c:73:3: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration] # 73 | stat_free(CallbackParams_val(s)); # | ^~~~~~~~~ # | caml_stat_free # mlgsl_monte.c: In function 'ml_gsl_monte_miser_alloc': # mlgsl_monte.c:122:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 122 | params=stat_alloc(sizeof(*params)); # | ^ # mlgsl_monte.c: In function 'ml_gsl_monte_miser_get_params': # mlgsl_monte.c:190:5: warning: implicit declaration of function 'alloc_tuple'; did you mean 'caml_alloc_tuple'? [-Wimplicit-function-declaration] # 190 | r=alloc_tuple(5); # | ^~~~~~~~~~~ # | caml_alloc_tuple # mlgsl_monte.c: In function 'ml_gsl_monte_vegas_alloc': # mlgsl_monte.c:223:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 223 | params=stat_alloc(sizeof(*params)); # | ^ # mlgsl_monte.c: In function 'ml_gsl_monte_vegas_set_params': # mlgsl_monte.c:341:7: warning: implicit declaration of function 'flush'; did you mean 'fflush'? [-Wimplicit-function-declaration] # 341 | flush(chan); # | ^~~~~ # | fflush # File "src/dune", line 32, characters 4-18: # 32 | mlgsl_multifit # ^^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_multifit.o -c mlgsl_multifit.c) # In file included from mlgsl_multifit.c:12: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_vector_double.h:9, # from mlgsl_multifit.c:14: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': # mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # In file included from mlgsl_matrix_double.h:11, # from mlgsl_multifit.c:15: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # mlgsl_multifit.c: In function 'ml_gsl_multifit_fdfsolver_alloc': # mlgsl_multifit.c:34:10: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration] # 34 | params=stat_alloc(sizeof(*params)); # | ^~~~~~~~~~ # mlgsl_multifit.c:34:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 34 | params=stat_alloc(sizeof(*params)); # | ^ # mlgsl_multifit.c:48:3: warning: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration] # 48 | register_global_root(&(params->closure)); # | ^~~~~~~~~~~~~~~~~~~~ # | caml_register_global_root # mlgsl_multifit.c: In function 'ml_gsl_multifit_fdfsolver_free': # mlgsl_multifit.c:68:3: warning: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration] # 68 | remove_global_root(&(p->closure)); # | ^~~~~~~~~~~~~~~~~~ # | caml_remove_global_root # mlgsl_multifit.c:69:3: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration] # 69 | stat_free(p); # | ^~~~~~~~~ # | caml_stat_free # In file included from mlgsl_multifit.c:9: # mlgsl_multifit.c: In function 'ml_gsl_multifit_fdfsolver_name': # mlgsl_multifit.c:74:49: warning: implicit declaration of function 'copy_string'; did you mean 'copysign'? [-Wimplicit-function-declaration] # 74 | ML1(gsl_multifit_fdfsolver_name, FDFSOLVER_VAL, copy_string) # | ^~~~~~~~~~~ # /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' # 423 | type caml__temp_result = (result); \ # | ^~~~~~ # wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' # 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } # | ^~~~~~~~~~ # mlgsl_multifit.c:74:1: note: in expansion of macro 'ML1' # 74 | ML1(gsl_multifit_fdfsolver_name, FDFSOLVER_VAL, copy_string) # | ^~~ # File "src/dune", line 33, characters 4-18: # 33 | mlgsl_multimin # ^^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_multimin.o -c mlgsl_multimin.c) # In file included from mlgsl_multimin.c:12: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_vector_double.h:9, # from mlgsl_multimin.c:14: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': # mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # In file included from mlgsl_matrix_double.h:11, # from mlgsl_multimin.c:15: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # mlgsl_multimin.c: In function 'ml_gsl_multimin_fdfminimizer_alloc': # mlgsl_multimin.c:38:10: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration] # 38 | params=stat_alloc(sizeof(*params)); # | ^~~~~~~~~~ # mlgsl_multimin.c:38:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 38 | params=stat_alloc(sizeof(*params)); # | ^ # mlgsl_multimin.c:51:3: warning: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration] # 51 | register_global_root(&(params->closure)); # | ^~~~~~~~~~~~~~~~~~~~ # | caml_register_global_root # mlgsl_multimin.c: In function 'ml_gsl_multimin_fdfminimizer_free': # mlgsl_multimin.c:74:3: warning: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration] # 74 | remove_global_root(&(p->closure)); # | ^~~~~~~~~~~~~~~~~~ # | caml_remove_global_root # mlgsl_multimin.c:75:3: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration] # 75 | stat_free(p); # | ^~~~~~~~~ # | caml_stat_free # In file included from mlgsl_multimin.c:8: # mlgsl_multimin.c: In function 'ml_gsl_multimin_fdfminimizer_name': # mlgsl_multimin.c:80:66: warning: implicit declaration of function 'copy_string'; did you mean 'copysign'? [-Wimplicit-function-declaration] # 80 | ML1(gsl_multimin_fdfminimizer_name, GSLMULTIMINFDFMINIMIZER_VAL, copy_string) # | ^~~~~~~~~~~ # /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' # 423 | type caml__temp_result = (result); \ # | ^~~~~~ # wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' # 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } # | ^~~~~~~~~~ # mlgsl_multimin.c:80:1: note: in expansion of macro 'ML1' # 80 | ML1(gsl_multimin_fdfminimizer_name, GSLMULTIMINFDFMINIMIZER_VAL, copy_string) # | ^~~ # mlgsl_multimin.c: In function 'ml_gsl_multimin_fminimizer_alloc': # mlgsl_multimin.c:137:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 137 | params=stat_alloc(sizeof(*params)); # | ^ # File "src/dune", line 34, characters 4-20: # 34 | mlgsl_multiroots # ^^^^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_multiroots.o -c mlgsl_multiroots.c) # In file included from mlgsl_multiroots.c:12: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_vector_double.h:9, # from mlgsl_multiroots.c:14: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': # mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # In file included from mlgsl_matrix_double.h:11, # from mlgsl_multiroots.c:15: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # mlgsl_multiroots.c: In function 'ml_gsl_multiroot_fsolver_alloc': # mlgsl_multiroots.c:48:10: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration] # 48 | params=stat_alloc(sizeof(*params)); # | ^~~~~~~~~~ # mlgsl_multiroots.c:48:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 48 | params=stat_alloc(sizeof(*params)); # | ^ # mlgsl_multiroots.c:58:3: warning: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration] # 58 | register_global_root(&(params->closure)); # | ^~~~~~~~~~~~~~~~~~~~ # | caml_register_global_root # mlgsl_multiroots.c: In function 'ml_gsl_multiroot_fdfsolver_alloc': # mlgsl_multiroots.c:71:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 71 | params=stat_alloc(sizeof(*params)); # | ^ # mlgsl_multiroots.c: In function 'ml_gsl_multiroot_fsolver_free': # mlgsl_multiroots.c:118:3: warning: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration] # 118 | remove_global_root(&(p->closure)); # | ^~~~~~~~~~~~~~~~~~ # | caml_remove_global_root # mlgsl_multiroots.c:119:3: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration] # 119 | stat_free(p); # | ^~~~~~~~~ # | caml_stat_free # In file included from mlgsl_multiroots.c:8: # mlgsl_multiroots.c: In function 'ml_gsl_multiroot_fsolver_name': # mlgsl_multiroots.c:133:57: warning: implicit declaration of function 'copy_string'; did you mean 'copysign'? [-Wimplicit-function-declaration] # 133 | ML1(gsl_multiroot_fsolver_name, GSLMULTIROOTSOLVER_VAL, copy_string) # | ^~~~~~~~~~~ # /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' # 423 | type caml__temp_result = (result); \ # | ^~~~~~ # wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' # 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } # | ^~~~~~~~~~ # mlgsl_multiroots.c:133:1: note: in expansion of macro 'ML1' # 133 | ML1(gsl_multiroot_fsolver_name, GSLMULTIROOTSOLVER_VAL, copy_string) # | ^~~ # File "src/dune", line 35, characters 4-15: # 35 | mlgsl_odeiv # ^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_odeiv.o -c mlgsl_odeiv.c) # In file included from mlgsl_odeiv.c:17: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_odeiv.c: In function 'ml_gsl_odeiv_func': # mlgsl_odeiv.c:35:9: warning: implicit declaration of function 'callback3_exn'; did you mean 'caml_callback3_exn'? [-Wimplicit-function-declaration] # 35 | res = callback3_exn(p->closure, vt, p->arr1, p->arr2); # | ^~~~~~~~~~~~~ # | caml_callback3_exn # mlgsl_odeiv.c: In function 'ml_gsl_odeiv_jacobian': # mlgsl_odeiv.c:51:3: warning: implicit declaration of function 'Data_bigarray_val'; did you mean 'Caml_ba_array_val'? [-Wimplicit-function-declaration] # 51 | Data_bigarray_val(p->mat) = dfdy; # | ^~~~~~~~~~~~~~~~~ # | Caml_ba_array_val # mlgsl_odeiv.c:51:29: error: lvalue required as left operand of assignment # 51 | Data_bigarray_val(p->mat) = dfdy; # | ^ # mlgsl_odeiv.c:54:9: warning: implicit declaration of function 'callbackN_exn'; did you mean 'caml_callbackN_exn'? [-Wimplicit-function-declaration] # 54 | res = callbackN_exn(p->jac_closure, 4, args); # | ^~~~~~~~~~~~~ # | caml_callbackN_exn # mlgsl_odeiv.c: In function 'ml_gsl_odeiv_alloc_system': # mlgsl_odeiv.c:63:26: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) # 63 | const int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT | BIGARRAY_EXTERNAL; # | ^~~~~~~~~~~~~~~~ # mlgsl_odeiv.c:63:26: note: each undeclared identifier is reported only once for each function it appears in # mlgsl_odeiv.c:63:45: error: 'BIGARRAY_C_LAYOUT' undeclared (first use in this function) # 63 | const int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT | BIGARRAY_EXTERNAL; # | ^~~~~~~~~~~~~~~~~ # mlgsl_odeiv.c:63:65: error: 'BIGARRAY_EXTERNAL' undeclared (first use in this function) # 63 | const int barr_flags = BIGARRAY_FLOAT64 | BIGARRAY_C_LAYOUT | BIGARRAY_EXTERNAL; # | ^~~~~~~~~~~~~~~~~ # mlgsl_odeiv.c:67:5: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration] # 67 | p=stat_alloc(sizeof (*p)); # | ^~~~~~~~~~ # mlgsl_odeiv.c:67:4: warning: assignment to 'struct mlgsl_odeiv_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 67 | p=stat_alloc(sizeof (*p)); # | ^ # mlgsl_odeiv.c:70:3: warning: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration] # 70 | register_global_root(&(p->closure)); # | ^~~~~~~~~~~~~~~~~~~~ # | caml_register_global_root # mlgsl_odeiv.c:73:13: warning: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] # 73 | p->arr1 = alloc(Int_val(dim) * Double_wosize, Double_array_tag); # | ^~~~~ # | valloc # mlgsl_odeiv.c:80:7: warning: implicit declaration of function 'alloc_bigarray_dims' [-Wimplicit-function-declaration] # 80 | : alloc_bigarray_dims(barr_flags, 2, NULL, Int_val(dim), Int_val(dim)); # | ^~~~~~~~~~~~~~~~~~~ # mlgsl_odeiv.c:83:7: warning: assignment to 'gsl_odeiv_system *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 83 | syst=stat_alloc(sizeof (*syst)); # | ^ # mlgsl_odeiv.c: In function 'ml_gsl_odeiv_free_system': # mlgsl_odeiv.c:98:3: warning: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration] # 98 | remove_global_root(&(p->closure)); # | ^~~~~~~~~~~~~~~~~~ # | caml_remove_global_root # mlgsl_odeiv.c:103:3: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration] # 103 | stat_free(p); # | ^~~~~~~~~ # | caml_stat_free # In file included from mlgsl_odeiv.c:10: # mlgsl_odeiv.c: In function 'ml_gsl_odeiv_step_name': # mlgsl_odeiv.c:129:42: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration] # 129 | ML1(gsl_odeiv_step_name, ODEIV_STEP_VAL, copy_string) # | ^~~~~~~~~~~ # /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' # 423 | type caml__temp_result = (result); \ # | ^~~~~~ # wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' # 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } # | ^~~~~~~~~~ # mlgsl_odeiv.c:129:1: note: in expansion of macro 'ML1' # 129 | ML1(gsl_odeiv_step_name, ODEIV_STEP_VAL, copy_string) # | ^~~ # File "src/dune", line 36, characters 4-16: # 36 | mlgsl_permut # ^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_permut.o -c mlgsl_permut.c) # In file included from mlgsl_permut.c:9: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_permut.c:10: # mlgsl_permut.c: In function 'ml_gsl_permutation_init': # mlgsl_permut.h:9:40: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:14:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 14 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:14:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 14 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:14:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 14 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:14:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 14 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c: In function 'ml_gsl_permutation_valid': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:22:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 22 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:22:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 22 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:22:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 22 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c: In function 'ml_gsl_permutation_reverse': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:29:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 29 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:29:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 29 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:29:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 29 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c: In function 'ml_gsl_permutation_inverse': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:36:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 36 | GSL_PERMUT_OF_BIGARRAY(src); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:36:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 36 | GSL_PERMUT_OF_BIGARRAY(src); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:36:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 36 | GSL_PERMUT_OF_BIGARRAY(src); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:37:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 37 | GSL_PERMUT_OF_BIGARRAY(dst); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:37:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 37 | GSL_PERMUT_OF_BIGARRAY(dst); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:37:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 37 | GSL_PERMUT_OF_BIGARRAY(dst); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c: In function 'ml_gsl_permutation_next': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:44:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 44 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:44:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 44 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:44:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 44 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c: In function 'ml_gsl_permutation_prev': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:51:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 51 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:51:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 51 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:51:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 51 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c: In function 'ml_gsl_permute': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:58:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 58 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:58:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 58 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:58:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 58 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c: In function 'ml_gsl_permute_barr': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:69:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 69 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:69:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 69 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:69:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 69 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c:70:32: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 70 | struct caml_bigarray *barr = Bigarray_val(arr); # | ^~~~~~~~~~~~ # mlgsl_permut.c:71:8: error: variable 'kind' has initializer but incomplete type # 71 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; # | ^~~~~~~~~~~~~~~~~~ # mlgsl_permut.c:71:39: error: invalid use of undefined type 'struct caml_bigarray' # 71 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; # | ^~ # mlgsl_permut.c:71:50: error: 'BIGARRAY_KIND_MASK' undeclared (first use in this function) # 71 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; # | ^~~~~~~~~~~~~~~~~~ # mlgsl_permut.c:71:50: note: each undeclared identifier is reported only once for each function it appears in # mlgsl_permut.c:71:27: error: storage size of 'kind' isn't known # 71 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; # | ^~~~ # mlgsl_permut.c:73:8: error: 'BIGARRAY_FLOAT32' undeclared (first use in this function) # 73 | case BIGARRAY_FLOAT32: # | ^~~~~~~~~~~~~~~~ # mlgsl_permut.c:74:40: error: invalid use of undefined type 'struct caml_bigarray' # 74 | gsl_permute_float(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:74:55: error: invalid use of undefined type 'struct caml_bigarray' # 74 | gsl_permute_float(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:75:8: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) # 75 | case BIGARRAY_FLOAT64: # | ^~~~~~~~~~~~~~~~ # mlgsl_permut.c:76:34: error: invalid use of undefined type 'struct caml_bigarray' # 76 | gsl_permute(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:76:49: error: invalid use of undefined type 'struct caml_bigarray' # 76 | gsl_permute(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:77:8: error: 'BIGARRAY_SINT8' undeclared (first use in this function) # 77 | case BIGARRAY_SINT8: # | ^~~~~~~~~~~~~~ # mlgsl_permut.c:78:39: error: invalid use of undefined type 'struct caml_bigarray' # 78 | gsl_permute_char(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:78:54: error: invalid use of undefined type 'struct caml_bigarray' # 78 | gsl_permute_char(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:79:8: error: 'BIGARRAY_UINT8' undeclared (first use in this function) # 79 | case BIGARRAY_UINT8: # | ^~~~~~~~~~~~~~ # mlgsl_permut.c:80:40: error: invalid use of undefined type 'struct caml_bigarray' # 80 | gsl_permute_uchar(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:80:55: error: invalid use of undefined type 'struct caml_bigarray' # 80 | gsl_permute_uchar(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:81:8: error: 'BIGARRAY_SINT16' undeclared (first use in this function) # 81 | case BIGARRAY_SINT16: # | ^~~~~~~~~~~~~~~ # mlgsl_permut.c:82:40: error: invalid use of undefined type 'struct caml_bigarray' # 82 | gsl_permute_short(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:82:55: error: invalid use of undefined type 'struct caml_bigarray' # 82 | gsl_permute_short(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:83:8: error: 'BIGARRAY_UINT16' undeclared (first use in this function) # 83 | case BIGARRAY_UINT16: # | ^~~~~~~~~~~~~~~ # mlgsl_permut.c:84:41: error: invalid use of undefined type 'struct caml_bigarray' # 84 | gsl_permute_ushort(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:84:56: error: invalid use of undefined type 'struct caml_bigarray' # 84 | gsl_permute_ushort(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:86:8: error: 'BIGARRAY_INT64' undeclared (first use in this function) # 86 | case BIGARRAY_INT64: # | ^~~~~~~~~~~~~~ # mlgsl_permut.c:90:8: error: 'BIGARRAY_CAML_INT' undeclared (first use in this function) # 90 | case BIGARRAY_CAML_INT: # | ^~~~~~~~~~~~~~~~~ # mlgsl_permut.c:91:8: error: 'BIGARRAY_NATIVE_INT' undeclared (first use in this function) # 91 | case BIGARRAY_NATIVE_INT: # | ^~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c:92:39: error: invalid use of undefined type 'struct caml_bigarray' # 92 | gsl_permute_long(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:92:54: error: invalid use of undefined type 'struct caml_bigarray' # 92 | gsl_permute_long(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:93:8: error: 'BIGARRAY_COMPLEX32' undeclared (first use in this function) # 93 | case BIGARRAY_COMPLEX32: # | ^~~~~~~~~~~~~~~~~~ # mlgsl_permut.c:94:48: error: invalid use of undefined type 'struct caml_bigarray' # 94 | gsl_permute_complex_float(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:94:63: error: invalid use of undefined type 'struct caml_bigarray' # 94 | gsl_permute_complex_float(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:95:8: error: 'BIGARRAY_COMPLEX64' undeclared (first use in this function) # 95 | case BIGARRAY_COMPLEX64: # | ^~~~~~~~~~~~~~~~~~ # mlgsl_permut.c:96:42: error: invalid use of undefined type 'struct caml_bigarray' # 96 | gsl_permute_complex(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:96:57: error: invalid use of undefined type 'struct caml_bigarray' # 96 | gsl_permute_complex(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c: In function 'ml_gsl_permute_complex': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:105:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 105 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:105:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 105 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:105:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 105 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c: In function 'ml_gsl_permute_inverse': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:113:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 113 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:113:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 113 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:113:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 113 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c: In function 'ml_gsl_permute_inverse_barr': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:124:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 124 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:124:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 124 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:124:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 124 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c:125:32: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 125 | struct caml_bigarray *barr = Bigarray_val(arr); # | ^~~~~~~~~~~~ # mlgsl_permut.c:126:8: error: variable 'kind' has initializer but incomplete type # 126 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; # | ^~~~~~~~~~~~~~~~~~ # mlgsl_permut.c:126:39: error: invalid use of undefined type 'struct caml_bigarray' # 126 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; # | ^~ # mlgsl_permut.c:126:50: error: 'BIGARRAY_KIND_MASK' undeclared (first use in this function) # 126 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; # | ^~~~~~~~~~~~~~~~~~ # mlgsl_permut.c:126:27: error: storage size of 'kind' isn't known # 126 | enum caml_bigarray_kind kind = (barr->flags) & BIGARRAY_KIND_MASK ; # | ^~~~ # mlgsl_permut.c:128:8: error: 'BIGARRAY_FLOAT32' undeclared (first use in this function) # 128 | case BIGARRAY_FLOAT32: # | ^~~~~~~~~~~~~~~~ # mlgsl_permut.c:129:48: error: invalid use of undefined type 'struct caml_bigarray' # 129 | gsl_permute_float_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:129:63: error: invalid use of undefined type 'struct caml_bigarray' # 129 | gsl_permute_float_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:130:8: error: 'BIGARRAY_FLOAT64' undeclared (first use in this function) # 130 | case BIGARRAY_FLOAT64: # | ^~~~~~~~~~~~~~~~ # mlgsl_permut.c:131:42: error: invalid use of undefined type 'struct caml_bigarray' # 131 | gsl_permute_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:131:57: error: invalid use of undefined type 'struct caml_bigarray' # 131 | gsl_permute_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:132:8: error: 'BIGARRAY_SINT8' undeclared (first use in this function) # 132 | case BIGARRAY_SINT8: # | ^~~~~~~~~~~~~~ # mlgsl_permut.c:133:47: error: invalid use of undefined type 'struct caml_bigarray' # 133 | gsl_permute_char_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:133:62: error: invalid use of undefined type 'struct caml_bigarray' # 133 | gsl_permute_char_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:134:8: error: 'BIGARRAY_UINT8' undeclared (first use in this function) # 134 | case BIGARRAY_UINT8: # | ^~~~~~~~~~~~~~ # mlgsl_permut.c:135:48: error: invalid use of undefined type 'struct caml_bigarray' # 135 | gsl_permute_uchar_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:135:63: error: invalid use of undefined type 'struct caml_bigarray' # 135 | gsl_permute_uchar_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:136:8: error: 'BIGARRAY_SINT16' undeclared (first use in this function) # 136 | case BIGARRAY_SINT16: # | ^~~~~~~~~~~~~~~ # mlgsl_permut.c:137:48: error: invalid use of undefined type 'struct caml_bigarray' # 137 | gsl_permute_short_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:137:63: error: invalid use of undefined type 'struct caml_bigarray' # 137 | gsl_permute_short_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:138:8: error: 'BIGARRAY_UINT16' undeclared (first use in this function) # 138 | case BIGARRAY_UINT16: # | ^~~~~~~~~~~~~~~ # mlgsl_permut.c:139:49: error: invalid use of undefined type 'struct caml_bigarray' # 139 | gsl_permute_ushort_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:139:64: error: invalid use of undefined type 'struct caml_bigarray' # 139 | gsl_permute_ushort_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:141:8: error: 'BIGARRAY_INT64' undeclared (first use in this function) # 141 | case BIGARRAY_INT64: # | ^~~~~~~~~~~~~~ # mlgsl_permut.c:145:8: error: 'BIGARRAY_CAML_INT' undeclared (first use in this function) # 145 | case BIGARRAY_CAML_INT: # | ^~~~~~~~~~~~~~~~~ # mlgsl_permut.c:146:8: error: 'BIGARRAY_NATIVE_INT' undeclared (first use in this function) # 146 | case BIGARRAY_NATIVE_INT: # | ^~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c:147:47: error: invalid use of undefined type 'struct caml_bigarray' # 147 | gsl_permute_long_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:147:62: error: invalid use of undefined type 'struct caml_bigarray' # 147 | gsl_permute_long_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:148:8: error: 'BIGARRAY_COMPLEX32' undeclared (first use in this function) # 148 | case BIGARRAY_COMPLEX32: # | ^~~~~~~~~~~~~~~~~~ # mlgsl_permut.c:149:56: error: invalid use of undefined type 'struct caml_bigarray' # 149 | gsl_permute_complex_float_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:149:71: error: invalid use of undefined type 'struct caml_bigarray' # 149 | gsl_permute_complex_float_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:150:8: error: 'BIGARRAY_COMPLEX64' undeclared (first use in this function) # 150 | case BIGARRAY_COMPLEX64: # | ^~~~~~~~~~~~~~~~~~ # mlgsl_permut.c:151:50: error: invalid use of undefined type 'struct caml_bigarray' # 151 | gsl_permute_complex_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c:151:65: error: invalid use of undefined type 'struct caml_bigarray' # 151 | gsl_permute_complex_inverse(perm_p.data, barr->data, 1, barr->dim[0]); break; # | ^~ # mlgsl_permut.c: In function 'ml_gsl_permute_inverse_complex': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:160:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 160 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:160:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 160 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:160:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 160 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c: In function 'ml_gsl_permute_mul': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:168:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 168 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:168:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 168 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:168:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 168 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:169:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 169 | GSL_PERMUT_OF_BIGARRAY(pa); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:169:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 169 | GSL_PERMUT_OF_BIGARRAY(pa); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:169:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 169 | GSL_PERMUT_OF_BIGARRAY(pa); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:170:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 170 | GSL_PERMUT_OF_BIGARRAY(pb); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:170:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 170 | GSL_PERMUT_OF_BIGARRAY(pb); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:170:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 170 | GSL_PERMUT_OF_BIGARRAY(pb); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c: In function 'ml_gsl_permute_linear_to_canonical': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:177:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 177 | GSL_PERMUT_OF_BIGARRAY(q); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:177:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 177 | GSL_PERMUT_OF_BIGARRAY(q); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:177:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 177 | GSL_PERMUT_OF_BIGARRAY(q); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:178:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 178 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:178:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 178 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:178:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 178 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c: In function 'ml_gsl_permute_canonical_to_linear': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:185:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 185 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:185:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 185 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:185:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 185 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:186:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 186 | GSL_PERMUT_OF_BIGARRAY(q); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:186:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 186 | GSL_PERMUT_OF_BIGARRAY(q); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:186:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 186 | GSL_PERMUT_OF_BIGARRAY(q); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c: In function 'ml_gsl_permute_inversions': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:194:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 194 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:194:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 194 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:194:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 194 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c: In function 'ml_gsl_permute_canonical_cycles': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:202:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 202 | GSL_PERMUT_OF_BIGARRAY(q); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:202:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 202 | GSL_PERMUT_OF_BIGARRAY(q); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:202:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 202 | GSL_PERMUT_OF_BIGARRAY(q); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.c: In function 'ml_gsl_permute_linear_cycles': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_permut.c:210:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 210 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_permut.c:210:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 210 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_permut.c:210:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 210 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_poly.o -c mlgsl_poly.c) # In file included from mlgsl_poly.c:12: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_poly.c: In function 'ml_gsl_poly_solve_quadratic': # mlgsl_poly.c:32:11: warning: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] # 32 | r = alloc(2, 0); # | ^~~~~ # | valloc # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_qrng.o -c mlgsl_qrng.c) # In file included from mlgsl_qrng.c:8: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_qrng.c: In function 'ml_gsl_qrng_sample': # mlgsl_qrng.c:46:15: warning: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] # 46 | value arr = alloc(q->dimension * Double_wosize, Double_array_tag); # | ^~~~~ # | valloc # In file included from wrappers.h:10: # mlgsl_qrng.c: In function 'ml_gsl_qrng_name': # mlgsl_qrng.c:51:30: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration] # 51 | ML1(gsl_qrng_name, Qrng_val, copy_string) # | ^~~~~~~~~~~ # /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' # 423 | type caml__temp_result = (result); \ # | ^~~~~~ # wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' # 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } # | ^~~~~~~~~~ # mlgsl_qrng.c:51:1: note: in expansion of macro 'ML1' # 51 | ML1(gsl_qrng_name, Qrng_val, copy_string) # | ^~~ # File "src/dune", line 39, characters 4-17: # 39 | mlgsl_randist # ^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_randist.o -c mlgsl_randist.c) # In file included from mlgsl_randist.c:11: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_vector_double.h:9, # from mlgsl_randist.c:13: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': # mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # In file included from mlgsl_matrix_double.h:11, # from mlgsl_randist.c:14: # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # mlgsl_randist.c: In function 'ml_gsl_ran_dir_3d': # mlgsl_randist.c:195:7: warning: implicit declaration of function 'alloc_tuple'; did you mean 'caml_alloc_tuple'? [-Wimplicit-function-declaration] # 195 | r=alloc_tuple(3); # | ^~~~~~~~~~~ # | caml_alloc_tuple # mlgsl_randist.c: In function 'ml_gsl_ran_multinomial': # mlgsl_randist.c:244:9: warning: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] # 244 | r = alloc(K, 0); # | ^~~~~ # | valloc # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_rng.o -c mlgsl_rng.c) # In file included from mlgsl_rng.c:13: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_rng.c: In function 'int_of_rngtype': # mlgsl_rng.c:102:5: warning: implicit declaration of function 'failwith'; did you mean 'caml_failwith'? [-Wimplicit-function-declaration] # 102 | failwith("should not happen") ; # | ^~~~~~~~ # | caml_failwith # mlgsl_rng.c: In function 'ml_gsl_rng_get_default_seed': # mlgsl_rng.c:112:10: warning: implicit declaration of function 'copy_nativeint'; did you mean 'caml_copy_nativeint'? [-Wimplicit-function-declaration] # 112 | return copy_nativeint(gsl_rng_default_seed); # | ^~~~~~~~~~~~~~ # | caml_copy_nativeint # mlgsl_rng.c: In function 'ml_gsl_rng_name': # mlgsl_rng.c:148:10: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration] # 148 | return copy_string(gsl_rng_name(Rng_val(rng))); # | ^~~~~~~~~~~ # | caml_copy_string # mlgsl_rng.c: In function 'ml_gsl_rng_set_state': # mlgsl_rng.c:200:25: warning: implicit declaration of function 'string_length'; did you mean 'caml_string_length'? [-Wimplicit-function-declaration] # 200 | gsl_rng_size(r) != string_length(state) ) # | ^~~~~~~~~~~~~ # | caml_string_length # mlgsl_rng.c:201:5: warning: implicit declaration of function 'invalid_argument'; did you mean 'caml_invalid_argument'? [-Wimplicit-function-declaration] # 201 | invalid_argument("Gsl.Rng.set_state : wrong rng type"); # | ^~~~~~~~~~~~~~~~ # | caml_invalid_argument # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_roots.o -c mlgsl_roots.c) # In file included from mlgsl_roots.c:11: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_roots.c: In function 'ml_gsl_root_fsolver_alloc': # mlgsl_roots.c:38:10: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration] # 38 | params=stat_alloc(sizeof(*params)); # | ^~~~~~~~~~ # mlgsl_roots.c:38:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 38 | params=stat_alloc(sizeof(*params)); # | ^ # mlgsl_roots.c:51:5: warning: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration] # 51 | register_global_root(&(params->closure)); # | ^~~~~~~~~~~~~~~~~~~~ # | caml_register_global_root # mlgsl_roots.c: In function 'ml_gsl_root_fdfsolver_alloc': # mlgsl_roots.c:62:9: warning: assignment to 'struct callback_params *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 62 | params=stat_alloc(sizeof(*params)); # | ^ # mlgsl_roots.c: In function 'ml_gsl_root_fsolver_free': # mlgsl_roots.c:108:3: warning: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration] # 108 | remove_global_root(&(p->closure)); # | ^~~~~~~~~~~~~~~~~~ # | caml_remove_global_root # mlgsl_roots.c:109:3: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration] # 109 | stat_free(p); # | ^~~~~~~~~ # | caml_stat_free # In file included from mlgsl_roots.c:8: # mlgsl_roots.c: In function 'ml_gsl_root_fsolver_name': # mlgsl_roots.c:123:41: warning: implicit declaration of function 'copy_string'; did you mean 'copysign'? [-Wimplicit-function-declaration] # 123 | ML1(gsl_root_fsolver_name, Fsolver_val, copy_string) # | ^~~~~~~~~~~ # /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' # 423 | type caml__temp_result = (result); \ # | ^~~~~~ # wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' # 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } # | ^~~~~~~~~~ # mlgsl_roots.c:123:1: note: in expansion of macro 'ML1' # 123 | ML1(gsl_root_fsolver_name, Fsolver_val, copy_string) # | ^~~ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_sf.o -c mlgsl_sf.c) # In file included from mlgsl_sf.c:14: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # File "src/dune", line 43, characters 4-14: # 43 | mlgsl_sort # ^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_sort.o -c mlgsl_sort.c) # In file included from mlgsl_sort.c:11: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_vector_double.h:9, # from mlgsl_sort.c:12: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': # mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # In file included from mlgsl_sort.c:13: # mlgsl_sort.c: In function 'ml_gsl_sort_vector_index': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_sort.c:27:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 27 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_sort.c:27:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 27 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_sort.c:27:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 27 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_sort.c: In function 'ml_gsl_sort_vector_smallest_index': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_sort.c:55:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 55 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_sort.c:55:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 55 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_sort.c:55:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 55 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_sort.c: In function 'ml_gsl_sort_vector_largest_index': # mlgsl_permut.h:9:40: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 9 | struct caml_bigarray *bigarr_##arr = Bigarray_val(arr); \ # | ^~~~~~~~~~~~ # mlgsl_sort.c:65:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 65 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:11:31: error: invalid use of undefined type 'struct caml_bigarray' # 11 | /*.size =*/ bigarr_##arr->dim[0], \ # | ^~ # mlgsl_sort.c:65:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 65 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # mlgsl_permut.h:12:31: error: invalid use of undefined type 'struct caml_bigarray' # 12 | /*.data =*/ bigarr_##arr->data } # | ^~ # mlgsl_sort.c:65:3: note: in expansion of macro 'GSL_PERMUT_OF_BIGARRAY' # 65 | GSL_PERMUT_OF_BIGARRAY(p); # | ^~~~~~~~~~~~~~~~~~~~~~ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_stats.o -c mlgsl_stats.c) # In file included from mlgsl_stats.c:12: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_sum.o -c mlgsl_sum.c) # In file included from mlgsl_sum.c:10: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # File "src/dune", line 46, characters 4-23: # 46 | mlgsl_vector_double # ^^^^^^^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_vector_double.o -c mlgsl_vector_double.c) # In file included from mlgsl_vector.h:9, # from mlgsl_vector_double.h:9, # from mlgsl_vector_double.c:2: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray': # mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # File "src/dune", line 47, characters 4-22: # 47 | mlgsl_vector_float # ^^^^^^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_vector_float.o -c mlgsl_vector_float.c) # In file included from mlgsl_vector_float.h:1, # from mlgsl_vector_float.c:2: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # In file included from mlgsl_vector_float.h:10: # mlgsl_vector.h: In function 'mlgsl_vec_of_bigarray_float': # mlgsl_vector.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vvec); # | ^~~~~~~~~~~~ # mlgsl_vector.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_vector.h:20:24: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cvec->size = bigarr->dim[0]; # | ^~ # mlgsl_vector.h:22:24: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cvec->data = bigarr->data; # | ^~ # File "src/dune", line 48, characters 4-17: # 48 | mlgsl_wavelet # ^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_wavelet.o -c mlgsl_wavelet.c) # In file included from mlgsl_matrix.h:9, # from mlgsl_matrix_double.h:11, # from mlgsl_wavelet.c:13: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small # mlgsl_matrix.h: In function 'mlgsl_mat_of_bigarray': # mlgsl_matrix.h:17:34: warning: implicit declaration of function 'Bigarray_val' [-Wimplicit-function-declaration] # 17 | struct caml_bigarray *bigarr = Bigarray_val(vmat); # | ^~~~~~~~~~~~ # mlgsl_matrix.h:17:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # mlgsl_matrix.h:20:23: error: invalid use of undefined type 'struct caml_bigarray' # 20 | cmat->size1 = bigarr->dim[0]; # | ^~ # mlgsl_matrix.h:21:23: error: invalid use of undefined type 'struct caml_bigarray' # 21 | cmat->size2 = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:22:23: error: invalid use of undefined type 'struct caml_bigarray' # 22 | cmat->tda = bigarr->dim[1]; # | ^~ # mlgsl_matrix.h:23:23: error: invalid use of undefined type 'struct caml_bigarray' # 23 | cmat->data = bigarr->data; # | ^~ # In file included from mlgsl_wavelet.c:6: # mlgsl_wavelet.c: In function 'ml_gsl_wavelet_name': # mlgsl_wavelet.c:42:37: warning: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration] # 42 | ML1 (gsl_wavelet_name, Wavelet_val, copy_string) # | ^~~~~~~~~~~ # /home/opam/.opam/5.0/lib/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' # 423 | type caml__temp_result = (result); \ # | ^~~~~~ # wrappers.h:57:5: note: in expansion of macro 'CAMLreturn' # 57 | CAMLreturn(convr(name(conv1(arg1)))) ; } # | ^~~~~~~~~~ # mlgsl_wavelet.c:42:1: note: in expansion of macro 'ML1' # 42 | ML1 (gsl_wavelet_name, Wavelet_val, copy_string) # | ^~~ # mlgsl_wavelet.c: In function 'ml_gsl_wavelet_transform_bigarray': # mlgsl_wavelet.c:99:34: warning: initialization of 'struct caml_bigarray *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 99 | struct caml_bigarray *bigarr = Bigarray_val(b); # | ^~~~~~~~~~~~ # mlgsl_wavelet.c:100:25: error: invalid use of undefined type 'struct caml_bigarray' # 100 | double *data = bigarr->data; # | ^~ # mlgsl_wavelet.c:101:25: error: invalid use of undefined type 'struct caml_bigarray' # 101 | size_t n = bigarr->dim[0]; # | ^~ # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -fPIC -DPIC -Wno-unused-parameter -g -I /home/opam/.opam/5.0/lib/ocaml -o mlgsl_cdf.o -c mlgsl_cdf.c) # In file included from mlgsl_cdf.c:2: # wrappers.h: In function 'copy_two_double': # wrappers.h:34:8: warning: implicit declaration of function 'copy_double'; did you mean 'copy_two_double'? [-Wimplicit-function-declaration] # 34 | va = copy_double(a); # | ^~~~~~~~~~~ # | copy_two_double # wrappers.h:36:7: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration] # 36 | r = alloc_small(2, 0); # | ^~~~~~~~~~~ # | caml_alloc_small <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions were aborted | - install pareto 0.3 +- +- The following actions failed | - build gsl 1.24.3 +- +- The following changes have been performed (the rest was aborted) | - install conf-gsl 2 | - install conf-pkg-config 2 | - install csexp 1.5.1 | - install dune 3.5.0 | - install dune-configurator 3.5.0 | - install ocamlbuild 0.14.2 | - install ocamlfind 1.9.5 +- # Run eval $(opam env) to update the current shell environment The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/5.0/.opam-switch/backup/state-20221103165933.export" 'opam install -vy pareto.0.3' failed. "/bin/bash" "-c" " opam remove -y "pareto.0.3" opam install -vy "pareto.0.3" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "pareto.0.3" | grep -q '"debian-unstable"'; then echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field." exit 69 fi fi exit $res " failed with exit status 31 Failed: Build failed