Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Fedora - Installation This forum is for the discussion of installation issues with Fedora.


  Search this Thread
Old 12-31-2004, 02:38 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 and happy new year.
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 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 Linux - Software 0 12-31-2004 02:53 PM
how to define a global variable Anniebaby Programming 1 11-09-2003 11:43 PM > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 07:51 AM.

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