[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Compiling 7.2.3 in Tru64

Jesper Frank Nemholt jfn@dassic.com
Tue, 1 Oct 2002 07:46:12 -0700 (PDT)


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-
make: *** [all] Error 1

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

    struct passwd *pwd;
    struct spwd *spwd;
    int retval = AUTH_SUCCESS;