Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!nbires!isis!csm9a!japplega From: japplega@csm9a.UUCP (Joe Applegate) Newsgroups: comp.os.minix Subject: getpwent.c in libsrc.a Message-ID: <464@csm9a.UUCP> Date: Fri, 3-Jul-87 02:45:48 EDT Article-I.D.: csm9a.464 Posted: Fri Jul 3 02:45:48 1987 Date-Received: Sat, 4-Jul-87 14:43:17 EDT Organization: Colorado School of Mines Lines: 18 While trying to compile Andy's 1.2 commands files uudecode.c was unable to link to getpwnam() in libc.a.... I checked and found the getpwent.s file was not included with the archive.... so I un ar'ed getpwent.c from libsrc.a and found that the structure members had different names from the pwd.h defination... you must add pw_ to name of each element of the structure (when they are referenced in getpwent.c) and then recompile and append it to the archive (libc.a). I suspect the same problem will occur when I get around to patching and recompiling passwd.c. Joe Applegate - Colorado School of Mines Computing Center {seismo, hplabs}!hao!isis!csm9a!japplega or SYSOP @ M.O.M. AI BBS - (303) 273-3989 - 300/1200/2400 8-N-1 24 hrs. *** UNIX is a philosophy, not an operating system *** *** BUT it is a registered trademark of AT&T, so get off my back ***