[comp.os.minix] getpwent.c in libsrc.a

japplega@csm9a.UUCP (Joe Applegate) (07/03/87)

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 ***