Problems compiling inn-1999-11-10_03-01

Tom Kacvinsky tjk at
Wed Nov 10 22:30:59 UTC 1999


I have problems compiling inn-1999-11-10_03-01.

gcc --version : 2.95.2

uname -a : SunOS sun06 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-2

configured with `configure --with-perl`

perl --version : This is perl, version 5.005_03 built for sun4-solaris

The error I get is thus:

gcc -I../include  -D_REENTRANT -DPOSIX_PTHREAD_SEMANTICS -D_THREAD_SAFE -g -O2  -I/usr/local/lib/
perl5/5.00503/sun4-solaris/CORE  -c perl.c
In file included from perl.c:24:
../include/clibrary.h:240: warning: useless keyword or type name in empty declaration
../include/clibrary.h:240: warning: empty declaration
../include/clibrary.h:240: warning: data definition has no type or storage class
In file included from /usr/local/lib/perl5/5.00503/sun4-solaris/CORE/perl.h:527,
                 from perl.c:35:
/usr/local/include/arpa/inet.h:103: conflicting types for `inet_ntoa'
../include/clibrary.h:97: previous declaration of `inet_ntoa'

Upon investigating further, /usr/local/include/arpa/inet.h line 103 has:

   const char      *inet_ntoa __P((struct in_addr));

While ../include/clibrary.h line 97 has:

   extern char *inet_ntoa();


More information about the inn-workers mailing list