Rahul Karnik on Tue, 20 Aug 2002 15:41:20 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Linux 2.4.18 include file.


>> When I try to compile Ethernet driver: fealnx.c, I
>> found that linux/config.h is including
>> linux/autoconf.h. But autoconf.h is not in 2.4.18.
>> What is going on? What file autoconf.h become to?
>
> That's because the source you downloaded from ftp.linux.com is
> presuming that your C compiler can build a kernel. RedHat's gcc(1)
> default one can't. Use kgcc.

Bzzzzzt!!! RedHat's gcc (2.96-something) in 7.3 definitely compiles the
linux kernel. In fact, kgcc was only needed in 7.0 (and perhaps 7.1). 10
bucks says kgcc will fail at the same point, and so will gcc 2.95-3/3.1/3.2
(official versions).

Did you do "make menuconfig", followed by "make dep"? autoconf.h is
generated by one of these, not sure which. Also, are you using the in-kernel
fealnx.c and enabling it "make menuconfig" or trying to compile a driver
downloaded from somewhere else?

-Rahul



_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug