qin wrote: > I have no idea. Could sombody give me some advice? Try: $ gcc -fPIC -c pam_module.c $ ld -x --shared -o pam_module.so pam_module.o /kneth