Brian Cheeseman schreef: > Rob, > > I also manage to get that far. It is caused by a difference between > uClibc and GLibc. In short gettext has been designed to work with GLibc > and not uClibc. I was unable to locate any patches for this problem and > must admit that I allowed myself to be defeated on this and went back to > build a GLibc system. > > I did manage to "fool" gcc by editing msgfmt.c and placing a global > variable called error_print_progname and assigning it a NULL. You will > need to have a look at the appropriate header file to determine the > correct syntax. I don't remember though what the next error was that I > faced. I'll pull out my old laptop and try to work it through for you. > > I am currently in the process of building a Makefile to do the entire > HLFS uClibc build to allow for some more debugging work on this issue as > I have a direct need to use uClibc in a currently private project to > minimise the footprint. > > Regards, > Brian
Hi Brian, Thanks a lot for responding. I think I give it up too for now. :-( I decided to skip gettext to see whats ahead: Perl failed to build, skipping Perl (because perl is only needed for testing in the next paragraph), I ran into the next trouble. The configure of texinfo failed with a lot of: "sed: -e expression #1, char 13: Memory exhausted" errors. I decide to take more risk now and commented out line 214 from msgfmt.c and a similar line in msgcmp.c:96 (I know this is a really blunt thing to do, so don't try this at home). Gettext compiled fine now, but the errors on perl and texinfo remained the same. Rob -- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
