[Pkg-shadow-devel] Building shadow 4.1.2.2: uid_t not defined

Angel Tsankov fn42551 at fmi.uni-sofia.bg
Thu Mar 12 14:42:50 UTC 2009


Hello,

I'm trying to compile shadow 4.1.2.2.  './configure' completed successfully,
but 'make' prints the following error:
gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -g -O2 -MT xgetpwnam.o -MD -MP -MF
.deps/xgetpwnam.Tpo -c -o xgetpwnam.o xgetpwnam.c
In file included from xgetpwnam.c:52:
../lib/pwio.h:37: error: parse error before "uid"

It seems that 'uid_t' has not been defined.  I search for its definition and
found that 'uid_t' is conditionally typedef'ed in /usr/include/pwd.h.  The
condition is '#if defined __USE_XOPEN || defined __USE_XOPEN2K'.  I remember
building this version of shadow without any problem before.  How can I build
it again?

Regards,
Angel Tsankov






More information about the Pkg-shadow-devel mailing list