Re: Module compilation error (sparc64)

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

 



On Tue, Nov 26, 2002 at 08:29:08PM +0000, ee4299@ee.teiath.gr wrote:
> > > ultimately include <asm/page.h> (which is a link to
> > > /usr/src/linux/include/asm-sparc64/page.h)
> > 
> > http://kernelnewbies.org/faq/index.php3#headers
> 
> That isn't of any assistance, I had read the FAQ this morning.

Heh, then go re-read the link where Linus explains the difference
between system headers and kernel headers. :) There is only one way
you'd be getting these messages:


>>> The 64-bit gcc I use (egcs-2.92.11) stops with the following error:
>>> In file included from /usr/include/linux/sched.h:18,
>>>                  from /usr/include/linux/mm.h:4,
>>>                  from /usr/include/linux/slab.h:14,
>>>                  from /usr/include/linux/malloc.h:4,
>>>                  from /usr/include/linux/proc_fs:5,
>>>                  from procfs.c:9:

That is by screwing up the -I directives in your Makefile. :) Check out
the kernel Makefiles, and pay special attention to -nostdinc,
-iwithprefix, and -I..... :)

-- 
"A mouse can be just as dangerous as a bullet or a bomb."
-- US Representative Lamar Smith (R-Texas)

Attachment: pgp00229.pgp
Description: PGP signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux