From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,83d3dd560ad63c4e,start X-Google-Attributes: gidfee84,public From: koonteck@merlion.singnet.com.sg (Chua Koon Teck) Subject: compilation under OSF1 Date: 1995/07/26 Message-ID: <3v4ki1$h6v@lantana.singnet.com.sg>#1/1 X-Deja-AN: 106869390 organization: Singapore Telecom Internet Service newsgroups: comp.unix.osf.osf1 Hi I am trying to compile a very simple program under OSF1 which contains the command getlogin_r(char*, int). My program is : include #include #include #include int main(void) { int fd; char* login; int len; int status; status = getlogin_r(login, len); printf("status: %d, login: %s\n", len, login); } I uses "cc -o pinewrap pinewrap.c". But it seems that the linker could not resolve the getlogin_r command. Any help will be greatly appreciated. Appreciate if reply be email to me. Thank you. Have a nice day. Regards Chua Koon Teck koonteck@singnet.com.sg SingNet URL="http://www.singnet.com.sg/" Singapore Telecom