Re: kernel modification questions

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

 



----- Original Message -----
From: "bunty" <bunty123_4@rediffmail.com>
To: <kernelnewbies@nl.linux.org>
Sent: Saturday, May 29, 2004 8:45 PM
Subject: kernel modification questions


Â
 i want some information
1) If i have to add any functions in kernel source where should i add its
entry. can you tell me those file names?
You can add to any file or can add new files also. This depends, where your
functions have a best match.

2) and if i am using some variables in that function local to it does it
require to add its entry and if yes where? and if variable is to be exported
that is global then what?
Local variables don't require anything. Global variable can be exported to
other modules by EXPORT_SYMBOL macro.

3) how to solve unresolved symbol error?
Either you have not defined the symbol or use EXPORT_SYMBOL.

4)i want to ask when i compile a new kernel image from installed kernel
source /usr/src/linux-2.4.20-8/ it create linux-2.4.20-8custom kernel
version. why it takes that version number and not same linux-2.4.20-8?
Edit main Makefile and change EXTRAVERSION field

Regards
Mohanlal





--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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