LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 12-31-2004, 02:53 PM   #1
tuncausluer
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 tunca_usluer@yahoo.co.uk . I'm in a deadlock .
Thanx to everyone . Merry christmas to everyone
Mr.Tunca Usluer
 
  


Reply


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 01:53 PM
problems with a global variable javier_ccs Programming 2 06-21-2005 01:18 PM
python global variable? goestin Programming 1 01-20-2005 07:52 AM
Defining Global variable in Fedora Kernel tuncausluer Fedora - Installation 0 12-31-2004 02:38 PM
how to define a global variable Anniebaby Programming 1 11-09-2003 11:43 PM


All times are GMT -5. The time now is 01:57 AM.

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