On Monday 12 October 2009 10:05:26 Philip Nye wrote: > Mike Frysinger wrote: > > On Monday 12 October 2009 06:53:45 Philip Nye wrote: > >> Rather than a symlink hack, this led me to try a recent release of > >> uClibc as the one in the uClinux dist is not so new (and I found this: > >> http://gcc.gnu.org/ml/gcc/2008-08/msg00273.html), but I now get failures > >> down the line because uClibc headers contain lots of libc_hidden_proto() > >> declarations. As I understand it, these headers should be sanitized to > >> remove this internal code for public use, but this is not happening, and > >> I cannot see where it should be carried out. If I simply enter the > >> uClibc directory and try to build from there, I get a different set of > >> errors with missing header files. > > > > that is because the uClibc headers have to be installed first and the > > uClinux dist build system doesnt install anything > > I had rather come to this conclusion - it appears to be "make > install_headers" in uClibc which calls unifdef to remove all the internal > stuff from the headers, but this target does not get built by uClinux. > Neither does it seem to get built by the normal make sequence in uClibc, > but I may be missing that. > > What is the best soltuion to this? Should the uClinux build be installing > the uClibc headers to some directory within the uClinux build (e.g. by > setting DEVEL_PREFIX?), or should it define some null macros so that it > doesn't barf on libc_hidden_proto and the like (this would seem a real > hack).
my opinion of how to handle libraries in uclinux-dist (let alone the C library), isnt shared by the uclinux-dist maintainers, so you'll have to wait for them to give an "official" answer as to how to address this. -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev