Project

General

Profile

Bug #3366

Lasso doesn't compile

Added by Jérôme Schneider over 11 years ago. Updated over 9 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
24 July 2013
Due date:
% Done:

0%

Estimated time:
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

History

#1

Updated by Jérôme Schneider over 11 years ago

  • Subject changed from Lasso doesn't compile with gcc 4.8 to Lasso doesn't compile
  • Description updated (diff)
#2

Updated by Benjamin Dauvergne over 11 years ago

It looks like a public type has been made private.

#3

Updated by Jérôme Schneider over 11 years ago

  • Description updated (diff)
#4

Updated by Benjamin Dauvergne over 11 years ago

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

Updated by Benjamin Dauvergne over 11 years ago

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

Updated by Benjamin Dauvergne over 9 years ago

  • Target version set to future
#8

Updated by Benjamin Dauvergne over 9 years ago

  • Status changed from Nouveau to Fermé

Also available in: Atom PDF