This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: can't for daemon problem with gcc/gcj compiled program


per tom's suggestion, i have downloaded gcc-4.1.2 and extracted the tar
ball.
at that directory, i created a directory objdir.
in objdir i ran configure:
../gcc-4.1.2/configure --prefix=/new/dir --enable-shared
--with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld
--enable-languages=c,c++,java

then in objdir i ran gmake.
here is the error:

Making all in classpath
gmake[5]: Entering directory
`/opt/gcc412/objdir/sparc-sun-solaris2.8/sparcv9/libjava/classpath'
Making all in lib
gmake[6]: Entering directory
`/opt/gcc412/objdir/sparc-sun-solaris2.8/sparcv9/libjava/classpath/lib'
Makefile:445: *** missing separator.  Stop.
gmake[6]: Leaving directory
`/opt/gcc412/objdir/sparc-sun-solaris2.8/sparcv9/libjava/classpath/lib'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory
`/opt/gcc412/objdir/sparc-sun-solaris2.8/sparcv9/libjava/classpath'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory
`/opt/gcc412/objdir/sparc-sun-solaris2.8/sparcv9/libjava'
gmake[3]: *** [multi-do] Error 1
gmake[3]: Leaving directory
`/opt/gcc412/objdir/sparc-sun-solaris2.8/libjava'
gmake[2]: *** [all-multi] Error 2
gmake[2]: Leaving directory
`/opt/gcc412/objdir/sparc-sun-solaris2.8/libjava'
gmake[1]: *** [all-target-libjava] Error 2
gmake[1]: Leaving directory `/opt/gcc412/objdir'
gmake: *** [all] Error 2

line 445 of the makefile is:
sinclude:	$(JAVA_DEPEND)

please pardon if this is the wrong group for fielding gcc compile
issues.
i posted here because i gathered the recommended solution to my original
issue 
was to upgrade to a newer version of gcc.  
any suggestions?

thanks
lloyd

-----Original Message-----
From: tromey@redhat.com [mailto:tromey@redhat.com] 
Sent: Tuesday, April 10, 2007 12:15 PM
To: Knight, Lloyd
Cc: java@gcc.gnu.org
Subject: Re: can't for daemon problem with gcc/gcj compiled program

>>>>> "Lloyd" == Knight, Lloyd <Lloyd.Knight@adc.com> writes:

Lloyd> i have compiled/installed gcc3.4.6 in order to compile the gpl 
Lloyd> software, pdftk1.4 on solaris8.

GCC 3.4.6 is rather old.  Why not use a newer version?

Lloyd>   [4] GC_thr_init(0x9eacc4, 0x9eae04, 0x0, 0xffbef628, 0x0, 
Lloyd> 0x917284), at 0x5dbd90

You could try 'make check' in the GC build directory.  That is a basic
GC smoke test.

But even if it fails there's really nothing we can do to help you.
3.4.x is closed.  We've done GC imports since then, so upgrading might
help.  (I am not a Solaris user so I can't say for certain.)

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]