[prev in list] [next in list] [prev in thread] [next in thread] 

List:       krb5-bugs
Subject:    [krbdev.mit.edu #7057] Krb5 1.9.x does not build on Solaris 8 -
From:       "Richard Basch via RT" <rt-comment () krbdev ! mit ! edu>
Date:       2011-12-27 19:23:10
Message-ID: rt-7057-35012.9.34885172699047 () krbdev ! mit ! edu
[Download RAW message or body]

Kerberos 1.9.x does not build on Solaris 8, using gcc.  I trace the problem
down to the build now setting the gcc flag
-werror-implicit-function-declaration, which it did not previously include
in Kerberos 1.8.x builds. 'ksu' still has an implicit function declaration
for strcpy and memcpy because Solaris lacks a setenv() function in libc and
thus includes the offending code.

Enclosed is the patch...


--- src/clients/ksu/setenv.c.orig	2009-10-30 20:48:38.000000000 -0400
+++ src/clients/ksu/setenv.c	2011-12-27 14:03:05.000000000 -0500
@@ -21,6 +21,7 @@
 #include <sys/types.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "autoconf.h"
 
 static char *_findenv(char *, int *);


_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic