Thank you very much for the reply, Mika. (Finally someone replied :)) The reason I used "sb2 -eR ......" was because I started with a minimum root file system and used apt-get to install libqt4-dev and other libraries.
"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? Thank you again. Bin On Tue, Mar 30, 2010 at 12:46 AM, Mika Westerberg < ext-mika.1.westerb...@nokia.com> wrote: > 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 >
_______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users