Projet

Général

Profil

Bug #3366

Lasso doesn't compile

Ajouté par Jérôme Schneider il y a presque 11 ans. Mis à jour il y a plus de 8 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
Début:
24 juillet 2013
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Planning:

Description

I try with lasso 2.3.6 and with the git version 6af73738f660661ce4c4a42e48f561306726d106 and I have the same problem.

gcc : 4.8.1-8
libxmlsec1 : 1.2.18-2
libxml2 : 2.9.1+dfsg1-2
$ make
make  all-recursive
make[1]: Entering directory `/home/jschneider/temp/lasso-2.3.6'
Making all in lasso
make[2]: Entering directory `/home/jschneider/temp/lasso-2.3.6/lasso'
make  all-recursive
make[3]: Entering directory `/home/jschneider/temp/lasso-2.3.6/lasso'
Making all in xml
make[4]: Entering directory `/home/jschneider/temp/lasso-2.3.6/lasso/xml'
Making all in saml-2.0
make[5]: Entering directory `/home/jschneider/temp/lasso-2.3.6/lasso/xml/saml-2.0'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/jschneider/temp/lasso-2.3.6/lasso/xml/saml-2.0'
Making all in soap-1.1
make[5]: Entering directory `/home/jschneider/temp/lasso-2.3.6/lasso/xml/soap-1.1'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/jschneider/temp/lasso-2.3.6/lasso/xml/soap-1.1'
make[5]: Entering directory `/home/jschneider/temp/lasso-2.3.6/lasso/xml'
  CC     tools.lo
tools.c: In function ‘lasso_node_build_deflated_query’:
tools.c:1066:32: error: dereferencing pointer to incomplete type
  buffer = buf->conv ? buf->conv->content : buf->buffer->content;
                                ^
tools.c:1066:55: error: dereferencing pointer to incomplete type
  buffer = buf->conv ? buf->conv->content : buf->buffer->content;
                                                       ^
tools.c: In function ‘lasso_xmlnode_to_string’:
tools.c:2159:32: error: dereferencing pointer to incomplete type
  buffer = buf->conv ? buf->conv->content : buf->buffer->content;
                                ^
tools.c:2159:55: error: dereferencing pointer to incomplete type
  buffer = buf->conv ? buf->conv->content : buf->buffer->content;
                                                       ^
make[5]: *** [tools.lo] Error 1
make[5]: Leaving directory `/home/jschneider/temp/lasso-2.3.6/lasso/xml'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/jschneider/temp/lasso-2.3.6/lasso/xml'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jschneider/temp/lasso-2.3.6/lasso'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jschneider/temp/lasso-2.3.6/lasso'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jschneider/temp/lasso-2.3.6'
make: *** [all] Error 2

Historique

#1

Mis à jour par Jérôme Schneider il y a presque 11 ans

  • Sujet changé de Lasso doesn't compile with gcc 4.8 à Lasso doesn't compile
  • Description mis à jour (diff)
#2

Mis à jour par Benjamin Dauvergne il y a presque 11 ans

It looks like a public type has been made private.

#3

Mis à jour par Jérôme Schneider il y a presque 11 ans

  • Description mis à jour (diff)
#4

Mis à jour par Benjamin Dauvergne il y a presque 11 ans

That's a known non-backward compatible change to libxml2 see https://mail.gnome.org/archives/xml/2012-August/msg00005.html for explanation and work-around.

#6

Mis à jour par Benjamin Dauvergne il y a plus de 10 ans

I merged the libxml2.9-compat branch, I forgot about it :) Thanks for reminding me it existed. But the changes from this branch does not seem as backward compatible as the solutions given on the libxml mailing list. The output_buffer function should contain and macro test to choose between the old and new handling of output buffers.

#7

Mis à jour par Benjamin Dauvergne il y a plus de 8 ans

  • Version cible mis à future
#8

Mis à jour par Benjamin Dauvergne il y a plus de 8 ans

  • Statut changé de Nouveau à Fermé

Formats disponibles : Atom PDF