public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Robert Lipe <robertlipe@usa.net>
To: TaoFengmei <taofengmei@huawei.com>
Cc: "gcc@gnu.org" <gcc@gnu.org>, "gcc@gcc.gnu.org" <gcc@gcc.gnu.org>,
	"gnu@gnu.org" <gnu@gnu.org>
Subject: Re: problem in compiling gcc 2.9.5 on unixware 7.1.1
Date: Mon, 25 Feb 2002 23:15:00 -0000	[thread overview]
Message-ID: <20020226071321.GE8430@rjlhome.caldera.com> (raw)
In-Reply-To: <200202260512.XAA04859@monsoon.nj.caldera.com>

TaoFengmei wrote:

> i want to install gcc in unixware 7.1.1,compiling succed.But when i install it to system,meet such problem:
> 
> # make install
>         /bin/sh ../mkinstalldirs /usr/local  /usr/local
> (cd intl && make all)
>         cc -c  -DIN_GCC     -g   -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/
> config -I../../gcc/../include ../../gcc/genattr.c
>         cc -c  -DIN_GCC     -g   -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/
> config -I../../gcc/../include ../../gcc/rtl.c
>         cc -c  -DIN_GCC     -g   -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/
> config -I../../gcc/../include ../../gcc/bitmap.c
>         cc -c  -DIN_GCC     -g   -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/
> config -I../../gcc/../include ../../gcc/print-rtl.c
>         cc  -DIN_GCC     -g   -DHAVE_CONFIG_H  -o genattr \
>          genattr.o rtl.o bitmap.o print-rtl.o ` case "obstack.o" in ?*) echo obs
> tack.o ;; esac ` ` case "alloca.o" in ?*) echo alloca.o ;; esac ` ` case "" in ?
> *) echo  ;; esac `    ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;;
>  esac `
> Undefined                       first referenced
>  symbol                             in file
> alloca                              genattr.o
> UX:ld: ERROR: genattr: fatal error: Symbol referencing errors. No output written
>  to genattr

This is sometimes caused by running configure with one compiler and
doing the bootstrap with another.   Since you aren't very far into the
build at all, I suggest completely removing this build area and 
configuring and building with an explictit path to eliminate confusion.

	rm -fr your work area to eliminate config.cache and friends
	CC=/bin/cc .../path/to/configure
	make bootstrap


Alternately, simply get the installable binaries of GCC 2.95 that have
been exercised on UnixWare 7 from the caldera web site.


WARNING: multiple messages have this Message-ID
From: Robert Lipe <robertlipe@usa.net>
To: TaoFengmei <taofengmei@huawei.com>
Cc: "gcc@gnu.org" <gcc@gnu.org>, "gcc@gcc.gnu.org" <gcc@gcc.gnu.org>,
	"gnu@gnu.org" <gnu@gnu.org>
Subject: Re: problem in compiling gcc 2.9.5 on unixware 7.1.1
Date: Mon, 25 Feb 2002 23:27:00 -0000	[thread overview]
Message-ID: <20020226071321.GE8430@rjlhome.caldera.com> (raw)
Message-ID: <20020225232700.owyZI-jetezUI2Y9B36nGoiC0Ihfd9kwy2llf-_IOMQ@z> (raw)
In-Reply-To: <200202260512.XAA04859@monsoon.nj.caldera.com>

TaoFengmei wrote:

> i want to install gcc in unixware 7.1.1,compiling succed.But when i install it to system,meet such problem:
> 
> # make install
>         /bin/sh ../mkinstalldirs /usr/local  /usr/local
> (cd intl && make all)
>         cc -c  -DIN_GCC     -g   -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/
> config -I../../gcc/../include ../../gcc/genattr.c
>         cc -c  -DIN_GCC     -g   -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/
> config -I../../gcc/../include ../../gcc/rtl.c
>         cc -c  -DIN_GCC     -g   -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/
> config -I../../gcc/../include ../../gcc/bitmap.c
>         cc -c  -DIN_GCC     -g   -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/
> config -I../../gcc/../include ../../gcc/print-rtl.c
>         cc  -DIN_GCC     -g   -DHAVE_CONFIG_H  -o genattr \
>          genattr.o rtl.o bitmap.o print-rtl.o ` case "obstack.o" in ?*) echo obs
> tack.o ;; esac ` ` case "alloca.o" in ?*) echo alloca.o ;; esac ` ` case "" in ?
> *) echo  ;; esac `    ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;;
>  esac `
> Undefined                       first referenced
>  symbol                             in file
> alloca                              genattr.o
> UX:ld: ERROR: genattr: fatal error: Symbol referencing errors. No output written
>  to genattr

This is sometimes caused by running configure with one compiler and
doing the bootstrap with another.   Since you aren't very far into the
build at all, I suggest completely removing this build area and 
configuring and building with an explictit path to eliminate confusion.

	rm -fr your work area to eliminate config.cache and friends
	CC=/bin/cc .../path/to/configure
	make bootstrap


Alternately, simply get the installable binaries of GCC 2.95 that have
been exercised on UnixWare 7 from the caldera web site.


       reply	other threads:[~2002-02-26  7:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200202260512.XAA04859@monsoon.nj.caldera.com>
2002-02-25 23:15 ` Robert Lipe [this message]
2002-02-25 23:27   ` Robert Lipe
2002-02-25 21:26 TaoFengmei
  -- strict thread matches above, loose matches on Subject: below --
2002-02-25 21:11 TaoFengmei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020226071321.GE8430@rjlhome.caldera.com \
    --to=robertlipe@usa.net \
    --cc=gcc@gcc.gnu.org \
    --cc=gcc@gnu.org \
    --cc=gnu@gnu.org \
    --cc=taofengmei@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).