ARS Perl on NCR Unix
Brought to you by:
jeffmurphy
|
From: tim.widowfield <ta...@en...> - 1996-12-09 21:19:56
|
Don't laugh. Aything's possible, right?
I haven't had much success yet. I'm using Perl 5.003 and ARS 2.1.3.
Should I jump back a rev. on Perl?
I've attached error messages. We have two compilers to choose from: cc
(Metaware) and gcc. With either, compilation fails. Using "cc" I get
complaints about Perl's av.h. Using "gcc" I get errors from the ARS.c
file, referencing av.h again.
--------------------------
Here's what I see from cc:
damfino(69)# make
/bin/cc -c -I/usr/ar/api/include -I/usr/include -I/usr/ucbinclude -I/usr
/gnu/include -O -Xa -DOVR_DBL_DIG=17 -DVERSION=\"1.3\" -DXS_VERSION=\"1.3\"
-Kpic -I/usr/gnu/lib/perl5/sys3k/5.003/CORE -g -DWASTE_MEM -DPROFILE ARS.c
(/bin/cc:) Warning: -g or -ql specified, optimization restricted
NCR High Performance C Compiler R1.0c
(c) Copyright 1992-94, NCR Corporation
(c) Copyright 1987-94, MetaWare Incorporated
E "/usr/gnu/lib/perl5/sys3k/5.003/CORE/av.h",L12/C13: (syntactic) unexpected
symbol:'<IDENTIFIER>':xav_fill
REPAIR: ',' was inserted before '<IDENTIFIER>':xav_fill@"/usr/gnu/lib/perl5/sy
s3k/5.003/CORE/av.h",L12/C13
E "/usr/gnu/lib/perl5/sys3k/5.003/CORE/av.h",L13/C13: (syntactic) unexpected
symbol:'<IDENTIFIER>':xav_max
REPAIR: ',' was inserted before '<IDENTIFIER>':xav_max@"/usr/gnu/lib/perl5/sys
3k/5.003/CORE/av.h",L13/C13
2 user errors No warnings
*** Error code 8 (bu21)
make: fatal error.
-----------------------------
Here's some of the stderr from gcc:
.....many warnings deleted......
In file included from /usr/gnu/lib/perl5/sys3k/5.003/CORE/perl.h:619,
from ARS.c:34:
/usr/gnu/lib/perl5/sys3k/5.003/CORE/av.h:12: parse error before `ssize_t'
/usr/gnu/lib/perl5/sys3k/5.003/CORE/av.h:12: warning: no semicolon at end of str
uct or union
/usr/gnu/lib/perl5/sys3k/5.003/CORE/av.h:13: warning: data definition has no typ
e or storage class
/usr/gnu/lib/perl5/sys3k/5.003/CORE/av.h:22: parse error before `}'
In file included from ARS.c:34:
/usr/gnu/lib/perl5/sys3k/5.003/CORE/perl.h:1367: parse error before `top_env'
/usr/gnu/lib/perl5/sys3k/5.003/CORE/perl.h:1367: warning: data definition has no
type or storage class
ARS.c: In function `dup_Value':
ARS.c:873: warning: assignment makes pointer from integer without a cast
ARS.c:876: warning: assignment makes pointer from integer without a cast
*** Error code 1 (bu21)
make: fatal error.
--Tim Widowfield,
tim...@en...
|