Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: compilation problem on hpux11i with gcc
Date: Oct 23 2002 3:56PM
On Wed, 2002-10-23 at 08:33, email@example.com wrote:
> On HPUX 11i with Perl 5.6.1 bundle installed.
> I want to compile sybperl2.14. To do this, I installed gcc 3.2 because Perl
> 5.6.1 is a gcc compiled version!
> But make failed with this error :
> gcc -c -I/product/sybase/12.0/OCS-12_0/include -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -mpa-risc-1-1 -fPIC
> -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.14\" -DXS_VERSION=\"2.14\" -fPIC
> -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE -DCTLIBVS=100 -DSYBPLVER='"2.14"' -DDO_TIE CTlib.c
> cc1: warning: changing search order for system directory "/usr/local/include"
> cc1: warning: as it has already been specified as a non-system directory
> In file included from /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE/perl.h:713,
> from CTlib.xs:20:
> /usr/include/sys/socket.h:484: parse error before "sendfile"
This usually happens when the gcc version used to build sybperl is
different from the gcc version used to build perl.
I suggest that you rebuild perl with the gcc that you have installed.
Michael Peppler / firstname.lastname@example.org / http://www.mbay.net/~mpeppler
email@example.com / ZetaTools, Inc / http://www.zetatools.com
ZetaTools: Call perl functions as Sybase stored procedures!