Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fail on Fedora 31 #206

Open
jerryd opened this issue May 22, 2020 · 2 comments
Open

Build fail on Fedora 31 #206

jerryd opened this issue May 22, 2020 · 2 comments

Comments

@jerryd
Copy link

jerryd commented May 22, 2020

make[1]: Entering directory '/home/jerry/dev/tcp/libdill-2.14'
CC libdill_la-chan.lo
CC libdill_la-cr.lo
CC libdill_la-handle.lo
CC libdill_la-libdill.lo
CC libdill_la-now.lo
CC libdill_la-pollset.lo
CC libdill_la-rbtree.lo
CC libdill_la-stack.lo
CC libdill_la-ctx.lo
CC libdill_la-utils.lo
CC libdill_la-bsock.lo
CC libdill_la-fd.lo
CC libdill_la-happyeyeballs.lo
CC libdill_la-http.lo
CC libdill_la-iol.lo
CC libdill_la-ipc.lo
CC libdill_la-ipaddr.lo
In file included from ipaddr.c:44:
ipaddr.c: In function ‘dill_ipaddr_remotes’:
dns/dns.h:1009:24: error: lvalue required as unary ‘&’ operand
1009 | #define dns_opts(...) (&(dns_quietinit((struct dns_options)DNS_OPTS_INIT(VA_ARGS))))
| ^
ipaddr.c:335:47: note: in expansion of macro ‘dns_opts’
335 | dill_dns_hosts, dill_dns_hints, NULL, dns_opts(), &rc);
| ^~~~~~~~
make[1]: *** [Makefile:1785: libdill_la-ipaddr.lo] Error 1
make[1]: Leaving directory '/home/jerry/dev/tcp/libdill-2.14'
make: *** [Makefile:1926: all-recursive] Error 1
[jerry@amdr libdill-2.14]$ uname -a
Linux amdr 5.6.13-200.fc31.x86_64 #1 SMP Thu May 14 23:26:14 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

@jerryd
Copy link
Author

jerryd commented May 22, 2020

gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC)

@vincent-legoll
Copy link

duplicate of #191 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants