glibc: inet6_rth_init returned an abnormal address?

Florian Weimer fweimer@redhat.com
Tue Dec 16 09:42:00 GMT 2014


On 12/16/2014 10:34 AM, wangyufen wrote:

> In netinet/in.h,  inet6_rth_init() is controled by macro __USE_GNU ,
>
> add "#define __USE_GNU" before #include <netinet/in.h>, that would be OK.

This is incorrect, you must define _GNU_SOURCE instead.

-- 
Florian Weimer / Red Hat Product Security



More information about the Libc-alpha mailing list