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

Re: compile problems with procfs_example.c



On Thu, Jun 05, 2003 at 11:49:30AM +0530, learner linux wrote:
> The main problem is: there are lot of errors while parsing the "proc_fs.h" 
> file.

Which one error upsets you the most?

> Probably, I have not included some of the needed header files or a version 
> mismatch.

Yeah, probably.

> Please let me know the compile options and header files needed for 
> compiling the standard - procfs_example.c file.

The kernelnewbies.org website has an example makefile and module that
you may wish to steal liberally from.

> Any help will be appreciated.

The best help I can give .. when trying to get technical help, the
formula to follow is:
(a) tell what you did
(b) tell what you expected
(c) tell what actually happened

And, the best rule of all -- cut-n-paste of actual input and output
helps immensely. :)

I hope this helps :)

-- 
Over 900 technologists agree: electronic voting isn't ready:
http://verify.stanford.edu/evote.html

PGP signature