Re: avro_schema_from_json return code 22

2024-02-09 Thread Alfredo Cardigliano
Hi I have been digging a bit and I found that json-c (used by my application) cannot cohexist with jansson (used by avro) as they define the same symbols. No compilation or linking error of course, just a weird issue. Thank you for the hint. Alfredo > On 9 Feb 2024, at 16:28, Martin Grigorov

Re: avro_schema_from_json return code 22

2024-02-09 Thread Martin Grigorov
Hi, Error 22 in Linux is EINVAL - Invalid argument Martin On Fri, Feb 9, 2024 at 5:21 PM Alfredo Cardigliano wrote: > Hi > I am integrating Avro in an application, using avro_schema_from_json to > parse the schema, > while this function is working fine when compiling a C sample application, >

avro_schema_from_json return code 22

2024-02-09 Thread Alfredo Cardigliano
Hi I am integrating Avro in an application, using avro_schema_from_json to parse the schema, while this function is working fine when compiling a C sample application, this fails returning error code 22 when compiling in a C++ application. I am using the libavro shipped with latest Ubuntu 22.