Hi,

I am trying to cross-compile a GNU system and have run into an "issue" compiling Hurd. Currently, I am cross-compiling with binutils-2.19.1, gcc-4.1.2 and glibc-2.7 using the patches from here: http://www.schwinge.homeip.net/~thomas/tmp/glibc-patches/ (all 00xx- patches, cvs-MSG_NOSIGNAL.diff and new-needed-1.patch).

After working around bug 20151, the error I get cross-compiling hurd (current git) is:
...
In file included from ../../hurd/pfinet/linux-src/include/linux/netdevice.h:133,
                from ../../hurd/pfinet/linux-src/net/ipv6/addrconf.c:33:
../../hurd/pfinet/linux-src/include/linux/skbuff.h: In function '__skb_pull': ../../hurd/pfinet/linux-src/include/linux/skbuff.h:497: warning: pointer targets in return differ in signedness
../../hurd/pfinet/linux-src/include/linux/skbuff.h: In function 'skb_pull':
../../hurd/pfinet/linux-src/include/linux/skbuff.h:504: warning: pointer targets in return differ in signedness ../../hurd/pfinet/linux-src/net/ipv6/addrconf.c: In function 'ipv6_addr_type': ../../hurd/pfinet/linux-src/net/ipv6/addrconf.c:195: error: 'struct in6_addr' has no member named '__in6_u'

This is "caused" by commit 30c7c06a, which updates the usage of the in6_addr struct to what is provided by newer glibc releases. Is there another patch for glibc-2.7 to fix this or, even better, a patch-set for a newer glibc version?

Thanks,
Allan



Reply via email to