Hi Arne, I don't think the symlink is such a big deal, it only makes sure that some stupid configure scripts with hard-coded library paths find the loader. Ofcourse it should be better to fix all the sources upstream, and it's definitly something that should be done. But I don't think this link will prevent sources from being crosscompiled (it points to the crosscompiled loader).
AFAIK it has nothing to do with target-compiled executables on the host system. Eric > Warning:The symlink from /lib/ld-uClibc.so.0 --> > /home/pst/LEAF/buildtool/staging/lib/ld-uClibc.so.0 does not exist, > this may cause problems with some configure scripts that try to run > a compiled program > > > > Do we still need this link? If this is the case, then how can buildtool > do cross-arch targeting? We shouldn't be running any target- compiled > executables on the host environment. > Well, actually we are not really cross compiling right now, the buildenv should be - in general - useable for cross compiling, most buildtool.mk files are not. I hope this will change in the future as i know some people who are interested in porting bering-uclibc to mips...There are a lot of bad configure files out there... > If someone can point me at the program/issue that was causing the > problem, I'll take a peek at fixing it. I know that keepalived configure is quite ugly and refuses to work properly when trying to cross compile but i can't remember right now which other packages needed the symlink.. But should be easy to find out, just don't create that link, uncomment the check_lib_link in buildtool.pl and use tools/buildall.sh to get everything build... --arne ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ leaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-devel
