[tpop3d-discuss] compile fails on Solaris 8 / gcc 3.0

pop3 lists archive pop3 at jasonhorton.com
Wed, 25 Jul 2001 14:33:08 -0400


# ./configure --disable-flock-locking \
                  --disable-cclient-locking\
                  --disable-cclient-fcntl\
                  --enable-fcntl-locking\
                  --enable-auth-other\
                  --enable-mbox-maildir
# make
*SNIP*
make[2]: Entering directory `/space/tpop3d-1.3.4'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -c util.c
In file included from util.c:28:
util.h:68: warning: `struct in_addr' declared inside parameter list
util.h:68: warning: its scope is only this definition or declaration,
which is probably not what you want.
util.c:100: warning: `struct in_addr' declared inside parameter list
util.c:100: conflicting types for `inet_aton'
util.h:68: previous declaration of `inet_aton'
util.c: In function `inet_aton':
util.c:101: `in_addr_t' undeclared (first use in this function)
util.c:101: (Each undeclared identifier is reported only once
util.c:101: for each function it appears in.)
util.c:101: parse error before "i"
util.c:102: `i' undeclared (first use in this function)
make[2]: *** [util.o] Error 1
make[2]: Leaving directory `/space/tpop3d-1.3.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/space/tpop3d-1.3.4'
make: *** [all-recursive-am] Error 2

Am assuming the code is trying to define its own inet_aton
because the one on Solaris insufficient or non-existent. Any ideas
why this is failing?