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


Knight, Lloyd wrote:
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?
Did you read the Solaris specific install instructions. IIRC, there is something about having to use ksh for configuring.

David Daney


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