gcc -D_GNU_SOURCE -O3 -march=pentium4 -mcpu=pentium4 -mmmx -msse -msse2 -mfpmath=sse -I. -idirafter ./include/ -Ilib -I/var/tmp/portage/net-tools-1.60-r9/work/net-tools-1.60 -idirafter /var/tmp/portage/net-tools-1.60-r9/work/net-tools-1.60/include -c -o fddi.o fddi.c In file included from /usr/include/netinet/if_fddi.h:26, from fddi.c:30: /usr/include/linux/if_fddi.h:110: error: field `gen' has incomplete type Net-tools gives that error. Reproducible: Always Steps to Reproduce:
Created attachment 51097 [details, diff] Patch to make things work
tim: linux/if_fddi.h has been updated since 2.6.8.1 to include some stat info but if_fddi.h doesnt include the header with the new stat structs ... should we just fix this in 2.6.10 ? (any package that does linux/if_fddi.h is probably broken atm ...)
By the way, I'm using 2.6.10 headers as the default on my machine. Just finished emerge system, but is this a good idea? I know it's kind of a dumb questions, considering it's hard masked and -arch.
it should be fine ... someone needs to test these things ;)
No need to patch net-tools; I've fixed this in the headers already, just emerge sync and re-merge. Thanks for testing :-)