Bug #1365
Compile error on lasso/xml/xml.c (FreeBSD 8.1 with xmlsec1-1.2.18_1)
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
Core
Version cible:
-
Début:
23 avril 2012
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Description
Compile error on FreeBSD 8.1 with xmlsec1-1.2.18_1
Making all in dsig CC ds_key_info.lo CC ds_key_value.lo CC ds_rsa_key_value.lo CC ds_x509_data.lo CCLD liblasso-xml-dsig.la CC tools.lo CC xml.lo xml.c: In function 'lasso_node_add_signature_template': xml.c:2873: error: 'xmlSecOpenSSLKeyDataX509Id' undeclared (first use in this function) xml.c:2873: error: (Each undeclared identifier is reported only once xml.c:2873: error: for each function it appears in.) *** Error code 1 Stop in /usr/home/thomas/lasso-master/lasso/xml. *** Error code 1
A solution seems to be :
--- lasso/xml/xml.c.orig 2012-04-23 09:21:13.000000000 +0200 +++ lasso/xml/xml.c 2012-04-23 09:21:28.000000000 +0200 @@ -43,6 +43,7 @@ #include <xmlsec/crypto.h> #include <xmlsec/xmlenc.h> #include <xmlsec/openssl/crypto.h> +#include <xmlsec/openssl/x509.h> #include "xml.h" #include "xml_enc.h"
Historique
Mis à jour par Frédéric Péters il y a plus de 9 ans
- Statut changé de Nouveau à Fermé
- Patch proposed mis à Non
commit d2d26b7d56f07755c4203865ba09cc7e06dd0689 Author: Thomas NOEL <tnoel@entrouvert.com> Date: Thu Apr 26 15:26:51 2012 +0200 fix compilation error with xmlsec 1.2.18 / freebsd (#1365) see http://dev.entrouvert.org/issues/1365