ok, now I have qemu dynamic but I have another error:

bash-3.2$ sb2 -e apt-get update
qemu: Unsupported syscall: 983045
cannot set up thread-local storage: unknown error

I'm using sbox2 from git.

There is another error too:

My sb2-init breaks on libtool compiling.
I'm using the arm-2007q1-21-arm-none-eabi-i686-pc-linux-gnu.tar
codesourcery toolchain.

The libtool compilation error:
$ sb2-init /home/vivi/arm-2007q1/bin/arm-none-eabi-gcc
(download)
(configure)
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
   -g -O2 -c -o ltdl.lo ltdl.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -g -O2 -c ltdl.c  -fPIC -DPIC -o .libs/ltdl.o
ltdl.c:2202: warning: 'struct direct' declared inside parameter list
ltdl.c:2202: warning: its scope is only this definition or
declaration, which is probably not what you want
ltdl.c: In function 'lt_argz_insertdir':
ltdl.c:3630: error: argument 'dp' doesn't match prototype
ltdl.c:2202: error: prototype declaration
ltdl.c:3643: error: dereferencing pointer to incomplete type
ltdl.c:3643: error: dereferencing pointer to incomplete type
ltdl.c:3648: error: dereferencing pointer to incomplete type
ltdl.c:3659: error: dereferencing pointer to incomplete type
ltdl.c:3668: error: dereferencing pointer to incomplete type
ltdl.c:3678: error: dereferencing pointer to incomplete type
ltdl.c: In function 'list_files_by_dir':
ltdl.c:3696: error: 'DIR' undeclared (first use in this function)
ltdl.c:3696: error: (Each undeclared identifier is reported only once
ltdl.c:3696: error: for each function it appears in.)
ltdl.c:3696: error: 'dirp' undeclared (first use in this function)
ltdl.c:3709: warning: assignment makes pointer from integer without a cast
ltdl.c:3710: error: dereferencing pointer to incomplete type
ltdl.c:3711: warning: passing argument 4 of 'lt_argz_insertdir' from
incompatible pointer type
make[2]: *** [ltdl.lo] Error 1
make[2]: Leaving directory `/tmp/sb2_libtool_build.Ib12018/libltdl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/sb2_libtool_build.Ib12018/libltdl'
make: *** [all-recursive] Error 1
Running /home/vivi/scratchbox/bin/sb2-build-libtool failed
You can run this manually later, otherwise your
sb2 environment is correctly setup and ready to use
bash-3.2$

I've already tried to upgrade to libtool newest version libtool-1.5.24
but I got exactly the same error.

any idea?

Thanks,
vivijim


On 8/12/07, Lauri Leukkunen <[EMAIL PROTECTED]> wrote:
> On 11/08/07 09:53 -0300, Rodrigo Vivi wrote:
> > On 8/11/07, Lauri Leukkunen <[EMAIL PROTECTED]> wrote:
> > > On 10/08/07 18:02 -0300, Rodrigo Vivi wrote:
> > > > $ sb2 -e apt-get update
> > > >
> > > > try to access the /lib/ld-linux.so.3 file that doesn't exist since my
> > > > host system use the ld-linux.so.2
> > > > This file exists under $HOME/buildroot/lib/ld-linux.so.3
> > > >
> > > > is this a sbox2 bug or just a miss configuration?
> > >
> > > Hmm, what kind of qemu do you have? You need to have a post 2007-06-18 cvs
> > > snapshot for sb2 to work right. Don't patch it with any of the sb2 related
> > > qemu patches, the necessary -drop-ld-preload switch is already in there.
> >
> > I'm using the qemu-snapshot-2007-08-10_05 compiled static.
>
> sb2 depends on binaries being linked dynamically, that allows the LD_PRELOAD
> to do its thing. Try recompiling qemu dynamic, I'm sure that's whats
> causing the problem.
>
> /lauri
> _______________________________________________
> Scratchbox-devel mailing list
> [email protected]
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel
>


-- 
Rodrigo Vivi
INdT - Instituto Nokia de Tecnologia
Blog: http://blog.vivi.eng.br
GPG: 0x905BE242 @ wwwkeys.pgp.net
_______________________________________________
Scratchbox-devel mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel

Reply via email to