[ivy-ocaml] création de paquet problème de compilation

Mise à jour / Création /debug de paquetages
gael
yeomen
Messages : 255
Inscription : dim. 31 oct. 2010, 02:07

Re: [ivy-ocaml] création de paquet problème de compilation

Message par gael »

FoolEcho a écrit :J'imagine qu'il s'agit du même type d'erreur qui t'empêchait de compiler ivy-ocaml... à savoir que le Makefile en l'état ne sait pas où trouver les modules manquants.

http://stackoverflow.com/questions/3848 ... s-in-ocaml
https://realworldocaml.org/v1/en/html/f ... grams.html

... à éplucher (je ne suis évidemment pas familier de la compilation de ocaml...).

à priori le même problème ici

http://lists.paparazziuav.org/Unbound-m ... 16863.html
gael
yeomen
Messages : 255
Inscription : dim. 31 oct. 2010, 02:07

Re: [ivy-ocaml] création de paquet problème de compilation

Message par gael »

visiblement dans
nano ./sw/lib/ocaml/http.ml
il faut remplacer
open Http_client
par
open Nethttp_client

et aussi ligne 15

après c'est l'erreur

File "gcs.ml", line 664, characters 23-29:
Error: This expression has type int32 but an expression was expected of type
Gdk.native_window


à priori pas de choix que de compiler une version 2.16 de lablgtk2-2.16.0

Code : Tout sélectionner

# $Id: PKGBUILD 227330 2014-12-06 20:45:50Z bpiotrowski $
#Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=lablgtk2-2.16.0
pkgver=2.16.0
pkgrel=1
pkgdesc="An Objective Caml interface to gtk2"
arch=(i686 x86_64)
license=('LGPL')
url="http://lablgtk.forge.ocamlcore.org/"
depends=('gtk2' 'gtkspell' 'libgnomecanvas' 'librsvg' 'libgnomeui' 'gtksourceview2')
makedepends=('ocaml' 'camlp4')
optdepends=('ocaml: for using the tools')
DLAGENTS=('https::/usr/bin/curl -fLC - --insecure --retry 3 --retry-delay 3 -o %o %u')
source=(lablgtk-2.16.0.tar.gz)
md5sums=('052519ce2a77d2316732bc4d565b6399')
options=(!makeflags staticlibs)
build() {
  cd "${srcdir}/lablgtk-${pkgver}"
  ./configure --prefix=/usr
  make world
  make opt
}

package() {
  cd "${srcdir}/lablgtk-${pkgver}"
  make DESTDIR=${pkgdir} old-install
  install -m644 META "${pkgdir}/usr/lib/ocaml/lablgtk2/"
}



mais encore erreur à la compilation alors que j'ai bien le fichier : /usr/lib/ocaml/glibivy/dllglibivy-ocaml.so

Code : Tout sélectionner

GENERATE /home/xxxxx/paparazzi/paparazzi/var/include/messages.h
Fatal error: cannot load shared library dllglibivy-ocaml
Reason: dllglibivy-ocaml.so: cannot open shared object file: No such file or directory
Makefile:181 : la recette pour la cible « /home/xxxx/paparazzi/paparazzi/var/include/messages.h » a échouée
make: *** [/home/xxxxx/paparazzi/paparazzi/var/include/messages.h] Erreur 2

Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [ivy-ocaml] création de paquet problème de compilation

Message par FoolEcho »

