PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: eric dot guerizec at bnpparibas dot com
Subject: compilation problem on hpux11i with gcc
Date: Oct 23 2002 3:33PM

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 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"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
/usr/include/sys/socket.h:501: parse error before "__sendfile64"
/usr/include/sys/socket.h:501: parse error before "bsize_t"
/usr/include/sys/socket.h:502: parse error before "__sendpath64"
/usr/include/sys/socket.h:502: parse error before "bsize_t"
/usr/include/sys/socket.h:504: parse error before "sendfile"
/usr/include/sys/socket.h: In function `sendfile':
/usr/include/sys/socket.h:504: parse error before "bsize_t"
/usr/include/sys/socket.h: At top level:
/usr/include/sys/socket.h:505: parse error before "sendpath"
/usr/include/sys/socket.h: In function `sendpath':
/usr/include/sys/socket.h:505: parse error before "bsize_t"
*** Error exit code 1

I'm not familiar with gcc on hpux. Can somebody help me?

Kinds regards.

eric





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.