This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: build problem on sun sparc solaris 2.7
- To: Mike Stump <mrs at windriver dot com>
- Subject: Re: build problem on sun sparc solaris 2.7
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Thu, 7 Dec 2000 13:54:38 -0500
- Cc: gcc at gcc dot gnu dot org
- References: <200012071840.KAA05404@kankakee.wrs.com>
On Thu, Dec 07, 2000 at 10:40:02AM -0800, Mike Stump wrote:
> uncompr.lo zutil.lo
> libzgcj.so.0 -o .libs/libzgcj.so.0.0.0
> ld: warning: option -o appears more than once, first setting taken
> ld: fatal: file libzgcj.so.0: cannot open file: No such file or directory
> ld: fatal: File processing errors. No output written to .libs/libzgcj.so.0.0.0
> collect2: ld returned 1 exit status
> make[1]: *** [libzgcj.la] Error 1
IIRC, this is what happens when 'configure'/'make' believe that they will be
using GNU ld, but Sun ld gets used instead. Check your PATHs and configure
arguments, and maybe clear out the relevent lines in the config.caches...
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.