04-17-2008
it says
sailfish@st-kvar02 -> pkginfo -l SUNWgcc
PKGINST: SUNWgcc
NAME: gcc - The GNU C compiler
CATEGORY: system
ARCH: sparc
VERSION: 11.10.0,REV=2005.01.08.05.16
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: GNU C - The GNU C compiler 3.4.3
PSTAMP: sfw10-patch20070620072835
INSTDATE: Jan 25 2008 11:48
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 296 installed pathnames
6 shared pathnames
5 linked files
25 directories
33 executables
104325 blocks used (approx)
But when I try to build perl package with this gcc, I get error saying
sailfish@st-kvar02 -> make
gcc -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
+=64 -O -DVERSION=\"1.604\" -DXS_VERSION=\"1.604\" -fPIC "-I/prog/
+perl/curr_inst/lib/5.8.0/sun4-solaris/CORE" -W -Wall -Wpointer-arith
+ -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -W
+missing-noreturn -Wno-unused-parameter -DDBI_NO_THREADS Perl.c
In file included from /usr/include/sys/stream.h:22,
from /usr/include/netinet/in.h:66,
from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE
+/perl.h:612,
from DBIXS.h:19,
from Perl.xs:6:
/usr/include/sys/vnode.h:259: parse error before "pgcnt_t"
/usr/include/sys/vnode.h:281: parse error before '}' token
/usr/include/sys/vnode.h:567: parse error before '*' token
/usr/include/sys/vnode.h:568: parse error before '*' token
/usr/include/sys/vnode.h:569: parse error before '*' token
/usr/include/sys/vnode.h:571: parse error before '*' token
/usr/include/sys/vnode.h:573: parse error before '*' token
/usr/include/sys/vnode.h:574: parse error before '*' token
/usr/include/sys/vnode.h:575: parse error before '*' token
/usr/include/sys/vnode.h:576: parse error before '*' token
/usr/include/sys/vnode.h:578: parse error before '*' token
/usr/include/sys/vnode.h:579: parse error before '*' token
/usr/include/sys/vnode.h:581: parse error before '*' token
/usr/include/sys/vnode.h:583: parse error before '*' token
/usr/include/sys/vnode.h:584: parse error before '*' token
/usr/include/sys/vnode.h:585: parse error before '*' token
/usr/include/sys/vnode.h:586: parse error before '*' token
/usr/include/sys/vnode.h:588: parse error before '*' token
/usr/include/sys/vnode.h:589: parse error before '*' token
/usr/include/sys/vnode.h:590: parse error before '*' token
/usr/include/sys/vnode.h:591: parse error before '*' token
/usr/include/sys/vnode.h:592: parse error before '*' token
/usr/include/sys/vnode.h:593: parse error before '*' token
/usr/include/sys/vnode.h:594: parse error before '*' token
/usr/include/sys/vnode.h:595: parse error before '*' token
/usr/include/sys/vnode.h:596: parse error before '*' token
/usr/include/sys/vnode.h:597: parse error before '*' token
/usr/include/sys/vnode.h:598: parse error before '*' token
/usr/include/sys/vnode.h:599: parse error before '*' token
/usr/include/sys/vnode.h:601: parse error before '*' token
/usr/include/sys/vnode.h:603: parse error before '*' token
/usr/include/sys/vnode.h:604: parse error before '*' token
/usr/include/sys/vnode.h:607: parse error before '*' token
/usr/include/sys/vnode.h:608: parse error before '*' token
/usr/include/sys/vnode.h:610: parse error before '*' token
/usr/include/sys/vnode.h:612: parse error before '*' token
/usr/include/sys/vnode.h:614: parse error before '*' token
/usr/include/sys/vnode.h:615: parse error before '*' token
/usr/include/sys/vnode.h:616: parse error before '*' token
/usr/include/sys/vnode.h:617: parse error before '*' token
/usr/include/sys/vnode.h:619: parse error before '*' token
/usr/include/sys/vnode.h:620: parse error before '*' token
/usr/include/sys/vnode.h:621: parse error before '*' token
/usr/include/sys/vnode.h:622: parse error before '*' token
/usr/include/sys/vnode.h:623: parse error before '*' token
/usr/include/sys/vnode.h:624: parse error before '*' token
In file included from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE
+/perl.h:626,
from DBIXS.h:19,
from Perl.xs:6:
/usr/include/sys/stat.h:251: parse error before "blksize_t"
/usr/include/sys/stat.h:255: parse error before '}' token
/usr/include/sys/stat.h:309: parse error before "blksize_t"
/usr/include/sys/stat.h:313: parse error before '}' token
In file included from /usr/include/sys/signal.h:34,
from /usr/include/signal.h:26,
from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE
+/unixish.h:106,
from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE
+/perl.h:1877,
from DBIXS.h:19,
from Perl.xs:6:
/usr/include/sys/siginfo.h:259: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: parse error before '}' token
/usr/include/sys/siginfo.h:294: parse error before '}' token
/usr/include/sys/siginfo.h:390: parse error before "ctid_t"
/usr/include/sys/siginfo.h:398: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: parse error before '}' token
/usr/include/sys/siginfo.h:428: parse error before '}' token
/usr/include/sys/siginfo.h:432: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: parse error before '}' token
In file included from /usr/include/signal.h:26,
from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE
+/unixish.h:106,
from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE
+/perl.h:1877,
from DBIXS.h:19,
from Perl.xs:6:
/usr/include/sys/signal.h:85: parse error before "siginfo_t"
In file included from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE
+/unixish.h:106,
from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE
+/perl.h:1877,
from DBIXS.h:19,
from Perl.xs:6:
/usr/include/signal.h:111: parse error before "siginfo_t"
/usr/include/signal.h:113: parse error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target `Perl.o'
[download]
I got to know from google that this error means my gcc installation is broken. So what could I do now?
I also got a suggestion as to
Compile gcc with itself, to get a 64 bit version tuned for the hardware of st-kvar02.
Use that gcc to compile Perl
Then add the Sybase modules etc as needed
But how can I compile gcc with itself to get a64 bit version? What does this mean?
Also found from internet that gcc 3.2 will not work on solaris 10. Is that right?
Last edited by nalina.hv; 04-17-2008 at 10:56 AM..
9 More Discussions You Might Find Interesting
1. Solaris
I'm trying to build cdrkit-1.1.9 but have the same problem with 1.1.6 as well. The reason I need cdrkit is that it has an extended Joilet that mkisofs doesn't have but if anyone has another program that can provide this that might be a work around I can use.
The problem I'm having is when I... (1 Reply)
Discussion started by: dxk3355
1 Replies
2. UNIX for Advanced & Expert Users
I'm trying to build gcc 4.4.0 in 64-bit (x86_64) Ubuntu 9.04, but make check fails. Specifically, make -k check-target gives (after many other pages of output):
Running /home/charles/Desktop/gccsrc/libstdc++-v3/testsuite/libstdc++-abi/abi.exp ...
FAIL: abi_check
Running... (10 Replies)
Discussion started by: CRGreathouse
10 Replies
3. Red Hat
Building a ppc476 enabled GCC cross compiler and tool chain
Hello,
I am trying to build a cross GCC compiler for PPC476.
I applied all the relevant patches. Cross compiler build was successful.
When i try to compile the source code using the cross compiler i am getting the below error... (0 Replies)
Discussion started by: raghuhb
0 Replies
4. UNIX for Advanced & Expert Users
Building a ppc476 enabled GCC cross compiler and tool chain
Hello,
I am trying to build a cross GCC compiler for PPC476.
I applied all the relevant patches. Cross compiler build was successful.
When i try to compile the source code using the cross compiler i am getting the below error... (1 Reply)
Discussion started by: raghuhb
1 Replies
5. Linux
Building a ppc476 enabled GCC cross compiler and tool chain
Hello,
I am trying to build a cross GCC compiler for PPC476.
I applied all the relevant patches. Cross compiler build was successful.
When i try to compile the source code using the cross compiler i am getting the below error... (1 Reply)
Discussion started by: raghuhb
1 Replies
6. Solaris
Hi,
I have to build an application on solaris 9 which is supposed to run on solaris 10 computers.
I heard that solaris 9 builds should run on solaris 10 without any troubles. However, there is some trouble.
Calling ldd on the programm reveals that "libgcc_s.so.1" and "libstdc++.so.6" are... (4 Replies)
Discussion started by: mikehammer80
4 Replies
7. Solaris
I'm in an LDOM. I'm building non-global IP exclusive zones. I am using manifests and profiles to configure the system after install so I don't have to tab through the sysconfig startup dialog everytime I boot a system the first time for settings that never change (DNS, regional data, NTP etc). I... (0 Replies)
Discussion started by: os2mac
0 Replies
8. Solaris
Hi all,
I'm trying to verify that I can build x applications on Solaris 10 and am using xcalc & xeyes as my test applications:
git://anongit.freedesktop.org/xorg/app/xcalc
git://anongit.freedesktop.org/xorg/app/xeyes
Running autogen.sh on this fails with:
error: must install xorg-macros... (7 Replies)
Discussion started by: testers1717
7 Replies
9. Solaris
Hi,
I am trying to build per 5.20.1 on solaris 10 and getting below compilation error.
Creating Makefile.PL in cpan/Archive-Tar for Archive::Tar
Running Makefile.PL in cpan/Archive-Tar
../../miniperl -I../../lib Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none... (1 Reply)
Discussion started by: vikrambhimbar
1 Replies