Tu peux poster la sortie complète du make ? (lance-le avec -j1 si tu es sur un multiple cœur, histoire qu'on distingue bien les traces)
«The following statement is not true. The previous statement is true.» :nage:
gael
yeomen
Messages : 255
Inscription : dim. 31 oct. 2010, 02:07

Re: [ivy-ocaml] création de paquet problème de compilation

Message par gael »

FoolEcho a écrit :Tu peux poster la sortie complète du make ? (lance-le avec -j1 si tu es sur un multiple cœur, histoire qu'on distingue bien les traces)
oui en plus la réponse de

Code : Tout sélectionner

ocamlfind query -l glibivy 


package:     glibivy 
description: bindings for the Ivy software bus with glib mainloop 
version:     1.3.1 
archive(s):   
linkopts:     
location:    /usr/lib/ocaml/glibivy 
et sortie de make

Code : Tout sélectionner

 make -j1 > lo
File "debug.ml", line 43, characters 4-20:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "debug.ml", line 44, characters 4-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 54, characters 2-46:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 57, characters 4-32:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 63, characters 4-41:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 65, characters 6-35:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 70, characters 6-45:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 71, characters 6-53:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 203, characters 42-55:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "serial.ml", line 96, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "egm96.ml", line 36, characters 14-27:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "srtm.ml", line 59, characters 20-33:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "http.ml", line 22, characters 4-42:
Warning 5: this function application is partial,
maybe some arguments are missing.
File "gm.ml", line 207, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "gm.ml", line 209, characters 4-167:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 75, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "ubx.ml", line 76, characters 4-18:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 77, characters 4-18:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 80, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 81, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 150, characters 10-31:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 153, characters 10-31:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 156, characters 10-42:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 157, characters 10-42:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 158, characters 10-41:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 159, characters 10-33:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 161, characters 10-41:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 162, characters 10-33:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 182, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "ubx.ml", line 183, characters 2-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 184, characters 2-26:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 185, characters 2-33:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 186, characters 2-43:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 409, characters 8-29:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 421, characters 6-38:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 422, characters 6-38:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 423, characters 6-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 424, characters 6-29:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 428, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 429, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 430, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 431, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 432, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 433, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 434, characters 8-39:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 435, characters 8-31:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 439, characters 6-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 440, characters 6-29:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 465, characters 6-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 471, characters 8-20:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 481, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "pprz.ml", line 546, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "pprz.ml", line 548, characters 4-24:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 549, characters 4-52:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 551, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 552, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 667, characters 4-36:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 668, characters 4-38:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 747, characters 27-38:
Warning 3: deprecated: String.copy
File "pprz.ml", line 751, characters 12-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 57, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xbee.ml", line 59, characters 4-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 60, characters 4-43:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 61, characters 4-49:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 63, characters 4-35:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 105, characters 4-85:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 116, characters 2-36:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 117, characters 2-42:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 128, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xbee.ml", line 129, characters 2-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 130, characters 2-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 132, characters 4-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 133, characters 4-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 134, characters 4-26:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 137, characters 2-34:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 147, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xbee.ml", line 148, characters 2-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 149, characters 2-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 152, characters 2-21:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "logpprz.ml", line 79, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "logpprz.ml", line 81, characters 4-16:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "logpprz.ml", line 82, characters 4-50:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "logpprz.ml", line 84, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "os_calls.ml", line 29, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "os_calls.ml", line 44, characters 14-25:
Warning 3: deprecated: String.copy
File "defivybus.ml", line 24, characters 22-33:
Warning 3: deprecated: String.copy
File "xmlEdit.ml", line 135, characters 11-24:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xmlEdit.ml", line 139, characters 6-21:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xmlEdit.ml", line 142, characters 6-23:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "debug.ml", line 43, characters 4-20:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "debug.ml", line 44, characters 4-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 54, characters 2-46:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 57, characters 4-32:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 63, characters 4-41:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 65, characters 6-35:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 70, characters 6-45:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 71, characters 6-53:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 203, characters 42-55:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "serial.ml", line 96, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "egm96.ml", line 36, characters 14-27:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "srtm.ml", line 59, characters 20-33:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "http.ml", line 22, characters 4-42:
Warning 5: this function application is partial,
maybe some arguments are missing.
File "gm.ml", line 207, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "gm.ml", line 209, characters 4-167:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 75, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "ubx.ml", line 76, characters 4-18:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 77, characters 4-18:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 80, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 81, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 150, characters 10-31:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 153, characters 10-31:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 156, characters 10-42:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 157, characters 10-42:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 158, characters 10-41:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 159, characters 10-33:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 161, characters 10-41:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 162, characters 10-33:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 182, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "ubx.ml", line 183, characters 2-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 184, characters 2-26:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 185, characters 2-33:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 186, characters 2-43:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 409, characters 8-29:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 421, characters 6-38:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 422, characters 6-38:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 423, characters 6-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 424, characters 6-29:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 428, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 429, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 430, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 431, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 432, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 433, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 434, characters 8-39:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 435, characters 8-31:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 439, characters 6-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 440, characters 6-29:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 465, characters 6-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 471, characters 8-20:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 481, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "pprz.ml", line 546, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "pprz.ml", line 548, characters 4-24:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 549, characters 4-52:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 551, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 552, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 667, characters 4-36:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 668, characters 4-38:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 747, characters 27-38:
Warning 3: deprecated: String.copy
File "pprz.ml", line 751, characters 12-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 57, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xbee.ml", line 59, characters 4-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 60, characters 4-43:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 61, characters 4-49:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 63, characters 4-35:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 105, characters 4-85:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 116, characters 2-36:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 117, characters 2-42:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 128, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xbee.ml", line 129, characters 2-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 130, characters 2-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 132, characters 4-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 133, characters 4-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 134, characters 4-26:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 137, characters 2-34:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 147, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xbee.ml", line 148, characters 2-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 149, characters 2-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 152, characters 2-21:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "logpprz.ml", line 79, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "logpprz.ml", line 81, characters 4-16:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "logpprz.ml", line 82, characters 4-50:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "logpprz.ml", line 84, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "os_calls.ml", line 29, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "os_calls.ml", line 44, characters 14-25:
Warning 3: deprecated: String.copy
File "defivybus.ml", line 24, characters 22-33:
Warning 3: deprecated: String.copy
File "xmlEdit.ml", line 135, characters 11-24:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xmlEdit.ml", line 139, characters 6-21:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xmlEdit.ml", line 142, characters 6-23:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pc_common.ml", line 46, characters 16-29:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "pc_control_panel.ml", line 119, characters 29-53:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pc_control_panel.ml", line 129, characters 35-47:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "paparazzicenter.ml", line 154, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "sd2log.ml", line 88, characters 14-27:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "link.ml", line 212, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "link.ml", line 213, characters 4-26:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "link.ml", line 214, characters 4-26:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "link.ml", line 215, characters 4-38:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "link.ml", line 216, characters 4-49:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "link.ml", line 217, characters 4-41:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "server.ml", line 107, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "server.ml", line 749, characters 24-36:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "fw_server.ml", line 60, characters 10-21:
Warning 3: deprecated: String.copy
File "fw_server.ml", line 63, characters 15-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "rotorcraft_server.ml", line 72, characters 10-21:
Warning 3: deprecated: String.copy
File "rotorcraft_server.ml", line 75, characters 15-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ivy_tcp_aircraft.ml", line 43, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "ivy_tcp_controller.ml", line 31, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "broadcaster.ml", line 27, characters 17-30:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "ivy2udp.ml", line 77, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "gen_airframe.ml", line 306, characters 4-19:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "sim.ml", line 275, characters 23-36:
Warning 3: deprecated: String.create
Use Bytes.create instead.
Fatal error: cannot load shared library dllglibivy-ocaml
Reason: dllglibivy-ocaml.so: cannot open shared object file: No such file or directory
make: *** [/home/gael/paparazzi/paparazzi/var/include/messages.h] Erreur 2
[gael@storm paparazzi]$ 

gael
yeomen
Messages : 255
Inscription : dim. 31 oct. 2010, 02:07

Re: [ivy-ocaml] création de paquet problème de compilation

Message par gael »

gael a écrit :
FoolEcho a écrit :Tu peux poster la sortie complète du make ? (lance-le avec -j1 si tu es sur un multiple cœur, histoire qu'on distingue bien les traces)
à noter que depuis la version 5.5 il n'y a plus besoin de remplacer open Http_client par open Nethttp_client

La réponse de ocamlfind query -l glibivy

Code : Tout sélectionner

package:     glibivy 
description: bindings for the Ivy software bus with glib mainloop 
version:     1.3.1 
archive(s):   
linkopts:     
location:    /usr/lib/ocaml/glibivy 
et sortie de make

Code : Tout sélectionner

 make -j1 > lo
which: no arm-none-eabi-gcc in (/home/gael/android-sdks/platform-tools:/home/gael/android-sdks/tools:/usr/sbin:/sbin:/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
------------------------------------------------------------
Building Paparazzi version v5.5_devel-363-ged5223e
------------------------------------------------------------
make -C data/maps
-----------------------------------------------
DOWNLOAD: google maps version code
Updated google maps version to 167
-----------------------------------------------
make -C sw/lib/ocaml
OCY expr_parser.mly
OCL expr_lexer.mll
40 states, 423 transitions, table size 1932 bytes
DEPEND .depend
OC fig.mli
OC fig.ml
OC debug.mli
OC debug.ml
File "debug.ml", line 43, characters 4-20:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "debug.ml", line 44, characters 4-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OC base64.mli
OC base64.ml
File "base64.ml", line 54, characters 2-46:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 57, characters 4-32:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 63, characters 4-41:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 65, characters 6-35:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 70, characters 6-45:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 71, characters 6-53:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 203, characters 42-55:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OC serial.mli
OC serial.ml
File "serial.ml", line 96, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OC ocaml_tools.mli
OC ocaml_tools.ml
OC expr_syntax.mli
OC expr_syntax.ml
OC expr_parser.mli
OC expr_parser.ml
OC expr_lexer.ml
OC extXml.mli
OC extXml.ml
OC env.mli
OC env.ml
OC xml2h.mli
OC xml2h.ml
OC latlong.mli
OC latlong.ml
OC egm96.mli
OC egm96.ml
File "egm96.ml", line 36, characters 14-27:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OC srtm.mli
OC srtm.ml
File "srtm.ml", line 59, characters 20-33:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OC http.mli
OC http.ml
File "http.ml", line 22, characters 4-42:
Warning 5: this function application is partial,
maybe some arguments are missing.
OC maps_support.mli
OC maps_support.ml
OC gm.mli
OC gm.ml
File "gm.ml", line 207, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "gm.ml", line 209, characters 4-167:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OC iGN.mli
OC iGN.ml
OC geometry_2d.mli
OC geometry_2d.ml
OC cserial.c
OC convert.c
OC ubx.mli
OC ubx.ml
File "ubx.ml", line 75, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "ubx.ml", line 76, characters 4-18:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 77, characters 4-18:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 80, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 81, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 150, characters 10-31:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 153, characters 10-31:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 156, characters 10-42:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 157, characters 10-42:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 158, characters 10-41:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 159, characters 10-33:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 161, characters 10-41:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 162, characters 10-33:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 182, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "ubx.ml", line 183, characters 2-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 184, characters 2-26:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 185, characters 2-33:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 186, characters 2-43:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OC pprz.mli
OC pprz.ml
File "pprz.ml", line 409, characters 8-29:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 421, characters 6-38:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 422, characters 6-38:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 423, characters 6-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 424, characters 6-29:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 428, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 429, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 430, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 431, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 432, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 433, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 434, characters 8-39:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 435, characters 8-31:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 439, characters 6-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 440, characters 6-29:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 465, characters 6-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 471, characters 8-20:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 481, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "pprz.ml", line 546, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "pprz.ml", line 548, characters 4-24:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 549, characters 4-52:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 551, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 552, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 667, characters 4-36:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 668, characters 4-38:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 747, characters 27-38:
Warning 3: deprecated: String.copy
File "pprz.ml", line 751, characters 12-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OC xbee.mli
OC xbee.ml
File "xbee.ml", line 57, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xbee.ml", line 59, characters 4-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 60, characters 4-43:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 61, characters 4-49:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 63, characters 4-35:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 105, characters 4-85:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 116, characters 2-36:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 117, characters 2-42:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 128, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xbee.ml", line 129, characters 2-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 130, characters 2-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 132, characters 4-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 133, characters 4-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 134, characters 4-26:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 137, characters 2-34:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 147, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xbee.ml", line 148, characters 2-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 149, characters 2-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 152, characters 2-21:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OC logpprz.mli
OC logpprz.ml
File "logpprz.ml", line 79, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "logpprz.ml", line 81, characters 4-16:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "logpprz.ml", line 82, characters 4-50:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "logpprz.ml", line 84, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OC xmlCom.mli
OC xmlCom.ml
OC os_calls.mli
OC os_calls.ml
File "os_calls.ml", line 29, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "os_calls.ml", line 44, characters 14-25:
Warning 3: deprecated: String.copy
OC editAirframe.mli
OC editAirframe.ml
OC defivybus.mli
OC defivybus.ml
File "defivybus.ml", line 24, characters 22-33:
Warning 3: deprecated: String.copy
OC fp_proc.mli
OC fp_proc.ml
OC gen_common.mli
OC gen_common.ml
OL lib-pprz.cma
OC gtk_tools.mli
OC gtk_tools.ml
OC platform.mli
OC platform.ml
OC contrastLabel.mli
OC contrastLabel.ml
OC acIcon.mli
OC acIcon.ml
OC wind_sock.mli
OC wind_sock.ml
GLADE gtk_papget_editor.ml
OC gtk_papget_editor.ml
GLADE gtk_papget_text_editor.ml
OC gtk_papget_text_editor.ml
GLADE gtk_papget_gauge_editor.ml
OC gtk_papget_gauge_editor.ml
GLADE gtk_papget_led_editor.ml
OC gtk_papget_led_editor.ml
OC papget_common.mli
OC papget_common.ml
OC papget_renderer.mli
OC papget_renderer.ml
OC papget.mli
OC papget.ml
OC mapCanvas.mli
OC mapCanvas.ml
OC mapWaypoints.mli
OC mapWaypoints.ml
OC mapTrack.mli
OC mapTrack.ml
OC mapGoogle.mli
OC mapGoogle.ml
OC mapIGN.mli
OC mapIGN.ml
OC ml_gtk_drag.c
OC xmlEdit.mli
OC xmlEdit.ml
File "xmlEdit.ml", line 135, characters 11-24:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xmlEdit.ml", line 139, characters 6-21:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xmlEdit.ml", line 142, characters 6-23:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OC mapFP.mli
OC mapFP.ml
OL xlib-pprz.cma
OC xml_get.ml
OL xml_get.out
COPY META.pprz.template
OOC fig.ml
OOC debug.ml
File "debug.ml", line 43, characters 4-20:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "debug.ml", line 44, characters 4-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OOC base64.ml
File "base64.ml", line 54, characters 2-46:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 57, characters 4-32:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 63, characters 4-41:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 65, characters 6-35:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 70, characters 6-45:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 71, characters 6-53:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "base64.ml", line 203, characters 42-55:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OOC serial.ml
File "serial.ml", line 96, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OOC ocaml_tools.ml
OOC expr_syntax.ml
OOC expr_parser.ml
OOC expr_lexer.ml
OOC extXml.ml
OOC env.ml
OOC xml2h.ml
OOC latlong.ml
OOC egm96.ml
File "egm96.ml", line 36, characters 14-27:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OOC srtm.ml
File "srtm.ml", line 59, characters 20-33:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OOC http.ml
File "http.ml", line 22, characters 4-42:
Warning 5: this function application is partial,
maybe some arguments are missing.
OOC maps_support.ml
OOC gm.ml
File "gm.ml", line 207, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "gm.ml", line 209, characters 4-167:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OOC iGN.ml
OOC geometry_2d.ml
OOC ubx.ml
File "ubx.ml", line 75, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "ubx.ml", line 76, characters 4-18:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 77, characters 4-18:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 80, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 81, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 150, characters 10-31:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 153, characters 10-31:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 156, characters 10-42:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 157, characters 10-42:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 158, characters 10-41:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 159, characters 10-33:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 161, characters 10-41:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 162, characters 10-33:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 182, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "ubx.ml", line 183, characters 2-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 184, characters 2-26:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 185, characters 2-33:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "ubx.ml", line 186, characters 2-43:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OOC pprz.ml
File "pprz.ml", line 409, characters 8-29:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 421, characters 6-38:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 422, characters 6-38:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 423, characters 6-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 424, characters 6-29:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 428, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 429, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 430, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 431, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 432, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 433, characters 8-40:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 434, characters 8-39:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 435, characters 8-31:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 439, characters 6-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 440, characters 6-29:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 465, characters 6-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 471, characters 8-20:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 481, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "pprz.ml", line 546, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "pprz.ml", line 548, characters 4-24:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 549, characters 4-52:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 551, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 552, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 667, characters 4-36:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 668, characters 4-38:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pprz.ml", line 747, characters 27-38:
Warning 3: deprecated: String.copy
File "pprz.ml", line 751, characters 12-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OOC xbee.ml
File "xbee.ml", line 57, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xbee.ml", line 59, characters 4-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 60, characters 4-43:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 61, characters 4-49:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 63, characters 4-35:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 105, characters 4-85:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 116, characters 2-36:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 117, characters 2-42:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 128, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xbee.ml", line 129, characters 2-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 130, characters 2-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 132, characters 4-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 133, characters 4-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 134, characters 4-26:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 137, characters 2-34:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 147, characters 10-23:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xbee.ml", line 148, characters 2-22:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 149, characters 2-28:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xbee.ml", line 152, characters 2-21:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OOC logpprz.ml
File "logpprz.ml", line 79, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "logpprz.ml", line 81, characters 4-16:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "logpprz.ml", line 82, characters 4-50:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "logpprz.ml", line 84, characters 4-37:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OOC xmlCom.ml
OOC os_calls.ml
File "os_calls.ml", line 29, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "os_calls.ml", line 44, characters 14-25:
Warning 3: deprecated: String.copy
OOC editAirframe.ml
OOC defivybus.ml
File "defivybus.ml", line 24, characters 22-33:
Warning 3: deprecated: String.copy
OOC fp_proc.ml
OOC gen_common.ml
OOL dlllib-pprz.so
OOL lib-pprz.cmxa
OOC gtk_tools.ml
OOC platform.ml
OOC contrastLabel.ml
OOC acIcon.ml
OOC wind_sock.ml
OOC gtk_papget_editor.ml
OOC gtk_papget_text_editor.ml
OOC gtk_papget_gauge_editor.ml
OOC gtk_papget_led_editor.ml
OOC papget_common.ml
OOC papget_renderer.ml
OOC papget.ml
OOC mapCanvas.ml
OOC mapWaypoints.ml
OOC mapTrack.ml
OOC mapGoogle.ml
OOC mapIGN.ml
OOC xmlEdit.ml
File "xmlEdit.ml", line 135, characters 11-24:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "xmlEdit.ml", line 139, characters 6-21:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "xmlEdit.ml", line 142, characters 6-23:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OOC mapFP.ml
OOL dllxlib-pprz.so
OOL xlib-pprz.cmxa
make -C sw/supervision
DEPEND .depend
GLADE gtk_pc.ml
OC gtk_pc.ml
GLADE gtk_process.ml
OC gtk_process.ml
OC pc_common.ml
File "pc_common.ml", line 46, characters 16-29:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OC pc_control_panel.ml
File "pc_control_panel.ml", line 119, characters 29-53:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "pc_control_panel.ml", line 129, characters 35-47:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OC pc_aircraft.ml
OC paparazzicenter.ml
File "paparazzicenter.ml", line 154, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OL paparazzicenter
make -C sw/ground_segment/misc
CC davis2ivy
CC kestrel2ivy
CC natnet2ivy
CC video_synchronizer
make -C sw/logalizer
DEPEND .depend
OC log_file.ml
OC play_core.ml
OC play.ml
OL play
OC plotter.ml
OL plotter
GLADE gtk_export.ml
OC gtk_export.ml
OCI export.mli
OC export.ml
OC plot.ml
OL plot
OC sd2log.ml
File "sd2log.ml", line 88, characters 14-27:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OL sd2log
CC plotprofile
CC openlog2tlm
make -C sw/ground_segment/cockpit
DEPEND .depend
GLADE gtk_setting_time.ml
OC gtk_setting_time.ml
GLADE gtk_strip.ml
OC gtk_strip.ml
OCI horizon.mli
OC horizon.ml
OCI strip.mli
OC strip.ml
GLADE gtk_save_settings.ml
OC gtk_save_settings.ml
OCI saveSettings.mli
OC saveSettings.ml
OCI page_settings.mli
OC page_settings.ml
OCI pages.mli
OC pages.ml
OCI speech.mli
OC speech.ml
OCI plugin.mli
OC plugin.ml
OCI sectors.mli
OC sectors.ml
OCI map2d.mli
OC map2d.ml
OCI editFP.mli
OC editFP.ml
OCI live.mli
OC live.ml
OC particules.ml
OCI papgets.mli
OC papgets.ml
OC gcs.ml
OL gcs
make -C sw/ground_segment/multimon
CC hdlc.c
CC pprz.c
CC demod_afsk48p.c
CC demod_display.c
CC unixinput.c
CC xdisplay.c
LD multimon
CC pprzlib.c
CC demod_afsk12.c
CC demodml.c
CC mkcostab.c
LD mkcostab
EXEC mkcostab
CC costabi.c
CC gen_hdlc.c
CC ml_hdlc.c
OC demod.ml
OC hdlc.mli
OC hdlc.ml
OLD multimon.cma
make -C sw/ground_segment/tmtc
DEPEND .depend
OC link.ml
File "link.ml", line 212, characters 12-25:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "link.ml", line 213, characters 4-26:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "link.ml", line 214, characters 4-26:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "link.ml", line 215, characters 4-38:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "link.ml", line 216, characters 4-49:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "link.ml", line 217, characters 4-41:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OL link
OC server_globals.ml
OC aircraft.mli
OC aircraft.ml
OC wind.mli
OC wind.ml
OC airprox.mli
OC airprox.ml
OC kml.mli
OC kml.ml
OC rotorcraft_server.mli
OC fw_server.mli
OC server.ml
File "server.ml", line 107, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
File "server.ml", line 749, characters 24-36:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OL server
File "fw_server.ml", line 60, characters 10-21:
Warning 3: deprecated: String.copy
File "fw_server.ml", line 63, characters 15-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "rotorcraft_server.ml", line 72, characters 10-21:
Warning 3: deprecated: String.copy
File "rotorcraft_server.ml", line 75, characters 15-27:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OC messages.ml
OL messages
OC settings.ml
OL settings
OC dia.ml
OL dia
OC diadec.ml
OL diadec
OC ivy_tcp_aircraft.ml
File "ivy_tcp_aircraft.ml", line 43, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OL ivy_tcp_aircraft
OC ivy_tcp_controller.ml
File "ivy_tcp_controller.ml", line 31, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OL ivy_tcp_controller
OC broadcaster.ml
File "broadcaster.ml", line 27, characters 17-30:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OL broadcaster
OC ivy2udp.ml
File "ivy2udp.ml", line 77, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OL ivy2udp
OL ivy_serial_bridge
OL app_server
OL ivy2nmea
make -C /home/gael/paparazzi/sw/tools/generators
DEPEND .depend
OL gen_aircraft.ml
OL gen_airframe.ml
File "gen_airframe.ml", line 306, characters 4-19:
Warning 3: deprecated: String.set
Use Bytes.set instead.
OL gen_messages2.ml
OL gen_messages.ml
OL gen_ubx.ml
OL gen_mtk.ml
OC gen_flight_plan.ml
OL gen_flight_plan.out
OL gen_radio.ml
OL gen_periodic.ml
OL gen_settings.ml
OL gen_xsens.ml
OL gen_modules.ml
OL gen_autopilot.ml
OL gen_abi.ml
OL gen_srtm.out
make -C sw/simulator
DEPEND .depend
OC gaia.ml
OL gaia
CC fg.c
OC stdlib.mli
OC stdlib.ml
OC data.mli
OC data.ml
OC flightModel.mli
OC flightModel.ml
OC gps.mli
OC gps.ml
OC sim.mli
OC sitl.mli
OC sitl.ml
OC sim.ml
File "sim.ml", line 275, characters 23-36:
Warning 3: deprecated: String.create
Use Bytes.create instead.
OL sitl.cma
BUILD fg.so
OC hitl.mli
OC hitl.ml
OC simhitl.ml
OL simhitl
make -C sw/ground_segment/joystick
DEPEND .depend
CC test_sdl_stick.o
BUILD test_stick
CC sdl_stick.o
CC ml_sdl_stick.o
BUILD sdl_stick.so
OC input2ivy.ml
OL input2ivy
GENERATE /home/gael/paparazzi/var/include/messages.h
Fatal error: cannot load shared library dllglibivy-ocaml
Reason: dllglibivy-ocaml.so: cannot open shared object file: No such file or directory
Makefile:184 : la recette pour la cible « /home/gael/paparazzi/var/include/messages.h » a échouée
make: *** [/home/gael/paparazzi/var/include/messages.h] Erreur 2

Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [ivy-ocaml] création de paquet problème de compilation

Message par FoolEcho »

C'est un brin la zone tout ça... au point que je ne sais pas ce qui manque ou pas, ni même ce que tu utilises pour tenter de te suivre (j'ai par exemple ocamlfind: Package `netclient' not found ... mais rien concernant les changements que tu dis avoir eu besoin de faire...). :?

Comme parfois il est bon de retrouver du recul, je te suggère de reprendre les instructions d'une installation "From Scratch":
http://wiki.paparazziuav.org/wiki/Insta ... romScratch

Faire le point sur les dépendances, ce qui manque, etc.. Quitte à compiler localement, avant de passer aux PKGBUILDs pour Arch...
«The following statement is not true. The previous statement is true.» :nage:
gael
yeomen
Messages : 255
Inscription : dim. 31 oct. 2010, 02:07

Re: [ivy-ocaml] création de paquet problème de compilation

Message par gael »

c'est bon j'y suis arrivé

sudo nano /usr/lib/ocaml/ld.conf


et rajouter

Code : Tout sélectionner

/usr/lib/ocaml/glibivy
ça compile et ça se lance


j'ai aussi compilé ça à partir de AUR
gcc-arm-none-eabi-bin

reste plus qu'a avoir si je peux bien connecter mon AR DRONE et programmer son module GPS :p

mon lien vers list paparazzi que je remercie tout autant que toi :)
http://lists.paparazziuav.org/compilati ... tml#a16896
Répondre