Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: eric dot guerizec at bnpparibas dot com
Subject: =?iso-8859-1?Q?R=E9f=2E_=3A_Re=3A_compilation_problem_on_hpux11i_with_gcc?=
Date: Oct 23 2002 4:29PM

Thanks Michael.
My Perl version is compiled with gcc 2.9 (Perl -V)
Or annother solution is to install the same gcc version which is isued with
Perl :)
But I'm going to install Perl 5.8 bundle and see what version is used.


Internet - 23/10/2002 17:56

Veuillez répondre à

Envoyé par :


cc :

Objet :     Re: compilation problem on hpux11i with gcc

On Wed, 2002-10-23 at 08:33, wrote:
> Hello
> 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
> 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
-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\"
> -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
> cc1: warning:   as it has already been specified as a non-system
> In file included from
>                  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 / / / ZetaTools, Inc /
ZetaTools: Call perl functions as Sybase stored procedures!

This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 


Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.