On Sun, Dec 18, 2005 at 02:14:41PM +0200, DENISE UMUHOZA wrote:
> Hi there, 
> Has any one used DSR in scratchbox? I need help.
> 
> I have downloaded the DSR source code from the uppsala university web
> page. I have  put the code in the scratchbox but I got many errors when
> I tried to compile.
> 
> here is the example of the errors I got:
> 
> [sbox-10.10.10.1_local_dsr: ~/dsr] > make
> grep: /lib/modules/2.6.8/build/Makefile: No such file or directory
> grep: /lib/modules/2.6.8/build/Makefile: No such file or directory
> /lib/modules/2.6.8/build/include/linux/modversions.h: No such file
> or directory

> Would please someone give me a hint of how I can get the DSR compiling
> in the scratchbox.

It looks like the Makefile doesn't find kernel headers. By default, it
looks for /lib/modules/$(shell uname -r)/build/. To override this, you
can either run 'make KERNEL_DIR=/foo/bar' or use SBOX_UNAME_RELEASE
environment variable to refer to target kernel (see
EnvironmentVariables[1] from wiki or variables.txt[2] from your sb
installation)


Footnotes: 
[1]  http://scratchbox.org/wiki/EnvironmentVariables

[2]  /scratchbox/doc/variables.txt

-- 
Toni Timonen
040-5111863,GPG 0x7984A4FD
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to