I need to port pam_mkhome module to solaris, so first I have to make
sure it compiles under solaris,
so I did nothing but unzip, configure, make, then errors here:
...
make[2]: Entering directory
`/export/home/l/lu/luoy/project/sun-pam/Linux-PAM-0.99.4.0/libpam'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.. -DDEFAULT_MODULE_PATH=\"/lib/security/\" -DLIBPAM_COMPILE
-I./include -DPAM_VERSION=\"0.99.4.0\" -g -O2 -W -Wall
-Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes
-Wwrite-strings -Winline -Wshadow -MT pam_modutil_cleanup.lo -MD -MP -MF
".deps/pam_modutil_cleanup.Tpo" -c -o pam_modutil_cleanup.lo
pam_modutil_cleanup.c; \
then mv -f ".deps/pam_modutil_cleanup.Tpo"
".deps/pam_modutil_cleanup.Plo"; else rm -f
".deps/pam_modutil_cleanup.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I..
-DDEFAULT_MODULE_PATH=\"/lib/security/\" -DLIBPAM_COMPILE -I./include
-DPAM_VERSION=\"0.99.4.0\" -g -O2 -W -Wall -Wbad-function-cast
-Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings
-Winline -Wshadow -MT pam_modutil_cleanup.lo -MD -MP -MF
.deps/pam_modutil_cleanup.Tpo -c pam_modutil_cleanup.c -fPIC -DPIC -o
.libs/pam_modutil_cleanup.o
In file included from pam_modutil_private.h:14,
from pam_modutil_cleanup.c:7:
./include/security/pam_modutil.h:31: error: parse error before "gid_t"
./include/security/pam_modutil.h:31: warning: function declaration isn't
a prototype
./include/security/pam_modutil.h:44: error: parse error before "gid_t"
./include/security/pam_modutil.h:44: warning: function declaration isn't
a prototype
./include/security/pam_modutil.h:54: error: parse error before "gid_t"
./include/security/pam_modutil.h:54: warning: function declaration isn't
a prototype
make[2]: *** [pam_modutil_cleanup.lo] Error 1
make[2]: Leaving directory
`/export/home/l/lu/luoy/project/sun-pam/Linux-PAM-0.99.4.0/libpam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/export/home/l/lu/luoy/project/sun-pam/Linux-PAM-0.99.4.0'
make: *** [all] Error 2
Any idea? Actually any comment about porting pam_mkhome to solaris will
be welcome.
Thanks.
Frank
_______________________________________________
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list