[Scratchbox-users] Problem with my embedded board

2012-04-17 Thread Giuseppe Ventura
Hi all, I made ​​a little program using Qt with Phonon libraries, if i test it on my pc it start correclty!! but when I cross compile with the command: sb2 -t imx53 make i have this error: user@ubuntu1004desktop:~/QtSDK/helloworld/hello2/hello2$ sb2 -t imx53 make /usr/bin/qmake-qt4 -spec /usr/s

Re: [Scratchbox-users] debootstrap --second-stage fails because of /dev/ mapping

2012-04-17 Thread Lauri T. Aarnio
On Apr 16, 2012, at 10:37 PM, ext tuxor1...@web.de wrote: > hello everyone, > > I'm trying to setup an ARM cross-compiling environment inside of an i386 > Xubuntu machine. What I do is: > > # build scratchbox2 from source > # build qemu from source > > # setup environment in $ROOTFS > $ cd $R

Re: [Scratchbox-users] debootstrap --second-stage fails because of /dev/ mapping

2012-04-17 Thread tuxor1337
Thanks for your fast response, Lauri. Unfortunately the build process of sb2 fails now completely for me. But I have a new setup of Xubuntu 11.10 i386 - it could also be related to that: This is how I'm trying to build scratchbox2 at the moment: $ git clone git://gitorious.org/scratchbox2/scra

Re: [Scratchbox-users] debootstrap --second-stage fails because of /dev/ mapping

2012-04-17 Thread lauri.t.aarnio
I don't know why linking of sb2dctl fails for you. -ldl is present in utils/Makefile: $(D)/sb2dctl: override CFLAGS := $(CFLAGS) -Wall -W -Werror \ -I$(SRCDIR)/preload -Ipreload/ $(PROTOTYPEWARNINGS) \ -I$(SRCDIR)/include -ldl and I have tested building that on de

Re: [Scratchbox-users] debootstrap --second-stage fails because of /dev/ mapping

2012-04-17 Thread tuxor1337
I'm helpless about this as well. gcc is correctly called with -ldl as we can see from the verbose output: gcc -g -O2 -O2 -g -Wall -W -I/home/tuxor/sbox2/src/scratchbox2/include -I/home/tuxor/sbox2/src/scratchbox2/include -I/home/tuxor/sbox2/src/scratchbox2/luaif/lua-5.1.4/src -D_GNU_SOURCE=1

Re: [Scratchbox-users] debootstrap --second-stage fails because of /dev/ mapping

2012-04-17 Thread Russell Keith Davis
On 4/17/2012 3:44 PM, tuxor1...@web.de wrote: I'm helpless about this as well. gcc is correctly called with -ldl as we can see from the verbose output: gcc -g -O2 -O2 -g -Wall -W -I/home/tuxor/sbox2/src/scratchbox2/include -I/home/tuxor/sbox2/src/scratchbox2/include -I/home/tuxor/sbox2/src/s

Re: [Scratchbox-users] debootstrap --second-stage fails because of /dev/ mapping

2012-04-17 Thread lauri.t.aarnio
Right, I'd need to remove -ldl from CFLAGS and add it to the end of the line which reads "$(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^". About Qemu versions: The general rule is that always take the latest one. I don't know any reasons why you should not use 1.0 (I'm still using something older in m

Re: [Scratchbox-users] debootstrap --second-stage fails because of /dev/ mapping

2012-04-17 Thread tuxor1337
Perfect, thank you! The same applies to ./sb2d/Makefile for "-lm". After that it builds fine. Unfortunately I'm running into a new error now when running sb2-init: sb2-init: Creating Debian build system settings for this target: Can't locate strict.pm in @INC (@INC contains: /etc/perl /usr/loc