[PATCH] FAQ Module Compile entry

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

 



Please consider adding -D__KERNEL__ to that gcc invocation.
Made all the difference in the world to this newbie, instead
of seeing gcc complain that the kernel headers were hosed :-)

BTW, otherwise nice job on giving the -I part, haven't seen
this mentioned anywhere else.


Michael
-- 
Michael Fischer                         7.5 million years to run
michael@visv.net                        printf "%d", 0x2a;
                                                -- deep thought 
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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