Bug 24901 - Can't compile with kgcc either
Summary: Can't compile with kgcc either
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.0
Hardware: i686
OS: Linux
high
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-01-25 01:58 UTC by Need Real Name
Modified: 2005-10-31 22:00 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-01-25 01:58:54 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.