Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81804 - Net-tools breaks with linux-headers-2.6.10, Patch included
Summary: Net-tools breaks with linux-headers-2.6.10, Patch included
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-12 16:15 UTC by Kaiting Chen
Modified: 2005-02-13 04:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to make things work (net-tools-1.60-fddi.patch,342 bytes, patch)
2005-02-12 16:32 UTC, Kaiting Chen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kaiting Chen 2005-02-12 16:15:36 UTC
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:
Comment 1 Kaiting Chen 2005-02-12 16:32:46 UTC
Created attachment 51097 [details, diff]
Patch to make things work
Comment 2 SpanKY gentoo-dev 2005-02-12 18:08:43 UTC
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 ...)
Comment 3 Kaiting Chen 2005-02-12 18:23:55 UTC
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.
Comment 4 SpanKY gentoo-dev 2005-02-12 18:24:56 UTC
it should be fine ... someone needs to test these things ;)
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2005-02-13 04:01:50 UTC
No need to patch net-tools; I've fixed this in the headers already, just emerge sync and re-merge. Thanks for testing :-)