I'm getting an error when I try to compile with --enable-poppassd on 
a RH 7.2 box.  It compiles great without it.  I'm probably missing 
something.  Here's my configure options:

./configure  --prefix=/usr/local/ --sysconfdir=/etc/qpopper 
--with-pam=pop3 --enable-apop=/etc/qpopper/pop.auth --with-popuid=pop 
--with-log-facility=LOG_LOCAL1 --enable-shy --enable-log-login 
--enable-servermode --enable-bulletins=/var/mail/bulls 
--enable-spool-dir=/var/mail/spool --enable-popuid=pop 
--enable-temp-drop-dir=/var/mail/poptemp --enable-poppassd 
--enable-fast-update

and here's the error:

make[2]: Leaving directory `/usr/local/src/qpopper/qpopper4.0.4/common'
gcc   pop_dele.o pop_dropcopy.o pop_get_command.o 
pop_get_subcommand.o pop_init.o pop_last.o pop_list.o pop_log.o 
pop_lower.o pop_msg.o pop_parse.o pop_pass.o pop_quit.o pop_rset.o 
pop_send.o pop_stat.o pop_updt.o pop_user.o pop_xtnd.o pop_xmit.o 
popper.o pop_bull.o xtnd_xlst.o pop_uidl.o mktemp.o pop_rpop.o 
pop_apop.o md5.o pop_auth.o pop_pope.o pop_extend.o scram.o hmac.o 
base64.o pop_util.o get_sub_opt.o msg_ptr.o drac.o pop_config.o 
pop_tls.o pop_tls_openssl.o pop_tls_sslplus.o sslplus_utils.o main.o 
pop_cache.o genpath.o -o popper ../mmangle/libmangle.a \
         -I../common ../common/libcommon.a \
         -lgdbm  -ldl -lpam
../common/libcommon.a(maillock.o): In function `Qmaillock':
/usr/local/src/qpopper/qpopper4.0.4/common/maillock.c:278: the use of 
`tempnam' is dangerous, better use `mkstemp'
gcc -c -I.. -I.. -I. \
         -I../mmangle -I../common  \
         -g -O2 -DHAVE_CONFIG_H  -DLINUX -DUNIX popauth.c -o popauth.o
gcc  -o popauth base64.o scram.o md5.o hmac.o popauth.o  -lgdbm \
         ../common/libcommon.a
cd ../password && make all
make[2]: Entering directory `/usr/local/src/qpopper/qpopper4.0.4/password'
gcc -c -I.. -I. -I.. \
          -I../popper -I../common  \
     -g -O2 -DHAVE_CONFIG_H  -DLINUX -DUNIX auth_user.c -o auth_user.o
auth_user.c:565:27: warning: no newline at end of file
auth_user.c:565:27: warning: no newline at end of file
gcc -c -I.. -I. -I.. \
          -I../popper -I../common  \
     -g -O2 -DHAVE_CONFIG_H  -DLINUX -DUNIX poppassd.c -o poppassd.o
gcc  -o poppassd auth_user.o poppassd.o -ldl -lpam \
            ../common/libcommon.a
poppassd.o: In function `chkPass':
/usr/local/src/qpopper/qpopper4.0.4/password/poppassd.c:1197: 
undefined reference to `auth_user'
collect2: ld returned 1 exit status
make[2]: *** [poppassd] Error 1
make[2]: Leaving directory `/usr/local/src/qpopper/qpopper4.0.4/password'
make[1]: *** [poppassd] Error 2
make[1]: Leaving directory `/usr/local/src/qpopper/qpopper4.0.4/popper'
make: *** [popper_server] Error 2


If anyone has any ideas, I'd love to hear them.  Many thanks

Justin
-- 

--
Justin Shore, ES-SS ES-SSR      Pittsburg State University
Network & Systems Manager       Kelce 157Q
Office of Information Systems   Pittsburg, KS 66762
Voice: (620) 235-4606           Fax: (620) 235-4545
http://www.pittstate.edu/ois/

Warning:  This message has been quadruple Rot13'ed for your protection.

Reply via email to