make error on an HP-UX system
jzapata2_at_rdg.boehringer-ingelheim.com
Date: 12/30/03
- Previous message: Martin J. Evans: "coredump in perl using DBD::ODBC (was succint view of problem - getting results from DBCC)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: dbi-users@perl.org Date: Tue, 30 Dec 2003 15:08:00 -0500
Hi,
I'm trying to build DBI on an HP-UX. The first command perl Makefile.PL
works fine.
But I am getting this error when I issue the second command make. I would
appreciate any help in resolving this problem:
$ uname -a
HP-UX rdgrdm3t B.11.11 U 9000/800 1196464656 unlimited-user license
$ make
/bin/sh -c true
/bin/sh -c true
/bin/sh -c true
gcc -c -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -L/lib/pa1.1
-DUINT32_
AX_BROKEN -mpa-risc-1-1 -fPIC -fno-strict-aliasing -I/usr/local/include
-D_LARG
FILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.39\"
-DXS_VERSION=\"1.3
\" -fPIC -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE -Wall
-Wno-comment
erl.c
In file included from
/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE/perl.h:7
3,
from DBIXS.h:19,
from Perl.xs:1:
/usr/include/sys/socket.h:484: error: parse error before "sendfile"
/usr/include/sys/socket.h:484: error: parse error before "bsize_t"
/usr/include/sys/socket.h:486: error: parse error before "sendpath"
/usr/include/sys/socket.h:486: error: parse error before "bsize_t"
/usr/include/sys/socket.h:501: error: parse error before "__sendfile64"
/usr/include/sys/socket.h:501: error: parse error before "bsize_t"
/usr/include/sys/socket.h:502: error: parse error before "__sendpath64"
/usr/include/sys/socket.h:502: error: parse error before "bsize_t"
/usr/include/sys/socket.h:504: error: parse error before "sendfile"
/usr/include/sys/socket.h: In function `sendfile':
/usr/include/sys/socket.h:504: error: parse error before "bsize_t"
/usr/include/sys/socket.h: At top level:
/usr/include/sys/socket.h:505: error: parse error before "sendpath"
/usr/include/sys/socket.h: In function `sendpath':
/usr/include/sys/socket.h:505: error: parse error before "bsize_t"
Perl.c: At top level:
dbipport.h:529: warning: `my_sv_2pvbyte' defined but not used
*** Error exit code 1
Stop.
$
$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=hpux, osvers=11.00, archname=PA-RISC1.1-thread-multi
uname='hp-ux llbertha b.11.00 u 9000800 2002402864 unlimited-user
license '
config_args='-des -Dcf_by=ActiveState
-Dcf_email=ActivePerl@ActiveState.com
-Uinstallusrbinperl -Dusethreads -Duseithreads -Duselargefiles
-Dinc_version_li
t=5.6.0/$archname 5.6.0 -Dcc=gcc -Accflags=-mpa-risc-1-1 -fPIC
-Dcccdlflags=-fP
C -Dd_attribut=undef -Darchname=PA-RISC1.1 -Dprefix=/opt/perl'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=d
fine
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='gcc', ccflags ='-D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
-L/lib/pa1.1 -
UINT32_MAX_BROKEN -mpa-risc-1-1 -fPIC -fno-strict-aliasing
-I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -L/lib/pa1.1
-DUINT32_MA
_BROKEN -mpa-risc-1-1 -fPIC -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.9-hppa-991112', gccosandvers='hpux11.00'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksiz
=8
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
Regards,
Jairo Zapata
Boehringer Ingelheim Pharmaceuticals
900 Ridgebury Rd.
Ridgefield, CT 06877
Office 203 798 5418
Cell 203 482 6898
Mobile email 2034826898@mobile.att.net
- Previous message: Martin J. Evans: "coredump in perl using DBD::ODBC (was succint view of problem - getting results from DBCC)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]