hstrerror is usually in netdb.h
configure probably didn't find it.
qpopper uses it's own in the one place popper/pop_init.c
but it doesn't seem to have this in password/poppassd.c (it should though)

You should take the #ifndef HAVE_HSTRERROR block from 
popper/pop_init.c and put it in password/poppassd.c too.
then do make clean ; make

-Tony
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco                       Network Administrator/Engineer
[EMAIL PROTECTED]       Intergrafix Internet Services

    "Dream as if you'll live forever, live as if you'll die today"
http://www.asteroid-b612.org                http://www.intergrafix.net
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.

On Tue, 21 Aug 2001, UNIX Fan wrote:

> Hi, all...
> 
> Although I've used a POP server for a long time, this is the first time I've 
> built one and I've run into a problem I hope someone can help me with.
> 
> I'm using qpopper4.0.3. When I configure it with the following options,
> everything works fine.
> # ./configure --enable-apop=/etc/pop.auth --enable-popuid=pop
> --enable-server-mode
> Folloing the ./configure, I get a good compile and installation, and
> everything works like I'd expect it to.
> 
> However, with I add the --enable-poppassd option, I start having problems.
> The configure line I use is the following:
> # ./configure --enable-apop=/etc/pop.auth --enable-popuid=pop
> --enable-server-mode --enable-poppassd
> followed by
> # make
> The make command produces the following error:
> ----lines removed for brevity----
> gcc -c -I.. -I. -I.. \
>         -I../popper -I../common  \
>    -g -O2 -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS
> -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX poppassd.c -o poppassd.o
> gcc  -o poppassd auth_user.o poppassd.o -lnsl -lsocket -lresolv -lmail
> -lposix4 -lcrypt \
>           ../common/libcommon.a
> Undefined                       first referenced
> symbol                             in file
> hstrerror                           poppassd.o
> ld: fatal: Symbol referencing errors. No output written to poppassd
> *** Error code 1
> make: Fatal error: Command failed for target `poppassd'
> Current working directory /usr/local/pkg/qpopper4.0.3/password
> *** Error code 1
> make: Fatal error: Command failed for target `poppassd'
> Current working directory /usr/local/pkg/qpopper4.0.3/popper
> *** Error code 1
> make: Fatal error: Command failed for target `popper_server'
> 
> Sure enough, I can't find *any* library or .o file that contains the
> hstrerror symbol, so I'm not surprised that it fails.
> 
> I can include the entire compilation sequence if it would be helpful, but I 
> hate to clutter up this mailing list if someone has the answer with the 
> information I've given. If someone can give me some pointers so that I can 
> get this working, I'd really appreciate it!
> 
> Thanks for your help!!
> 
> ~~Sandy
> 
> 
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> 
> 

Reply via email to