Front page | perl.perl5.porters |
Postings from July 2001
[ID 20010730.003] IRIX 6.5 already has struct sv in <sys/sema.h>(defined in perl.h)
Thread Next
From:
Stian Seeberg
Date:
July 30, 2001 03:29
Subject:
[ID 20010730.003] IRIX 6.5 already has struct sv in <sys/sema.h>(defined in perl.h)
Message ID:
68236D3FC2D92347B466639324391D1A0432AB@PONDUS.nimsoft.no
This is a bug report for perl from stian@nimsoft.no,
generated with the help of perlbug 1.33 running under perl v5.6.1.
-----------------------------------------------------------------
[Please enter your report here]
SGI IRIX 6.5 already has a struct sv defined in <sys/sema.h>. To be able
to compile my own libraries I had to patch perl.h line 1491 from
#ifdef UTS
to
#if defined(UTS) || defined(SGI)
This defines STRUCT_SV as perl_sv instead of sv which causes a namespace
conflict when using system libraries to compile a perllib.
You might want to use another symbol, but SGI came to mind and worked
for me at least...
-Stian
--
---------------------------------------------------------------------
Stian Seeberg <stian@nimsoft.no>, Sr. Consultant, Nimbus Software A/S
Olaf Helsets vei 6, PB 53 Bogerud, 0621 Oslo, NORWAY
Phone: (+47) 2262 7164, Cell: (+47) 9245 3999, Fax: (+47) 2262 7161
---------------------------------------------------------------------
Black Holes: God's implementation of /dev/null
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=low
---
Site configuration information for perl v5.6.1:
Configured by stian at Fri Jul 27 10:10:26 CEST 2001.
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=irix, osvers=6.5, archname=IP28-irix
uname='irix64 lobo 6.5 05190004 ip28 '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc -n32', ccflags ='-D_BSD_TYPES -D_BSD_TIME -woff
1009,1110,1174,1184,1552 -OPT:Olimit=0:space=ON -I/usr/local/include
-DLANGUAGE_C',
optimize='-O3',
cppflags='-D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON
-I/usr/local/include -DLANGUAGE_C'
ccversion='', gccversion='', gccosandvers=''
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, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc -n32', ldflags =' -L/usr/local/lib32 -L/usr/local/lib
-Wl,-woff,84'
libpth=/usr/local/lib /usr/lib32 /lib32 /lib /usr/lib
libs=-ldb -lm -lc
perllibs=-lm -lc
libc=/usr/lib32/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-n32 -shared -L/usr/local/lib32
-L/usr/local/lib'
Locally applied patches:
---
@INC for perl v5.6.1:
/opt/nimbus/perllib/5.6.1/IP28-irix
/opt/nimbus/perllib/5.6.1
/opt/nimbus/perllib
/opt/nimbus/perl/lib/5.6.1/IP28-irix
/opt/nimbus/perl/lib/5.6.1
/opt/nimbus/perl/lib/site_perl/5.6.1/IP28-irix
/opt/nimbus/perl/lib/site_perl/5.6.1
/opt/nimbus/perl/lib/site_perl
.
---
Environment for perl v5.6.1:
HOME=/home/axil/stianse
LANG=en_NO
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/usr/sbin:/usr/bsd:/sbin:/usr/bin:/usr/bin/X11:/usr/etc:/usr/local/
bin:/home/axil/stianse/bin:/usr/freeware/bin:.
PERL5LIB=:/opt/nimbus/perllib
PERL_BADLANG (unset)
SHELL=/usr/bin/bash
Thread Next
-
[ID 20010730.003] IRIX 6.5 already has struct sv in <sys/sema.h>(defined in perl.h)
by Stian Seeberg