[Scratchbox-users] cannot reach /lib/modules directory from within scratchbox

sfora dim sfora.dim at gmail.com
Wed Sep 12 08:01:28 EEST 2007


Hi Rafi,

On 9/10/07, Rafi Cohen <rafic at bezeqint.net> wrote:
> Within scratchbox I created a target for arm and my task is tol compile a
> couple of open source softwares and drivers for arm processor.
> When I execute "make" I get the following lines:
> make -C /lib/modules/2.6.11.4-20a-default/build
> M=/home/rafi/ft245 modules
> make: *** /lib/modules/2.6.11.4-20a-default/build: No such
> file or directory. Stop.
> make: *** [default] Error 2
make is trying to change its working directory into
/lib/modules/2.6.11.4-20a-default/build. I guess you have this folder
in your computer ? If so, copy it
into your /scratchbox/users/<your user name>/targets/<targetname>/,
then try again.

Shana Tova,
Sfora.

PS I recommend you to not  use scratchbox to compile kernel modules
(i.e drivers).
It can be done, but why the hassle ? It is very easy to cross compile
a linux kernel, or parts of it. Just ask in kernelnewbies at nl.linux.org
how to do that.


More information about the Scratchbox-users mailing list