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

Paul Theodoropoulos paul at atgi.net
Wed Nov 10 23:35:50 UTC 1999


Did you compile perl with gcc 2.95.2? If not, try recompiling. I have a 
vague recollection of having similar problems until I recompiled my perl.

At 02:30 PM 11/10/1999 , Tom Kacvinsky wrote:
>Hi,
>
>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();
>
>Tom
>
>

----------------------------------------------------------------
Paul Theodoropoulos                   Advanced TelCom Group Inc.
Senior Unix Systems Administrator     Internet Services Division
paul at atgi.net                         Santa Rosa, California, US
Work: http://www.atgi.net        Play: http://www.anastrophe.com



More information about the inn-workers mailing list