Bug 8016 - collectd fails to build, network.c:171:19: error: 'IPV6_MULTICAST_HOPS' undeclared
Summary: collectd fails to build, network.c:171:19: error: 'IPV6_MULTICAST_HOPS' undec...
Status: RESOLVED INVALID
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2015.02
Hardware: PC Linux
: P5 blocker
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-15 18:15 UTC by Kevin Dankwardt
Modified: 2015-04-16 12:15 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
The buildroot .config file (55.61 KB, application/octet-stream)
2015-04-15 18:15 UTC, Kevin Dankwardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Dankwardt 2015-04-15 18:15:20 UTC
Created attachment 5996 [details]
The buildroot .config file

Trying to build an x86_64 toolchain on x86_64.



make[5]: Entering directory '/home/kevin/x86_64-toolchain/buildroot/output/build/collectd-5.4.2/src/libcollectdclient'
  CC       libcollectdclient_la-client.lo
  CC       libcollectdclient_la-network.lo
  CC       libcollectdclient_la-network_buffer.lo
network.c: In function 'server_open_socket':
network.c:171:19: error: 'IPV6_MULTICAST_HOPS' undeclared (first use in this function)
         optname = IPV6_MULTICAST_HOPS;
                   ^
network.c:171:19: note: each undeclared identifier is reported only once for each function it appears in
network.c:173:19: error: 'IPV6_UNICAST_HOPS' undeclared (first use in this function)
         optname = IPV6_UNICAST_HOPS;
                   ^
Makefile:570: recipe for target 'libcollectdclient_la-network.lo' failed
Comment 1 Gustavo Zacarias 2015-04-16 12:15:09 UTC
You can't change toolchain options without doing a complete rebuild, that's the problem.