Re: compilation error for non - su

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

 



On Sat, Oct 01, 2005 at 19:08:55 +0530, Pradeep Singh wrote:
> hi all
> 
> i recently tried writing a very simple module for 2.6 kernel series.
> 
> its a simple hello world program from ldd 3rd ed.
> 
> when i create a Makefile and do a make, it gives me a warning mesg saying
> 
> error : file .module.o.d doesnt have required permissions.
> 
> from where did this file come into picture.
> 
> i changed the permission masks using chmod 777 .module.o.d and then tried
> make .
> 
> now it runs fine but makes the module as hello.o while i need a hello.ko ...
> :-(
> 
> y is this happening?
> 
> i have used the Makefile given in the 2nd chapter of ldd 3rd ed by rubini.
> 
> i must add that when i did the same thing as root nothing wrong happend but
> happened nly wen i m compliing the module as non-root user.
> 
> y is this? i should b able to compile , if i m not wrong u need su
> permissions to insert the module not to compile it.
> 
> 
> i also want to know there were also some files which showed up only when i
> used ls -la like .hello.cmd .o etc , wat r these ? theri significance?

If you don't care to spell properly, why should anyone care to help you?

You don't give enough details (like kernel version, contents of the
Makefile...) anyway.

--
						 Jan 'Bulb' Hudec <bulb@xxxxxx>

Attachment: signature.asc
Description: Digital signature


[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