Bug 3188 - undefined reference to 'ulckpwdf'
undefined reference to 'ulckpwdf'
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
5.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Cristian Gafton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-31 23:40 EDT by josh
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-06-02 05:52:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description josh 1999-05-31 23:40:14 EDT
I am attempting to use the shadow suite password file
locking routines, but only the locking one of them seems to
be in the glibc libraries.  I get the following error
message:

/tmp/cca126091.o: In function `main':
/tmp/cca126091.o(.text+0x3d): undefined reference to
`ulckpdwf'

when I attempt to compile the following program:

#include <stdio.h>
#include <shadow.h>

void main(void) {

        int i;

        i = lckpwdf();
        printf("Press enter to continue.");
        i = getchar();
        printf("Done.\n");
        i = ulckpdwf();
}


Any ideas?
Comment 1 David Lawrence 1999-06-01 16:33:59 EDT
I have confirmed this on a stock 6.0 machine.
Comment 2 Jeff Johnson 1999-06-02 05:52:59 EDT
Fix the typo in your program.

Note You need to log in before you can comment on or make changes to this bug.