🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Philip D. Kutzenco Wed, 13 Aug 1997 00:00
INN 1.5.1sec2 w/PERL hooks - compile problem
#20480
Author: Philip D. Kutzenco
Date: Wed, 13 Aug 1997 00:00
42 lines
1919 bytes
I'm having a problem compiling libinn.a with PERL hooks on a SunOS 4.1.4
machine. It compiles fine when PERL_SUPPORT (in config.data) is set to
DONT. When PERL_SUPPORT is set to DO, I get the following errors:

cd lib ; make  install ; cd ..
make[1]: Entering directory `/home/local/inn1.5.1/lib'
gcc -I../include -g -I/usr/local/lib/perl5/sun4-sunos/5.003/CORE
   -c perl.c
In file included
   from /usr/local/lib/perl5/sun4-sunos/5.003/CORE/perl.h:245,
                 from perl.c:29:
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.4/2.7.2/include/sys/stat.h:92:

   conflicting types for `chmod'
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.4/2.7.2/include/unistd.h:86:
   previous declaration of `chmod'
In file included from
   /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.4/2.7.2/include/math.h:54,
                 from
   /usr/local/lib/perl5/sun4-sunos/5.003/CORE/perl.h:803,
                 from perl.c:29:
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.4/2.7.2
   /include/floatingpoint.h:175: conflicting types for `atof'
/usr/local/lib/perl5/sun4-sunos/5.003/CORE/perl.h:790:
   previous declaration of `atof'
make[1]: *** [perl.o] Error 1
make[1]: Leaving directory `/home/local/inn1.5.1/lib'
make: *** [all] Error 1


Can anyone help?

Thanks.

Philip D. Kutzenco
kutzenco@cytec.com




Re: INN 1.5.1sec2 w/PERL hooks - compile problem
#20549
Author: Philip D. Kutzenco
Date: Fri, 15 Aug 1997 00:00
24 lines
1355 bytes
Christophe Wolfhugel figured (correctly) that I had compiled Perl
originally with a different compiler than I was using for INN. In fact,
I evidently used Sun's cc compiler to build Perl. Rebuilding Perl with
gcc solved the problem! Thanks Christophe.

Philip D. Kutzenco wrote:

> I'm having a problem compiling libinn.a with PERL hooks on a SunOS
> 4.1.4
> machine. It compiles fine when PERL_SUPPORT (in config.data) is set to
>
> DONT. When PERL_SUPPORT is set to DO, I get the following errors:
>
>    previous declaration of `chmod'
>    previous declaration of `atof'
> make[1]: *** [perl.o] Error 1
> make[1]: Leaving directory `/home/local/inn1.5.1/lib'
> make: *** [all] Error 1




Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads