Re: Build kernel modules and run it on L4linux

Björn Döbel <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 19.02.2014 08:52, Irvanda Kurniadi wrote:
> On Wed, Feb 19, 2014 at 12:01 AM, Björn Döbel 
> <[email protected]>wrote:
> 
> 
>> In your case, the module seems to be available, there's just
>> something wrong with it. When you compiled the module, did you
>> configure the correct L4Linux build directory in the Makefile?
> 
> 
> I didn't configure using l4linux build directory. Is it something
> like L4DIR = ../.. ? I just followed the instruction to make kernel
> modules shown in tldp.org. Can you point an example of Makefile to
> to build kernel modules for L4Linux?

The TLDP guide is fine. The point is you cannot copy&paste their
Makefiles, because these will use "/lib/modules/$(shell uname
- -r/build" as the kernel build directory. This however refers to the
Linux kernel on your build machine, not the L4Linux one. Replace this
path with your L4Linux build dir, so that you build a kernel module
for L4Linux and not for your local machine.

Bjoern
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlMEZjMACgkQP5ijxgQLUNknWgCdES3axbi3tS97+2RsKIT9Yxfn
BEUAmgMRgstwvypM9djHPkyXa5IvE/dj
=atz9
-----END PGP SIGNATURE-----

_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.