I am cross compiling linux kernel. I have the following program which compiles perfectly well when I run make from ti’s directory
kernel/Documentation/virtual/lguest
however when I compile the linux kernel and then boot the kernel image on the target machine that lguest program is nowhere. (I confirmed it by running find / -name lguest)
How can I make sure that the lguest programs goes somewhere into the linux kernel ?
u have to cd Documentation/virtual/lguest and explicitly do a “make” in that directory:
cd Documentation/virtual/lguest
make
cc -m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -U_FORTIFY_SOURCE lguest.c -o lguest