can't for daemon problem with gcc/gcj compiled program
Knight, Lloyd
Lloyd.Knight@adc.com
Wed Apr 11 18:11:00 GMT 2007
i have CONFIG_SHELL=/bin/ksh in my environment when i run the configure
script
as specified in
http://gcc.gnu.org/install/specific.html#sparcv9-x-solaris2
and as specified below, my configure script is:
../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
any other clues as to the makefile error?
thanks
lloyd knight
-----Original Message-----
From: David Daney [mailto:ddaney@avtrex.com]
Sent: Wednesday, April 11, 2007 11:02 AM
To: Knight, Lloyd
Cc: java@gcc.gnu.org
Subject: 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
More information about the Java
mailing list