Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-31-2004, 01:53 PM   #1
LQ Newbie
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
defining global variable in fedora kernel

Hi ,
I try to add some new properties to linux kernel in
fedora core 2 . I have to define a global integer
variable in one of the header file , which I can
reach it from all .c files in kernel .
i.e. it will be enough to reach and modify it from
user.c and timer.c .
I tried something with extern but I got compile
error when try to "make bzdisk" command .
Does anyone has solution to this problem . What
should I write in header file (call it timer.h)
and what should I write in user.c and timer.c to
access and modify this integer variable named int
my_general_file_limit .
Please help me as soon as possible and send me
e-mail if possible . I'm in a deadlock .
Thanx to everyone . Merry christmas to everyone
Mr.Tunca Usluer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Python Global Variable? ElementNine Programming 5 11-05-2007 12:53 PM
problems with a global variable javier_ccs Programming 2 06-21-2005 12:18 PM
python global variable? goestin Programming 1 01-20-2005 06:52 AM
Defining Global variable in Fedora Kernel tuncausluer Fedora - Installation 0 12-31-2004 01:38 PM
how to define a global variable Anniebaby Programming 1 11-09-2003 10:43 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration