compile problems with procfs_example.c

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

 



Hi,

I am trying to create a new file in /proc file system.
I am finding a problem while compiling my code.

I am also finding the same problem when I compile procfs_example.c
which is available in Documentation/DocBook/ directory of the kernel code.

The main problem is: there are lot of errors while parsing the "proc_fs.h" file.

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

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

Any help will be appreciated.

~Learner

_________________________________________________________________
Reconnect with old pals. Relive the happy times. http://www.batchmates.com/msn.asp With just one click.


--
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