[Orca-users] snapshot-r535/rrdtool: compile fails with "gcc: unrecognized option `-KPIC'"
Daniel Swan
swan_daniel at hotmail.com
Wed Oct 1 15:22:14 PDT 2008
<Subject Changed to reflect new error>
Hi Dragon,
Thank you for your response. I did try this, and it introduced a new issue. Here is my current setup:
Orca r535, Solaris 10, Perl 5.8.4, GNU make 3.81, Gnu gcc 3.4.6
Output when "making":
....
Writing Makefile for RRDs
cd perl-shared && make
make[5]: Entering directory `/net/csadm1/export/home/cadsw1/orca-snapshot-r535/packages/rrdtool-1.0.50/perl-shared'
gcc -c -I.. -I../src -I../gd1.3 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -DHAVE_CONFIG_H -xO3 -xspace -xildoff -DVERSION=\"1.000503\" -DXS_VERSION=\"1.000503\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DPERLPATCHLEVEL=8 RRDs.c
gcc: unrecognized option `-KPIC'
gcc: language ildoff not recognized
gcc: RRDs.c: linker input file unused because linking not done
Running Mkbootstrap for RRDs ()
chmod 644 RRDs.bs
rm -f blib/arch/auto/RRDs/RRDs.so
LD_RUN_PATH="" cc -G RRDs.o -L../src/.libs/ -lrrd_private -lm -o blib/arch/auto/RRDs/RRDs.so
ld: fatal: file RRDs.o: open failed: No such file or directory
ld: fatal: File processing errors. No output written to blib/arch/auto/RRDs/RRDs.so
make[5]: *** [blib/arch/auto/RRDs/RRDs.so] Error 1
make[5]: Leaving directory `/net/csadm1/export/home/cadsw1/orca-snapshot-r535/packages/rrdtool-1.0.50/perl-shared'
make[4]: *** [perl_shared] Error 2
make[4]: Leaving directory `/net/csadm1/export/home/cadsw1/orca-snapshot-r535/packages/rrdtool-1.0.50'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/net/csadm1/export/home/cadsw1/orca-snapshot-r535/packages/rrdtool-1.0.50'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/net/csadm1/export/home/cadsw1/orca-snapshot-r535/packages/rrdtool-1.0.50'
make[1]: *** [make_rrdtool] Error 2
make[1]: Leaving directory `/net/csadm1/export/home/cadsw1/orca-snapshot-r535/packages'
make: *** [all] Error 1
Date: Wed, 1 Oct 2008 11:41:47 -0600
From: dragon at raytheon.com
To: swan_daniel at hotmail.com
CC: orca-users at orcaware.com
Subject: Re: [Orca-users] orca-0.27/rrdtool: compile fails with "PerlIO: macro recursion"
Daniel --
Try r535. Orca 0.27 was stable at the time, but that predated Solaris
10, and many new changes have been introduced in snapshots since then.
We really should create a 1.0, but in the meantime, the latest snapshot
is actually pretty good.
Cheers,
--Dragon
Daniel Swan wrote:
Versions:
orca-0.27, Solaris 10, Perl 5.8.4, gcc 3.4.6, gnu make 3.80
Overview: The configure runs successfully, and make proceeds quite
happily, but fails while making rrdtool, with a macro recursion error.
Thanks in advance to anyone who can help.
Details:
cd perl-shared && /scl/share/bin/make
make[4]: Entering directory
`/net/adm1/export/home/cadsw1/Orca/orca-0.27/packages/rrdtool-1.0.40/perl-shared'
cc -c -I../src -I../gd1.3 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.000401\"
-DXS_VERSION=\"1.000401\" -KPIC
"-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DPERLPATCHLEVEL=8
RRDs.c
"/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/perlio.h", line 108:
PerlIO: macro recursion
"/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/perlio.h", line 108:
PerlIO: macro recursion
"/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/perlio.h", line 110:
PerlIO: macro recursion
"/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/perlio.h", line 111:
PerlIO: macro recursion
"/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/perlio.h", line 221:
PerlIO: macro recursion
"/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/perlio.h", line 224:
PerlIO: macro recursion
"/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/perlio.h", line 227:
PerlIO: macro recursion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20081001/dee46967/attachment-0002.html>
More information about the Orca-users
mailing list