An FYI for anyone else trying to build with uClibc: The psmisc configure script decides to replace the "malloc" and "realloc" functions with "rpl_*" versions, but those replacements are never actually defined. A couple of seds to delete the offending definitions and to convince it that malloc and realloc really are available from libc make the package compile OK.
I know these can be written more efficiently and combined into one, but the following works: sed -i'' -e 's|define HAVE_MALLOC 0|define HAVE_MALLOC 1|' -e '/define malloc rpl_malloc/d' config.h sed -i'' -e 's|define HAVE_REALLOC 0|define HAVE_REALLOC 1|' -e '/ define realloc rpl_realloc/d' config.h Chris Buxton Professional Services Men & Mice Address: Noatun 17, IS-105, Reykjavik, Iceland Phone: +354 412 1500 Email: [EMAIL PROTECTED] www.menandmice.com Men & Mice We bring control and flexibility to network management This e-mail and its attachments may contain confidential and privileged information only intended for the person or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any retention, dissemination, distribution or copy of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify us immediately by reply e-mail and immediately delete this message and all its attachment. -- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
