- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DBD Compile error on 11i
Operating System - HP-UX
1753925
Members
8615
Online
108810
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2004 08:24 AM
10-06-2004 08:24 AM
DBD Compile error on 11i
I'm trying to compile DBD-Oracle 1.15 on HP-UX 11.11 (11i). perl Makefile.PL runs fine, but make produces:
In file included from /opt/perl/lib/5.8.1/PA-RISC2.0/CORE/perl.h:709,
from /opt/perl/lib/site_perl/5.8.1/PA-RISC2.0/auto/DBI/DBIXS.h:
19,
from Oracle.h:18,
from Oracle.xs:1:
/usr/include/sys/socket.h:64: error: conflicting types for `sbsize_t'
/web/local/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.3.3/include/sys/types.h:196: erro
r: previous declaration of `sbsize_t'
/usr/include/sys/socket.h:65: error: conflicting types for `bsize_t'
/web/local/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.3.3/include/sys/types.h:197: erro
r: previous declaration of `bsize_t'
*** Error exit code 1
I've tried several different gccs and Perls, and am currently working with gcc 3.3.3 from the HP DSPP (yes, it's the 11i version) with binutils 2.15, and Perl 5.8.1 from Merijn's site (correct build also).
This server had previously been running Perl 5.6.1 and an older gcc, but I uninstalled all that before starting this adventure. Ultimately I need to get Perl 5.8.x, DBI, DBD-Oracle, Apache 2.0.51, mod_perl 2.0, all running on here.
Am I out of whack on the gcc deal?
Web-01.root# perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
Platform:
osname=hpux, osvers=11.11, archname=PA-RISC2.0
uname='hp-ux h3 b.11.11 u 9000861 2009028909 unlimited-user license '
config_args='-Dusedevel -Dcc=gcc -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=unde
f
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-ali
asing -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-g -O',
cppflags='-mpa-risc-2-0 -D_HPUX_SOURCE -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGG
ING -fno-strict-aliasing -I/pro/local/include'
ccversion='', gccversion='3.3.1', gccosandvers='hpux11.11'
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', lseeksize
=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags ='-L/pro/local/lib'
libpth=/pro/local/lib /lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=-lcl -lpthread -lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm -lcrypt
-lsec -lc
perllibs=-lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lcrypt -lsec -lc
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferr
ed '
cccdlflags='-fPIC', lddlflags='-b -L/pro/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING USE_LARGE_FILES
Built under hpux
Compiled at Sep 25 2003 16:49:33
@INC:
/opt/perl/lib/5.8.1/PA-RISC2.0
/opt/perl/lib/5.8.1
/opt/perl/lib/site_perl/5.8.1/PA-RISC2.0
/opt/perl/lib/site_perl/5.8.1
/opt/perl/lib/site_perl
.
In file included from /opt/perl/lib/5.8.1/PA-RISC2.0/CORE/perl.h:709,
from /opt/perl/lib/site_perl/5.8.1/PA-RISC2.0/auto/DBI/DBIXS.h:
19,
from Oracle.h:18,
from Oracle.xs:1:
/usr/include/sys/socket.h:64: error: conflicting types for `sbsize_t'
/web/local/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.3.3/include/sys/types.h:196: erro
r: previous declaration of `sbsize_t'
/usr/include/sys/socket.h:65: error: conflicting types for `bsize_t'
/web/local/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.3.3/include/sys/types.h:197: erro
r: previous declaration of `bsize_t'
*** Error exit code 1
I've tried several different gccs and Perls, and am currently working with gcc 3.3.3 from the HP DSPP (yes, it's the 11i version) with binutils 2.15, and Perl 5.8.1 from Merijn's site (correct build also).
This server had previously been running Perl 5.6.1 and an older gcc, but I uninstalled all that before starting this adventure. Ultimately I need to get Perl 5.8.x, DBI, DBD-Oracle, Apache 2.0.51, mod_perl 2.0, all running on here.
Am I out of whack on the gcc deal?
Web-01.root# perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
Platform:
osname=hpux, osvers=11.11, archname=PA-RISC2.0
uname='hp-ux h3 b.11.11 u 9000861 2009028909 unlimited-user license '
config_args='-Dusedevel -Dcc=gcc -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=unde
f
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-ali
asing -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-g -O',
cppflags='-mpa-risc-2-0 -D_HPUX_SOURCE -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGG
ING -fno-strict-aliasing -I/pro/local/include'
ccversion='', gccversion='3.3.1', gccosandvers='hpux11.11'
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', lseeksize
=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags ='-L/pro/local/lib'
libpth=/pro/local/lib /lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=-lcl -lpthread -lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm -lcrypt
-lsec -lc
perllibs=-lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lcrypt -lsec -lc
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferr
ed '
cccdlflags='-fPIC', lddlflags='-b -L/pro/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING USE_LARGE_FILES
Built under hpux
Compiled at Sep 25 2003 16:49:33
@INC:
/opt/perl/lib/5.8.1/PA-RISC2.0
/opt/perl/lib/5.8.1
/opt/perl/lib/site_perl/5.8.1/PA-RISC2.0
/opt/perl/lib/site_perl/5.8.1
/opt/perl/lib/site_perl
.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP