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
You can't change toolchain options without doing a complete rebuild, that's the problem.