Contents |
Some Linux distributions have issues (see http://scratchbox.org/wiki/Apophis-r4):
On Ubuntu installation, you have to disable VDSO to make Scratchbox work fine.
Before Ubuntu 9.10, you can fix that executing this command from root user:
echo 0 | sudo tee /proc/sys/vm/vdso_enabled
For Ubuntu 9.10, the vdso_enabled flag is not available through /proc/sys/vm in the 64 bit build. It is still available on the 32 bit build.
Further information on workarounds for 64 bit builds can be found at http://wiki.maemo.org/Documentation/Maemo5_Final_Installation#x86-64_kernel
or try:
Add the following to /etc/sysctl.conf
vm.vdso_enabled = 0 abi.vsyscall32 = 0 kernel.vdso = 0
Run sysctl -p
Another problem is related to mmap under Ubuntu Hardy, you can fix with this command:
echo 4096 | sudo tee /proc/sys/vm/mmap_min_addr
To make these changes permanent after each reboot, you can edit /etc/sysctl.conf and add these lines:
vm.vdso_enabled = 0 vm.mmap_min_addr = 4096
then apply it in this way: sysctl -p
Have you checked you have installed Scratchbox and the toolchain correctly?
You can build and run the Hello-world project provided by Scratchbox. See the instructions on SB tutorial