1

Compiling against pam libraries fails

view story
linux-howto

http://askubuntu.com – Problems with two different applications that I'm trying to compile with PAM support. 1) auth_pam - i gave up on this one for other reasons, but I still had the compiler problem - $:~/openvpn-2.3_rc1/src/plugins/auth-pam# make auth-pam cc auth-pam.c -o auth-pam /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' /tmp/ccR6yukF.o: In function `pam_auth': auth-pam.c:(.text+0xf90): undefined reference to `pam_start' auth-pam.c:(.text+0xfae): undefined reference to `pam_authenticate' auth-pam.c:(.text+0xfc (HowTos)