From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199701242041.OAA24791@atheist.tamu.edu> Date: Fri, 24 Jan 1997 14:41:20 -0600 (CST) From: Richard Henderson Subject: Re: Good kernel, bad libs In-Reply-To: > crypt is not in unistd.h under alpha. A random sampling of other Unix vendors showed only about half had crypt in unistd.h, while most had crypt.h as well. As glibc (like everyone else in this country) is forced to distribute the crypt functions separately, we decided to keep things clean and leave it out of unistd.h. > /tmp/cca081481.o: In function `main': > filetest.c++(.text+0x8c): undefined reference to `crypt(char const *, char > const *)' There are two potential problems here: first your version of crypt.h doesn't do the C++ extern "C" protection bits, so the external name of the function is mangled. Second, did you remember to include -lcrypt on the link line? r~ -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com