Matt Dalen wrote:

>
>> insmod is used for loading kernel modules.  That means you need to be 
>> in root mode and logged to /usr/src/linux and
>>
>> make mrproper
>> make deps
>> make modules install
>>
>> (and of course hello.c would have to be added to the kernel modules 
>> source code and appropriate headers added.)
>>
>> Do not do this...  Hello.c does not have to be part of the kernel.
>>
>> Use the linker to make an executable from hello.o and then run it.
>
>
> It has to be part of the kernel if I want to make drivers, which is my 
> ultimate objective.  This is just an attempt to teach myself how to 
> write them.
>
>
>> Civileme
>
>
>
>
>------------------------------------------------------------------------
>
>Want to buy your Pack or Services from MandrakeSoft? 
>Go to http://www.mandrakestore.com
>
Ohhhh  OK, well then the method I outlined is the one to follow--look at 
chapter 14 of the Reference manual included with your install for more 
detail.  But if you want to make a driver, to test it you need to 
compile it against the code of the running kernel.

The reference manual should be accessible from your menu under 
Documentation=>Mandrake Linux Documentation.

Civileme




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to