![]() |
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
I wasn't able to run it twice with the same settings. After a reboot it shifted back to its previous state. So I'm using RC6 kernel yet.
|
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
Hi,
I'm using Ubuntu 9.10 in my system. I'm getting an error like this while i run an application in QT "mmap : permission denied" How can i resolve this??? Help me... Thanks in advance... |
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
Quote:
|
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
Quote:
|
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
I had to run the command after starting the scratchbox because during startup the mmap limit would be set to 4096. At least under esbox.
|
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
Do you have SELinux installed and active ? Does /var/log/message have warning in there ?
If it is active then "cat /selinux/enforce" will return "1" To de-activate as "root" user outside of scratchbox, run: echo 0 >> /selinux/enforce This reply assumes you have set VDSO to not randomize (value 2) or disabled completely (0) via sysctl in 32bit Linux. This is also required via kernel command line option "vdso32=" for 64bit Linux. This reply assumes you have checked the vm.mmap_min_addr=4096 as talked about in previous posts. |
Re: Maemo SDK under Ubuntu Hardy/kernel 2.6.24
Quote:
Quote:
sysctl abi.vsyscall32=0 echo 4096 > /proc/sys/vm/mmap_min_addr /opt/scratchbox/sbin/sbox_ctl start But this don't solve the problems with the diablo arm target. If I run apt-get install maemo-sdk-dev I got a lot of mmap: Permission denied errors |
All times are GMT. The time now is 06:20. |
vBulletin® Version 3.8.8