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 debian squeeze and wheezy, and on one older 
Ubuntu (probably it was lucid), no problems with those. Haven't tested with 
Xubuntu 11.10, though.

Please run make with V set to something (e.g. "V=y make") and it will print out 
what it is doing.

   Lauri

________________________________________
From: scratchbox-users-boun...@lists.scratchbox.org 
[scratchbox-users-boun...@lists.scratchbox.org] on behalf of ext 
tuxor1...@web.de [tuxor1...@web.de]
Sent: Tuesday, April 17, 2012 21:45
To: scratchbox-users@lists.scratchbox.org
Subject: Re: [Scratchbox-users] debootstrap --second-stage fails because of 
/dev/ mapping

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/scratchbox2.git
$ cd scratchbox2
$ git checkout -b 2.3_development origin/2.3_development
$ ./autogen.sh
$ ./configure --prefix=$HOME/sbox2/bin/scratchbox
$ make install

And this is the error message that "make install" produces:

[ARCHIVE] luaif/liblua.a
[CC] sb2d/libsupport.o
[CC] utils/sb2dctl.o
[LD] utils/sb2dctl
utils/sb2dctl.o: In function `call_sb2__ruletree_rpc__ping__':
/home/tuxor/sbox2/src/scratchbox2/utils/sb2dctl.c:50: undefined
reference to `dlsym'
utils/sb2dctl.o: In function `main':
/home/tuxor/sbox2/src/scratchbox2/utils/sb2dctl.c:96: undefined
reference to `dlopen'
utils/sb2dctl.o: In function `call_sb2__ruletree_rpc__init2__':
/home/tuxor/sbox2/src/scratchbox2/utils/sb2dctl.c:45: undefined
reference to `dlsym'

Looks like a flag "-ldl" is missing somewhere. Any ideas?

Shell I use the latest qemu from the 1.0 branch or stick to the "legacy"
0.15 branch?
_______________________________________________
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

Reply via email to