Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* lttng-tools-2.14.0-rc1: fails to compile with libxml2-2.14.4
@ 2025-06-17 14:15 Norbert Lange via lttng-dev
  2025-06-17 14:19 ` Kienan Stewart via lttng-dev
  2025-06-17 14:50 ` Kienan Stewart via lttng-dev
  0 siblings, 2 replies; 5+ messages in thread
From: Norbert Lange via lttng-dev @ 2025-06-17 14:15 UTC (permalink / raw)
  To: lttng-dev

/tmp/dev_develop_libxml2/usr/include/libxml2/libxml/encoding.h:173:7:
note: declared here
  173 |     } input XML_DEPRECATED_MEMBER;
      |       ^~~~~
../../../src/common/config/session-config.cpp:297:75: error: no match
for call to '(_xmlCharEncodingHandler::<unnamed union>) (xmlChar*&,
int*, const xmlChar*, int*)'
  297 |  ret = handler->input(out_str, &out_len, (const xmlChar *)
in_str, &in_len);
      |
           ^

Changing the call to handler->input.legacyFunc seems to fix it.

Also lttng seems to need libxml2, but doesnt add the necessary flags.

Regards, Norbert

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-06-17 17:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-17 14:15 lttng-tools-2.14.0-rc1: fails to compile with libxml2-2.14.4 Norbert Lange via lttng-dev
2025-06-17 14:19 ` Kienan Stewart via lttng-dev
2025-06-17 14:50 ` Kienan Stewart via lttng-dev
2025-06-17 15:08   ` Norbert Lange via lttng-dev
2025-06-17 17:29     ` Kienan Stewart via lttng-dev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox