This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glibc: inet6_rth_init returned an abnormal address?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]