Mailing List Archive

Compiling 7.2.3 in Tru64
Hi!

I'm normally running it in Linux, but today I tried to compile under Tru64
V4.0F patchkit 7 and Tru64 V5.1A patchkit 3. Both bombed out (Compaq
CC/make & GCC/gmake) with the same error :

group.c: In function `CheckPass':
group.c:410: `pwd' undeclared (first use in this function)
group.c:410: (Each undeclared identifier is reported only once
group.c:410: for each function it appears in.)
group.c:411: `retval' undeclared (first use in this function)
make[1]: *** [group.o] Error 1
make[1]: Leaving directory `/usr/users/un19102/src/conserver-
7.2.3/conserver'
make: *** [all] Error 1


I can compile if I drop the if/endif around these lines in
conserver/group.c :

#if HAVE_GETSPNAM
struct passwd *pwd;
struct spwd *spwd;
int retval = AUTH_SUCCESS;
#endif;

/Jesper
Re: Compiling 7.2.3 in Tru64 [ In reply to ]
gack...yep, if you compile 7.2.3 on a non-shadow file system without
PAM, you'll get this. sorry about that folks. The next rev will have
the #if only around the 'struct spwd' line.

thanks for trying it and getting the word out!

Bryan

> I can compile if I drop the if/endif around these lines in
> conserver/group.c :
>
> #if HAVE_GETSPNAM
> struct passwd *pwd;
> struct spwd *spwd;
> int retval = AUTH_SUCCESS;
> #endif;
>
> /Jesper
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users