------- Comment #1 from ajd at gentrack dot com 2007-10-01 01:58 ------- Compile with -Wl,-Z and it succeeds: gcc-4.1.2/bin/gcc -mlp64 pam_test.c -lpam -o pt -Wl,-Z
It appears libpam on hpux requires -Z. It was removed here: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg00542.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33548