krb5-1.4.3 build problems
Ubaidul Khan
ukhanlists at hotmail.com
Fri Jun 16 12:17:29 EDT 2006
Patch helped - thanks, but now I am getting the following error:
threads.so.o && mv -f threads.so.o threads.so
threads.c: In function krb5int_pthread_loaded:
threads.c:140: error: pthread_mutexattr_setrobust_np undeclared (first use
in this function)
threads.c:140: error: (Each undeclared identifier is reported only once
threads.c:140: error: for each function it appears in.)
threads.c: At top level:
threads.c:398: warning: no previous prototype for
krb5int_call_thread_support_init
make[2]: *** [threads.so] Error 1
make[2]: Leaving directory
`/home/sysadmin/src/kerberos/krb5-1.4.2.npatch/krb5-1.4.2/src/util/support'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory
`/home/sysadmin/src/kerberos/krb5-1.4.2.npatch/krb5-1.4.2/src/util'
make: *** [all-recurse] Error 1
>From: Ken Raeburn <raeburn at MIT.EDU>
>To: ukhanlists at hotmail.com
>CC: kerberos at mit.edu
>Subject: Re: krb5-1.4.3 build problems
>Date: Thu, 15 Jun 2006 20:07:21 -0400
>
>
>Please try this patch.
>
>Index: ftpcmd.y
>===================================================================
>--- ftpcmd.y (revision 18151)
>+++ ftpcmd.y (working copy)
>@@ -971,7 +971,7 @@
> * getline - a hacked up version of fgets to ignore TELNET escape codes.
> */
> char *
>-getline(s, n, iop)
>+ftpd_getline(s, n, iop)
> char *s;
> int n;
> register FILE *iop;
>@@ -1213,7 +1213,7 @@
> case CMD:
> (void) signal(SIGALRM, toolong);
> (void) alarm((unsigned) timeout);
>- if (getline(cbuf, sizeof(cbuf)-1, stdin) == NULL) {
>+ if (ftpd_getline(cbuf, sizeof(cbuf)-1, stdin) == NULL) {
> reply(221, "You could at least say goodbye.");
> dologout(0);
> }
>Index: ftpd_var.h
>===================================================================
>--- ftpd_var.h (revision 18151)
>+++ ftpd_var.h (working copy)
>@@ -89,7 +89,7 @@
>
> /* ftpcmd.y */
> void upper(char *);
>-char *getline(char *, int, FILE *);
>+char *ftpd_getline(char *, int, FILE *);
> #endif /* FTPD_VAR_H__ */
>
> /* popen.c */
>Index: ftpd.c
>===================================================================
>--- ftpd.c (revision 18151)
>+++ ftpd.c (working copy)
>@@ -176,7 +176,6 @@
> extern char *home; /* pointer to home directory for glob */
> extern FILE *ftpd_popen(), *fopen(), *freopen();
> extern int ftpd_pclose(), fclose();
>-extern char *getline();
> extern char cbuf[];
> extern off_t restart_point;
>
>@@ -2139,7 +2138,7 @@
> if (!transflag)
> return;
> cp = tmpline;
>- if (getline(cp, sizeof(tmpline), stdin) == NULL) {
>+ if (ftpd_getline(cp, sizeof(tmpline), stdin) == NULL) {
> reply(221, "You could at least say goodbye.");
> dologout(0);
> }
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
More information about the Kerberos
mailing list