On Tuesday 24 January 2006 14:12, you wrote: you are absolutely right ! (I thought make would compile all stuffs inside sbrsh directory ! and would give me sbrshd ) after manual_inserting "include/fakeroot/[config.h message.h] in my armeb_compiler_include tree ,make sbrshd compiles ok many thanks > On Sun, Jan 22, 2006 at 12:34:09AM +0100, wangji wrote: > > I 've installed armv5b-softfloat-linux toolchain following the > > sbox_wiki_toolchain.I need sbrshd to use cputransparency,but unable to > > compile,due to the following error : > > > > [sbox-armeb: ~/sbrsh-7.0] > make > > cc -o sbrsh client.o config.o buffer.o common.o mount.o protocol.o > > -Wall -Wmissing-prototypes -Wformat=2 -Wshadow -pipe -DREVISION=0 -O2 > > -fomit-frame-pointer -DNDEBUG -L/scratchbox/tools/lib -lsb_env -Xlinker > > -rpath -Xlinker /scratchbox/tools/lib > > /scratchbox/compilers/armv5b-gcc-3.4.5-glibc-2.3.5/lib/gcc/armv5b-softflo > >at-linux/3.4.5/../../../../armv5b-softfloat-linux/bin/ld: skipping > > incompatible /scratchbox/tools/lib/libsb_env.so when searching for > > -lsb_env > > /scratchbox/compilers/armv5b-gcc-3.4.5-glibc-2.3.5/lib/gcc/armv5b-softflo > >at-linux/3.4.5/../../../../armv5b-softfloat-linux/bin/ld: skipping > > incompatible /scratchbox/tools/lib/libsb_env.a when searching for > > -lsb_env > > /scratchbox/compilers/armv5b-gcc-3.4.5-glibc-2.3.5/lib/gcc/armv5b-softflo > >at-linux/3.4.5/../../../../armv5b-softfloat-linux/bin/ld: cannot find > > -lsb_env > > collect2: ld returned 1 exit status > > ----------------- > > please advise how to get thru this incompatibility libsb_env problem > > . > > Looks like you are compiling the sbrsh client for the target > system. That is probably not what you want. > > Probably what you want to do is compile the daemon for target > platform. This is done by running > [sbox-armeb: ~/sbrsh-7.0] > make sbrshd > or to make a debian package for target platform > [sbox-armeb: ~/sbrsh-7.0] > dpkg-buildpackage -rfakeroot > > If you actually want to (re)compile the client for the scratchbox host > system(eg. you have made some modifications for sbrsh), you should use > the host-gcc target and run make as above (normally this is done on > the build system of scratchbox itself[1], in > scratchbox/tools/sbrsh/Makefile) > > > Footnotes: > [1] http://scratchbox.org/cgi-bin/darcsweb.cgi?r=1.0/scratchbox
_______________________________________________ Scratchbox-devel mailing list [email protected] http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel
