Re: compiling "hello world" kernel module on 2.6 kernel

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

 



Thanks Espen, but it didnt worked.
Please tell me where i am wrong:
hello.c is at /local/usr/linux-2.6.5-7.162
i did a cd to /local/usr/linux-2.6.5-7.162
created makefile called Makefile.1 as u suggested.
and did a make -f Makefile.1

--- Espen Fjellvær Olsen <[email protected]> wrote:
> On 5/7/05, li nux <[email protected]> wrote:
> > 
> > default:
> >          $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
> 
> Try changing this to:
> " $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) modules"
> 
> 
> -- 
> Mvh / Best regards
> Espen Fjellvær Olsen
> [email protected]
> Norway
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at 
> http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


		
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux