Re: How to update the compiler

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

 



On Fri, May 09, 2003 at 11:14:29AM -0700, Bluesea wrote:
> In file included from
> /lib/modules/2.4.18-14/build/include/linux/module.h:25,
>                  from hello.c:5:
> /usr/include/asm/atomic.h:40:2: warning: #warning
> Using kernel header in userland program. BAD!

http://www.kernelnewbies.org/faq/index.php3#compmod

Notice the gcc line. Learn it. Love it. Copy similar things into your
Makefiles. :)

-- 
"I think anybody who believes that they understand the will of God,
and can act as an agent for God, is dangerous." -- Chris Hedges

Attachment: pgp00400.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