Hi Joachim,
The LibSoup easyconfig we have merged recently in
https://github.com/easybuilders/easybuild-easyconfigs/pull/8116/files
includes this:
toolchainopts = {'cstd': 'gnu89'}
which fixed this exact problem for me, see the discussion in
https://github.com/easybuilders/easybuild-easyconfigs/pull/8116#issuecomment-487868612
regards,
Kenneth
On 04/06/2019 12:18, Joachim Hein wrote:
Hi,
i got a libsoup easyconfig from a member of this group and when trying
to build it, I hit:
In file included from
/sw/easybuild/software/Compiler/GCCcore/7.3.0/GLib/2.54.3/include/glib-2.0/gio/gnetworking.h:44:0,
from ../libsoup-2.65.2/libsoup/soup-address.c:14:
/usr/include/resolv.h:75:15: error: unknown type name ‘u_char’
const u_char **__query,
^~~~~~
/usr/include/resolv.h:77:9: error: unknown type name ‘u_char’; did you
mean ‘guchar’?
u_char *__ans,
^~~~~~
guchar
/usr/include/resolv.h:82:15: error: unknown type name ‘u_char’
const u_char *__query,
^~~~~~
/usr/include/resolv.h:84:9: error: unknown type name ‘u_char’; did you
mean ‘guchar’?
u_char *__ans,
^~~~~~
guchar
When using google, I found a few references to this kind of issues when
working on libsoup with easybuild. So I am wondering whether this is a
reasonable common issue, but unfortunately I couldn’t get any references
on how to fix the issue. Any pointers appreciated.
We are using lentos 7.6
Thanks in advance for reading.
Best wishes
Joachim