Bug 24901

Summary: Can't compile with kgcc either
Product: [Retired] Red Hat Linux Reporter: Need Real Name <dslee>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: high    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-01-25 01:58:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2001-01-25 01:58:51 UTC
gcc problems are supposed to be resolved by using kgcc, but the following
happened:

kgcc -DMODULE -Wall -Wstrict-prototypes -O6 -c tulip.c


tulip.c: In function `tulip_open':
tulip.c:1437: structure has no member named `tbusy'
tulip.c:1438: structure has no member named `start'
tulip.c: In function `tulip_start_xmit':
tulip.c:2530: structure has no member named `tbusy'
tulip.c:2563: structure has no member named `tbusy'
... etc. etc.

Comment 1 Jakub Jelinek 2001-01-25 15:11:54 UTC
This is definitely not a gcc bug, my guess is that you are compiling
a 2.2 tulip driver against 2.4 headers (which are installed in /usr/include/{linux,asm}).
Make sure to pass -I/lib/modules/`uname -r`/build/include or
perhaps -I/usr/src/linux/include on the command line.