Re: [Scratchbox-users] New releases: debian-squeeze 1.0.3
Hi Gergely and Jussi, Thank you very much for the clarification. Bin On Wed, Mar 31, 2010 at 3:08 AM, Jussi Hakala jussi.hak...@movial.comwrote: Mika Westerberg wrote: That wiki page is for sb1 and seems to be outdated as mmap_min_addr setting is not needed anymore (QEMU handles this automatically). Yes, new qemu versions handle that automatically. However, for sb1 you need to use qemu devkit, cputransp devkit contains older version which still requires the mmap_min_address adjustment to work. I strongly advise using the qemu devkit, though. Regards, Jussi ___ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users ___ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
Re: [Scratchbox-users] New releases: debian-squeeze 1.0.3
On Tue, 30 Mar 2010 19:50:35 +0200, ext Bin Wang binziw...@gmail.com writes: sb2 qmake seems doing the trick. I guess -eR is needed when installing pre-built packages. And it is not needed when just doing cross-compilation. Is this correct understanding? Yes, sb2 -e is needed, when you want some kind of emulation of the target's FS. From the man page: Use emulation mode, avoid executing any host binaries except qemu. This means that it will not map and try to find gcc, linker, etc. from the host. Which is good if you are trying to just run an already compiled program. -R is about using fakeroot, so you will be able to modify locations which are normally read-only in emalation mode. Of course, apt-get needs this, because it installs stuff. er...@lisa:~ $ sb2 -e mkdir /x mkdir: cannot create directory `/x': Read-only file system Exit status: 1 er...@lisa:~ $ sb2 -eR mkdir /x er...@lisa:~ $ sb2 -e rmdir /x rmdir: /x: Read-only file system Exit status: 1 er...@lisa:~ $ sb2 -eR rmdir /x For cross-compilation in one of your own directories inside your home, `sb2 command' should be enough. Gergely ___ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
Re: [Scratchbox-users] New releases: debian-squeeze 1.0.3
Mika Westerberg wrote: That wiki page is for sb1 and seems to be outdated as mmap_min_addr setting is not needed anymore (QEMU handles this automatically). Yes, new qemu versions handle that automatically. However, for sb1 you need to use qemu devkit, cputransp devkit contains older version which still requires the mmap_min_address adjustment to work. I strongly advise using the qemu devkit, though. Regards, Jussi ___ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
Re: [Scratchbox-users] New releases: debian-squeeze 1.0.3
On Tue, Mar 30, 2010 at 12:26:09AM +0200, ext Bin Wang wrote: Hi Jussi, Thank you very much for the information on this. In the wiki page (http://scratchbox.org/wiki/Apophis-r4), it mentions the problem with mmap_min_addr. I am trying to cross compile a Qt based program to an ARM target. I am using Unbuntu 9.10, Scratchbox2 2.0 and qemu-0.12.3. But I always get the following error with qmake. That wiki page is for sb1 and seems to be outdated as mmap_min_addr setting is not needed anymore (QEMU handles this automatically). $ sb2 -eR qmake mmap: No such device or address I think that you should actually run: $ sb2 qmake depending where that qmake binary is installed. Also can you provide output of sb2-init? Thanks, MW ___ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
Re: [Scratchbox-users] New releases: debian-squeeze 1.0.3
Hi Jussi, Thank you very much for the information on this. In the wiki page (http://scratchbox.org/wiki/Apophis-r4), it mentions the problem with mmap_min_addr. I am trying to cross compile a Qt based program to an ARM target. I am using Unbuntu 9.10, Scratchbox2 2.0 and qemu-0.12.3. But I always get the following error with qmake. $ sb2 -eR qmake mmap: No such device or address I did what's mentioned in the wiki page, vm.mmap_min_addr = 4096 vm.vdso_enabled = 0 But the problem remains. I would really appreciate if you could provide some help on this problem. Bin On Fri, Mar 26, 2010 at 3:10 AM, Jussi Hakala jussi.hak...@movial.comwrote: New releases: = * scratchbox-devkit-debian-squeeze 1.0.3 Highlights: === * Fixed the issue with missing perl library on certain perl based scripts * Fixed the issue of install-info busylooping, when a certain version of install-info installed on target Notes: == * Apophis R4 wiki page [1] contains the information on known issues and other release specific things. Report bugs to scratchbox.org bugzilla. Happy hacking, Jussi [1] http://scratchbox.org/wiki/Apophis-r4 ___ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users ___ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users