It hit the same problems as a few other people with building uClibc HLFS
Development version - shadow 4.0.11.1 gave problems with login_pam
(innetgr) and then with missing l64a code in uClibc.
Its now resolved with the following changes to the instructions:
(1) I kludged up the following patch to resolve the innetgr issue and then
applied it after unpacking shadow:
--- shadow-4.0.11.1/src/login_nopam.c 2005-07-02 18:53:06.000000000 +0100
+++ shadow-4.0.11.1.mod/src/login_nopam.c 2005-08-11
19:24:37.545847440 +0100
@@ -190,6 +190,7 @@
static int
netgroup_match (const char *group, const char *machine, const char *user)
{
+#ifdef NIS
static char *mydomain = 0;
if (mydomain == 0) {
@@ -200,6 +201,10 @@
}
return innetgr (group, machine, user, mydomain);
+#else
+ syslog(LOG_ERR, "NIS netgroup support not configured");
+ return (NO);
+#endif
}
/* user_match - match a username against one token */
(2) I found this patch for shadow/uClibc from Gentoo:
http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/sys-apps/shadow/files/shadow-4.0.11.1-uclibc-missing-l64a.patch?rev=1.1
and applied it after my above patch.
Shadow now builds and installs fine.....
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page